@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFolderService extends BaseService
DLFolderServiceUtil
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,
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 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,
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) |
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 |
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) |
DLFolder addFolder(long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
PortalException
void deleteFolder(long folderId) throws PortalException
PortalException
void deleteFolder(long folderId, boolean includeTrashedEntries) throws PortalException
PortalException
void deleteFolder(long groupId, long parentFolderId, String name) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFolder getFolder(long folderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFolder getFolder(long groupId, long parentFolderId, String name) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getFolderIds(long groupId, long folderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, int)
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, long fileEntryTypeId, boolean includeMountFolders, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) throws PortalException
getFoldersCount(long, long, boolean, int)
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getMountFoldersCount(long groupId, long parentFolderId) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasFolderLock(long folderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasInheritableLock(long folderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isFolderLocked(long folderId)
Lock lockFolder(long folderId) throws PortalException
PortalException
Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException
PortalException
DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException
PortalException
Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException
PortalException
void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException
PortalException
void unlockFolder(long folderId, String lockUuid) throws PortalException
PortalException
DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException
PortalException
DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException
PortalException
boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException
PortalException