com.liferay.portlet.documentlibrary.service.impl
Class DLFolderServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, DLFolderService
public class DLFolderServiceImpl
- extends DLFolderServiceBaseImpl
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncFinder, dlSyncLocalService, dlSyncPersistence, dlSyncService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, lockFinder, lockLocalService, lockPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
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)
|
protected Lock |
doLockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
protected void |
doUnlockFolder(long groupId,
long folderId,
String lockUuid)
|
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)
|
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 |
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 com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncFinder, getDLSyncLocalService, getDLSyncPersistence, getDLSyncService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLockFinder, getLockLocalService, getLockPersistence, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncFinder, setDLSyncLocalService, setDLSyncPersistence, setDLSyncService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLockFinder, setLockLocalService, setLockPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFolderServiceImpl
public DLFolderServiceImpl()
addFolder
public DLFolder addFolder(long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
public void deleteFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes)
throws SystemException
- Throws:
SystemException
getFolder
public DLFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
public DLFolder getFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolderIds
public long[] getFolderIds(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
- 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
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
throws SystemException
- Throws:
SystemException
getMountFolders
public List<DLFolder> getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getMountFoldersCount
public int getMountFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
public List<Long> getSubfolderIds(long groupId,
long folderId,
boolean recurse)
throws SystemException
- Throws:
SystemException
hasFolderLock
public boolean hasFolderLock(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasInheritableLock
public boolean hasInheritableLock(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isFolderLocked
public boolean isFolderLocked(long folderId)
throws SystemException
- Throws:
SystemException
lockFolder
public Lock lockFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
lockFolder
public Lock lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveFolder
public DLFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
refreshFolderLock
public Lock refreshFolderLock(String lockUuid,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unlockFolder
public void unlockFolder(long groupId,
long folderId,
String lockUuid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unlockFolder
public void unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
throws PortalException,
SystemException
- 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
- Throws:
PortalException
SystemException
verifyInheritableLock
public boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
doLockFolder
protected Lock doLockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
doUnlockFolder
protected void doUnlockFolder(long groupId,
long folderId,
String lockUuid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException