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 DLFileEntryTypeaddFileEntryType(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, ServiceContext serviceContext) static voiddeleteFileEntryType(long fileEntryTypeId) static voiddeleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) static DLFileEntryTypefetchFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) static DLFileEntryTypegetFileEntryType(long fileEntryTypeId) static DLFileEntryTypegetFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) static List<DLFileEntryType>getFileEntryTypes(long[] groupIds) static List<DLFileEntryType>getFileEntryTypes(long[] groupIds, int start, int end) static intgetFileEntryTypesCount(long[] groupIds) static List<DLFileEntryType>getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) static StringReturns the OSGi service identifier.static DLFileEntryTypeServicestatic 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 intsearchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) static intsearchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope) static intsearchCount(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited) static voidsetService(DLFileEntryTypeService service) static DLFileEntryTypeupdateFileEntryType(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
-