com.liferay.portlet.documentlibrary.service
Class DLFileEntryTypeServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileEntryTypeServiceUtil
public class DLFileEntryTypeServiceUtil
- extends Object
The utility for the document library file entry type remote service. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- See Also:
DLFileEntryTypeService
,
com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
Method Summary |
static DLFileEntryType |
addFileEntryType(long groupId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
static void |
deleteFileEntryType(long fileEntryTypeId)
|
static DLFileEntryType |
getFileEntryType(long fileEntryTypeId)
|
static List<DLFileEntryType> |
getFileEntryTypes(long[] groupIds)
|
static int |
getFileEntryTypesCount(long[] groupIds)
|
static DLFileEntryTypeService |
getService()
|
static List<DLFileEntryType> |
search(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType)
|
void |
setService(DLFileEntryTypeService service)
|
static void |
updateFileEntryType(long fileEntryTypeId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryTypeServiceUtil
public DLFileEntryTypeServiceUtil()
addFileEntryType
public static DLFileEntryType addFileEntryType(long groupId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFileEntryType
public static void deleteFileEntryType(long fileEntryTypeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileEntryType
public static DLFileEntryType getFileEntryType(long fileEntryTypeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileEntryTypes
public static List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
throws SystemException
- Throws:
SystemException
getFileEntryTypesCount
public static int getFileEntryTypesCount(long[] groupIds)
throws SystemException
- Throws:
SystemException
search
public static List<DLFileEntryType> search(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType)
throws SystemException
- Throws:
SystemException
updateFileEntryType
public static void updateFileEntryType(long fileEntryTypeId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static DLFileEntryTypeService getService()
setService
public void setService(DLFileEntryTypeService service)