com.liferay.portlet.documentlibrary.service.impl
Class DLFileEntryTypeServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, DLFileEntryTypeService
public class DLFileEntryTypeServiceImpl
- extends DLFileEntryTypeServiceBaseImpl
Provides the remote service for accessing, adding, deleting, and updating
file and folder file entry types. Its methods include permission checks.
| Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl |
classNameLocalService, classNamePersistence, classNameService, counterLocalService, dlAppHelperLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
|
Method Summary |
DLFileEntryType |
addFileEntryType(long groupId,
String fileEntryTypeKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
DLFileEntryType |
addFileEntryType(long groupId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
void |
deleteFileEntryType(long fileEntryTypeId)
|
protected List<DLFileEntryType> |
filterFileEntryTypes(List<DLFileEntryType> fileEntryTypes)
|
DLFileEntryType |
getFileEntryType(long fileEntryTypeId)
|
List<DLFileEntryType> |
getFileEntryTypes(long[] groupIds)
|
List<DLFileEntryType> |
getFileEntryTypes(long[] groupIds,
int start,
int end)
|
int |
getFileEntryTypesCount(long[] groupIds)
|
List<DLFileEntryType> |
getFolderFileEntryTypes(long[] groupIds,
long folderId,
boolean inherited)
|
List<DLFileEntryType> |
search(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
|
int |
searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType)
|
void |
updateFileEntryType(long fileEntryTypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
void |
updateFileEntryType(long fileEntryTypeId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDLAppHelperLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setDLAppHelperLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryTypeServiceImpl
public DLFileEntryTypeServiceImpl()
addFileEntryType
public DLFileEntryType addFileEntryType(long groupId,
String fileEntryTypeKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addFileEntryType
public DLFileEntryType addFileEntryType(long groupId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteFileEntryType
public void deleteFileEntryType(long fileEntryTypeId)
throws PortalException
- Throws:
PortalException
getFileEntryType
public DLFileEntryType getFileEntryType(long fileEntryTypeId)
throws PortalException
- Throws:
PortalException
getFileEntryTypes
public List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
getFileEntryTypes
public List<DLFileEntryType> getFileEntryTypes(long[] groupIds,
int start,
int end)
getFileEntryTypesCount
public int getFileEntryTypesCount(long[] groupIds)
getFolderFileEntryTypes
public List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
long folderId,
boolean inherited)
throws PortalException
- Throws:
PortalException
search
public List<DLFileEntryType> search(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
searchCount
public int searchCount(long companyId,
long[] groupIds,
String keywords,
boolean includeBasicFileEntryType)
updateFileEntryType
public void updateFileEntryType(long fileEntryTypeId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateFileEntryType
public void updateFileEntryType(long fileEntryTypeId,
String name,
String description,
long[] ddmStructureIds,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
filterFileEntryTypes
protected List<DLFileEntryType> filterFileEntryTypes(List<DLFileEntryType> fileEntryTypes)
throws PortalException
- Throws:
PortalException