public class DLFolderServiceWrapper extends Object implements DLFolderService, ServiceWrapper<DLFolderService>
DLFolderService
.DLFolderService
Constructor and Description |
---|
DLFolderServiceWrapper(DLFolderService dlFolderService) |
Modifier and Type | Method and Description |
---|---|
DLFolder |
addFolder(long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
void |
deleteFolder(long groupId,
long parentFolderId,
String name) |
List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFileEntriesAndFileShortcutsCount(long, long, String[],
int) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
String[] mimeTypes,
int status) |
DLFolder |
getFolder(long folderId) |
DLFolder |
getFolder(long groupId,
long parentFolderId,
String name) |
List<Long> |
getFolderIds(long groupId,
long folderId) |
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int status,
int start,
int end,
OrderByComparator<DLFolder> orderByComparator) |
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders,
int start,
int end,
OrderByComparator<DLFolder> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFolders(long, long, boolean, int, int, int,
OrderByComparator) |
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> orderByComparator) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
boolean includeMountFolders,
int status,
int start,
int end,
OrderByComparator<?> orderByComparator) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFoldersAndFileEntriesAndFileShortcuts(long, long,
boolean, int, int, int, OrderByComparator) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, int, int, int, OrderByComparator) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
int status,
int start,
int end,
OrderByComparator<?> orderByComparator) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition<?> queryDefinition) |
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
long fileEntryTypeId,
boolean includeMountFolders,
int status,
int start,
int end,
OrderByComparator<?> orderByComparator) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, int) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
int status) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition<?> queryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
String[] mimeTypes,
long fileEntryTypeId,
boolean includeMountFolders,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders)
Deprecated.
As of Athanasius (7.3.x), replaced by
getFoldersCount(long, long, boolean, int) |
List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> orderByComparator) |
int |
getMountFoldersCount(long groupId,
long parentFolderId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
List<Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
DLFolderService |
getWrappedService() |
boolean |
hasFolderLock(long folderId) |
boolean |
hasInheritableLock(long folderId) |
boolean |
isFolderLocked(long folderId) |
Lock |
lockFolder(long folderId) |
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime) |
DLFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext) |
Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime) |
void |
setWrappedService(DLFolderService dlFolderService) |
void |
unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid) |
void |
unlockFolder(long folderId,
String lockUuid) |
DLFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
int restrictionType,
ServiceContext serviceContext) |
DLFolder |
updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
int restrictionType,
ServiceContext serviceContext) |
boolean |
verifyInheritableLock(long folderId,
String lockUuid) |
public DLFolderServiceWrapper(DLFolderService dlFolderService)
public DLFolder addFolder(long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
addFolder
in interface DLFolderService
PortalException
public void deleteFolder(long folderId) throws PortalException
deleteFolder
in interface DLFolderService
PortalException
public void deleteFolder(long folderId, boolean includeTrashedEntries) throws PortalException
deleteFolder
in interface DLFolderService
PortalException
public void deleteFolder(long groupId, long parentFolderId, String name) throws PortalException
deleteFolder
in interface DLFolderService
PortalException
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws PortalException
getFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws PortalException
getFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
@Deprecated public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes) throws PortalException
getFileEntriesAndFileShortcutsCount(long, long, String[],
int)
getFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, int status) throws PortalException
getFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public DLFolder getFolder(long folderId) throws PortalException
getFolder
in interface DLFolderService
PortalException
public DLFolder getFolder(long groupId, long parentFolderId, String name) throws PortalException
getFolder
in interface DLFolderService
PortalException
public List<Long> getFolderIds(long groupId, long folderId) throws PortalException
getFolderIds
in interface DLFolderService
PortalException
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
getFolders
in interface DLFolderService
PortalException
@Deprecated public List<DLFolder> getFolders(long groupId, long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
getFolders(long, long, boolean, int, int, int,
OrderByComparator)
getFolders
in interface DLFolderService
PortalException
public List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
getFolders
in interface DLFolderService
PortalException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
@Deprecated public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts(long, long,
boolean, int, int, int, OrderByComparator)
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
@Deprecated public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, int, int, int, OrderByComparator)
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
@Deprecated public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, int)
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
PortalException
public int getFoldersCount(long groupId, long parentFolderId) throws PortalException
getFoldersCount
in interface DLFolderService
PortalException
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) throws PortalException
getFoldersCount
in interface DLFolderService
PortalException
@Deprecated public int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) throws PortalException
getFoldersCount(long, long, boolean, int)
getFoldersCount
in interface DLFolderService
PortalException
public List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
getMountFolders
in interface DLFolderService
PortalException
public int getMountFoldersCount(long groupId, long parentFolderId) throws PortalException
getMountFoldersCount
in interface DLFolderService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DLFolderService
public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) throws PortalException
getSubfolderIds
in interface DLFolderService
PortalException
public List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse) throws PortalException
getSubfolderIds
in interface DLFolderService
PortalException
public boolean hasFolderLock(long folderId) throws PortalException
hasFolderLock
in interface DLFolderService
PortalException
public boolean hasInheritableLock(long folderId) throws PortalException
hasInheritableLock
in interface DLFolderService
PortalException
public boolean isFolderLocked(long folderId)
isFolderLocked
in interface DLFolderService
public Lock lockFolder(long folderId) throws PortalException
lockFolder
in interface DLFolderService
PortalException
public Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException
lockFolder
in interface DLFolderService
PortalException
public DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException
moveFolder
in interface DLFolderService
PortalException
public Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFolderLock
in interface DLFolderService
PortalException
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException
unlockFolder
in interface DLFolderService
PortalException
public void unlockFolder(long folderId, String lockUuid) throws PortalException
unlockFolder
in interface DLFolderService
PortalException
public DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException
updateFolder
in interface DLFolderService
PortalException
public DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException
updateFolder
in interface DLFolderService
PortalException
public boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException
verifyInheritableLock
in interface DLFolderService
PortalException
public DLFolderService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFolderService>
public void setWrappedService(DLFolderService dlFolderService)
setWrappedService
in interface ServiceWrapper<DLFolderService>