Class DLFileEntryTypeServiceUtil
Object
com.liferay.document.library.kernel.service.DLFileEntryTypeServiceUtil
Provides the remote service utility for DLFileEntryType. This utility wraps
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DLFileEntryType
addFileEntryType
(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, ServiceContext serviceContext) static void
deleteFileEntryType
(long fileEntryTypeId) static void
deleteFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) static DLFileEntryType
fetchFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) static DLFileEntryType
getFileEntryType
(long fileEntryTypeId) static DLFileEntryType
getFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) static List<DLFileEntryType>
getFileEntryTypes
(long[] groupIds) static List<DLFileEntryType>
getFileEntryTypes
(long[] groupIds, int start, int end) static int
getFileEntryTypesCount
(long[] groupIds) static List<DLFileEntryType>
getFolderFileEntryTypes
(long[] groupIds, long folderId, boolean inherited) static String
Returns the OSGi service identifier.static DLFileEntryTypeService
static List<DLFileEntryType>
search
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) static List<DLFileEntryType>
search
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) static List<DLFileEntryType>
search
(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) static int
searchCount
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) static int
searchCount
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope) static int
searchCount
(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited) static void
setService
(DLFileEntryTypeService service) static DLFileEntryType
updateFileEntryType
(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap)
-
Constructor Details
-
DLFileEntryTypeServiceUtil
public DLFileEntryTypeServiceUtil()
-
-
Method Details
-
addFileEntryType
public static DLFileEntryType addFileEntryType(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, ServiceContext serviceContext) - Throws:
PortalException
-
deleteFileEntryType
- Throws:
PortalException
-
deleteFileEntryTypeByExternalReferenceCode
public static void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
fetchFileEntryTypeByExternalReferenceCode
public static DLFileEntryType fetchFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getFileEntryType
- Throws:
PortalException
-
getFileEntryTypeByExternalReferenceCode
public static DLFileEntryType getFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getFileEntryTypes
-
getFileEntryTypes
-
getFileEntryTypesCount
public static int getFileEntryTypesCount(long[] groupIds) -
getFolderFileEntryTypes
public static List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
public static List<DLFileEntryType> search(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) throws PortalException - Throws:
PortalException
-
search
public static List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) -
search
public static List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) -
searchCount
public static int searchCount(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited) -
searchCount
public static int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) -
searchCount
public static int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope) -
updateFileEntryType
public static DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap) - Throws:
PortalException
-
getService
-
setService
-