public class DLFileEntryTypeServiceHttp
extends Object
DLFileEntryTypeServiceUtil
service
utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
Constructor and Description |
---|
DLFileEntryTypeServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.document.library.kernel.model.DLFileEntryType |
addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long dataDefinitionId,
String fileEntryTypeKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntryType |
addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String fileEntryTypeKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.document.library.kernel.model.DLFileEntryType |
addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
String description,
long[] ddmStructureIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryTypeId) |
static com.liferay.document.library.kernel.model.DLFileEntryType |
getFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryTypeId) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
getFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
getFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
int start,
int end) |
static int |
getFileEntryTypesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
getFolderFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
long folderId,
boolean inherited) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) |
static List<com.liferay.document.library.kernel.model.DLFileEntryType> |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long folderId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
boolean inherited,
int start,
int end) |
static int |
searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType) |
static int |
searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int scope) |
static int |
searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
long folderId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
boolean inherited) |
static com.liferay.document.library.kernel.model.DLFileEntryType |
updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryTypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap) |
static void |
updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryTypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryTypeId,
String name,
String description,
long[] ddmStructureIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.document.library.kernel.model.DLFileEntryType addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntryType addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntryType addFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, String description, long[] ddmStructureIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.document.library.kernel.model.DLFileEntryType getFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> getFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> getFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, int start, int end)
public static int getFileEntryTypesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> getFolderFileEntryTypes(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, long folderId, boolean inherited) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
public static List<com.liferay.document.library.kernel.model.DLFileEntryType> search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
public static int searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited)
public static int searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
public static int searchCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope)
public static com.liferay.document.library.kernel.model.DLFileEntryType updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryTypeId, String name, String description, long[] ddmStructureIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException