Class DLFolderServiceWrapper
Object
com.liferay.document.library.kernel.service.DLFolderServiceWrapper
- All Implemented Interfaces:
DLFolderService,BaseService,ServiceWrapper<DLFolderService>
public class DLFolderServiceWrapper
extends Object
implements DLFolderService, ServiceWrapper<DLFolderService>
Provides a wrapper for
DLFolderService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFolder(String externalReferenceCode, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) voiddeleteFolder(long folderId) voiddeleteFolder(long folderId, boolean includeTrashedEntries) voiddeleteFolder(long groupId, long parentFolderId, String name) getDLFolderByExternalReferenceCode(String externalReferenceCode, long groupId) getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) intgetFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) intgetFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, int status) getFolder(long folderId) getFolderIds(long groupId, long folderId) getFolders(long groupId, double score, int start, int end) getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) Deprecated.intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status) intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status) intgetFoldersCount(long groupId, double score) intgetFoldersCount(long groupId, long parentFolderId) intgetFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) intgetFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) Deprecated.As of Athanasius (7.3.x), replaced bygetFoldersCount(long, long, boolean, int)getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) intgetMountFoldersCount(long groupId, long parentFolderId) Returns the OSGi service identifier.getSubfolderIds(long groupId, long folderId, boolean recurse) voidgetSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) booleanhasFolderLock(long folderId) booleanhasInheritableLock(long folderId) booleanisFolderLocked(long folderId) lockFolder(long folderId) lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) refreshFolderLock(String lockUuid, long companyId, long expirationTime) voidsetWrappedService(DLFolderService dlFolderService) voidunlockFolder(long groupId, long parentFolderId, String name, String lockUuid) voidunlockFolder(long folderId, String lockUuid) updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) booleanverifyInheritableLock(long folderId, String lockUuid)
-
Constructor Details
-
DLFolderServiceWrapper
public DLFolderServiceWrapper() -
DLFolderServiceWrapper
-
-
Method Details
-
addFolder
public DLFolder addFolder(String externalReferenceCode, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
addFolderin interfaceDLFolderService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderService- Throws:
PortalException
-
getDLFolderByExternalReferenceCode
public DLFolder getDLFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getDLFolderByExternalReferenceCodein interfaceDLFolderService- Throws:
PortalException
-
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws PortalException - Specified by:
getFileEntriesAndFileShortcutsin interfaceDLFolderService- Throws:
PortalException
-
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws PortalException - Specified by:
getFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, int status) throws PortalException - Specified by:
getFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFolder
- Specified by:
getFolderin interfaceDLFolderService- Throws:
PortalException
-
getFolder
- Specified by:
getFolderin interfaceDLFolderService- Throws:
PortalException
-
getFolderIds
- Specified by:
getFolderIdsin interfaceDLFolderService- Throws:
PortalException
-
getFolders
public List<DLFolder> getFolders(long groupId, double score, int start, int end) throws PortalException - Specified by:
getFoldersin interfaceDLFolderService- Throws:
PortalException
-
getFolders
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException - Specified by:
getFoldersin interfaceDLFolderService- Throws:
PortalException
-
getFolders
public List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException - Specified by:
getFoldersin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
@Deprecated public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException Deprecated.As of Athanasius (7.3.x), replaced bygetFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, int)- Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersCount
- Specified by:
getFoldersCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersCount
- Specified by:
getFoldersCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) throws PortalException - Specified by:
getFoldersCountin interfaceDLFolderService- Throws:
PortalException
-
getFoldersCount
@Deprecated public int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) throws PortalException Deprecated.As of Athanasius (7.3.x), replaced bygetFoldersCount(long, long, boolean, int)- Specified by:
getFoldersCountin interfaceDLFolderService- Throws:
PortalException
-
getMountFolders
public List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException - Specified by:
getMountFoldersin interfaceDLFolderService- Throws:
PortalException
-
getMountFoldersCount
- Specified by:
getMountFoldersCountin interfaceDLFolderService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDLFolderService- Returns:
- the OSGi service identifier
-
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) throws PortalException - Specified by:
getSubfolderIdsin interfaceDLFolderService- Throws:
PortalException
-
getSubfolderIds
public List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse) throws PortalException - Specified by:
getSubfolderIdsin interfaceDLFolderService- Throws:
PortalException
-
hasFolderLock
- Specified by:
hasFolderLockin interfaceDLFolderService- Throws:
PortalException
-
hasInheritableLock
- Specified by:
hasInheritableLockin interfaceDLFolderService- Throws:
PortalException
-
isFolderLocked
public boolean isFolderLocked(long folderId) - Specified by:
isFolderLockedin interfaceDLFolderService
-
lockFolder
- Specified by:
lockFolderin interfaceDLFolderService- Throws:
PortalException
-
lockFolder
public Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException - Specified by:
lockFolderin interfaceDLFolderService- Throws:
PortalException
-
moveFolder
public DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFolderin interfaceDLFolderService- Throws:
PortalException
-
refreshFolderLock
public Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException - Specified by:
refreshFolderLockin interfaceDLFolderService- Throws:
PortalException
-
unlockFolder
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException - Specified by:
unlockFolderin interfaceDLFolderService- Throws:
PortalException
-
unlockFolder
- Specified by:
unlockFolderin interfaceDLFolderService- Throws:
PortalException
-
updateFolder
public DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderin interfaceDLFolderService- Throws:
PortalException
-
updateFolder
public DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderin interfaceDLFolderService- Throws:
PortalException
-
verifyInheritableLock
- Specified by:
verifyInheritableLockin interfaceDLFolderService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<DLFolderService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<DLFolderService>
-
getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, int)