public class DLFileEntryTypeServiceUtil
extends Object
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.DLFileEntryTypeService| Constructor and Description |
|---|
DLFileEntryTypeServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static 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 |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DLFileEntryTypeService |
getService() |
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) |
public static DLFileEntryType addFileEntryType(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteFileEntryType(long fileEntryTypeId)
throws PortalException
PortalExceptionpublic static void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode,
long groupId)
throws PortalException
PortalExceptionpublic static DLFileEntryType fetchFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException
PortalExceptionpublic static DLFileEntryType getFileEntryType(long fileEntryTypeId) throws PortalException
PortalExceptionpublic static DLFileEntryType getFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException
PortalExceptionpublic static List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
public static List<DLFileEntryType> getFileEntryTypes(long[] groupIds, int start, int end)
public static int getFileEntryTypesCount(long[] groupIds)
public static List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static List<DLFileEntryType> search(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) throws PortalException
PortalExceptionpublic static List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
public static List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
public static int searchCount(long companyId,
long folderId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
boolean inherited)
public static int searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType)
public static int searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int scope)
public static DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap) throws PortalException
PortalExceptionpublic static DLFileEntryTypeService getService()
public static void setService(DLFileEntryTypeService service)