com.liferay.portlet.documentlibrary.service
Class DLFolderServiceWrapper
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFolderServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<DLFolderService>, DLFolderService
public class DLFolderServiceWrapper
- extends Object
- implements DLFolderService, ServiceWrapper<DLFolderService>
This class is a wrapper for DLFolderService
.
- See Also:
DLFolderService
Method Summary |
DLFolder |
addFolder(long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteFolder(long folderId)
|
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)
|
DLFolder |
getFolder(long folderId)
|
DLFolder |
getFolder(long groupId,
long parentFolderId,
String name)
|
long[] |
getFolderIds(long groupId,
long folderId)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
int |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
|
List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
int |
getMountFoldersCount(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
List<Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse)
|
DLFolderService |
getWrappedDLFolderService()
Deprecated. Renamed to getWrappedService() |
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 expirationTime)
|
void |
setWrappedDLFolderService(DLFolderService dlFolderService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderService) |
void |
setWrappedService(DLFolderService dlFolderService)
|
void |
unlockFolder(long groupId,
long folderId,
String lockUuid)
|
void |
unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
|
DLFolder |
updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
boolean |
verifyInheritableLock(long folderId,
String lockUuid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFolderServiceWrapper
public DLFolderServiceWrapper(DLFolderService dlFolderService)
addFolder
public DLFolder addFolder(long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException,
SystemException
- Specified by:
deleteFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
deleteFolder
public void deleteFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Specified by:
deleteFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getFileEntriesAndFileShortcuts
in interface DLFolderService
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
- Specified by:
getFileEntriesAndFileShortcutsCount
in interface DLFolderService
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes)
throws SystemException
- Specified by:
getFileEntriesAndFileShortcutsCount
in interface DLFolderService
- Throws:
SystemException
getFolder
public DLFolder getFolder(long folderId)
throws PortalException,
SystemException
- Specified by:
getFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
getFolder
public DLFolder getFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Specified by:
getFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
getFolderIds
public long[] getFolderIds(long groupId,
long folderId)
throws SystemException
- Specified by:
getFolderIds
in interface DLFolderService
- Throws:
SystemException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFolders
in interface DLFolderService
- Throws:
SystemException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFolders
in interface DLFolderService
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
- Specified by:
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFoldersAndFileEntriesAndFileShortcuts
in interface DLFolderService
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
throws SystemException
- Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
- Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DLFolderService
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Specified by:
getFoldersCount
in interface DLFolderService
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
throws SystemException
- Specified by:
getFoldersCount
in interface DLFolderService
- Throws:
SystemException
getMountFolders
public List<DLFolder> getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getMountFolders
in interface DLFolderService
- Throws:
SystemException
getMountFoldersCount
public int getMountFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Specified by:
getMountFoldersCount
in interface DLFolderService
- Throws:
SystemException
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Specified by:
getSubfolderIds
in interface DLFolderService
- Throws:
SystemException
getSubfolderIds
public List<Long> getSubfolderIds(long groupId,
long folderId,
boolean recurse)
throws SystemException
- Specified by:
getSubfolderIds
in interface DLFolderService
- Throws:
SystemException
hasFolderLock
public boolean hasFolderLock(long folderId)
throws PortalException,
SystemException
- Specified by:
hasFolderLock
in interface DLFolderService
- Throws:
PortalException
SystemException
hasInheritableLock
public boolean hasInheritableLock(long folderId)
throws PortalException,
SystemException
- Specified by:
hasInheritableLock
in interface DLFolderService
- Throws:
PortalException
SystemException
isFolderLocked
public boolean isFolderLocked(long folderId)
throws SystemException
- Specified by:
isFolderLocked
in interface DLFolderService
- Throws:
SystemException
lockFolder
public Lock lockFolder(long folderId)
throws PortalException,
SystemException
- Specified by:
lockFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
lockFolder
public Lock lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
- Specified by:
lockFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
moveFolder
public DLFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
moveFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
refreshFolderLock
public Lock refreshFolderLock(String lockUuid,
long expirationTime)
throws PortalException,
SystemException
- Specified by:
refreshFolderLock
in interface DLFolderService
- Throws:
PortalException
SystemException
unlockFolder
public void unlockFolder(long groupId,
long folderId,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
unlockFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
unlockFolder
public void unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
unlockFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
updateFolder
public DLFolder updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFolder
in interface DLFolderService
- Throws:
PortalException
SystemException
verifyInheritableLock
public boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
verifyInheritableLock
in interface DLFolderService
- Throws:
PortalException
SystemException
getWrappedDLFolderService
public DLFolderService getWrappedDLFolderService()
- Deprecated. Renamed to
getWrappedService()
setWrappedDLFolderService
public void setWrappedDLFolderService(DLFolderService dlFolderService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderService)
getWrappedService
public DLFolderService getWrappedService()
- Specified by:
getWrappedService
in interface ServiceWrapper<DLFolderService>
setWrappedService
public void setWrappedService(DLFolderService dlFolderService)
- Specified by:
setWrappedService
in interface ServiceWrapper<DLFolderService>