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:
- IdentifiableOSGiService, BaseService, DLFolderService
public class DLFolderServiceImpl
- extends DLFolderServiceBaseImpl
| Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, dlAppHelperLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, repositoryLocalService, repositoryPersistence, repositoryService, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, 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 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)
|
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,
int status,
boolean includeMountfolders,
int start,
int end,
OrderByComparator<DLFolder> obc)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> obc)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition<?> queryDefinition)
|
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,
int status,
boolean includeMountfolders)
|
List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> obc)
|
int |
getMountFoldersCount(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long,
long, boolean) |
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,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by more general updateFolder(long, String, String, long, List, int,
ServiceContext) |
DLFolder |
updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
int restrictionType,
ServiceContext serviceContext)
|
boolean |
verifyInheritableLock(long folderId,
String lockUuid)
|
| Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getCounterLocalService, getDLAppHelperLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getRepositoryLocalService, getRepositoryPersistence, getRepositoryService, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setCounterLocalService, setDLAppHelperLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setRepositoryLocalService, setRepositoryPersistence, setRepositoryService, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, 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
- Throws:
PortalException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException
- Throws:
PortalException
deleteFolder
public void deleteFolder(long folderId,
boolean includeTrashedEntries)
throws PortalException
- Throws:
PortalException
deleteFolder
public void deleteFolder(long groupId,
long parentFolderId,
String name)
throws PortalException
- Throws:
PortalException
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws PortalException
- Throws:
PortalException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws PortalException
- Throws:
PortalException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes)
throws PortalException
- Throws:
PortalException
getFolder
public DLFolder getFolder(long folderId)
throws PortalException
- Throws:
PortalException
getFolder
public DLFolder getFolder(long groupId,
long parentFolderId,
String name)
throws PortalException
- Throws:
PortalException
getFolderIds
public List<Long> getFolderIds(long groupId,
long folderId)
throws PortalException
- Throws:
PortalException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders,
int start,
int end,
OrderByComparator<DLFolder> obc)
throws PortalException
- Throws:
PortalException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> obc)
throws PortalException
- Throws:
PortalException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
throws PortalException
- Throws:
PortalException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
throws PortalException
- Throws:
PortalException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition<?> queryDefinition)
throws PortalException
- Throws:
PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
throws PortalException
- Throws:
PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws PortalException
- Throws:
PortalException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws PortalException
- Throws:
PortalException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders)
throws PortalException
- Throws:
PortalException
getMountFolders
public List<DLFolder> getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<DLFolder> obc)
throws PortalException
- Throws:
PortalException
getMountFoldersCount
public int getMountFoldersCount(long groupId,
long parentFolderId)
throws PortalException
- Throws:
PortalException
getSubfolderIds
@Deprecated
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws PortalException
- Deprecated. As of 7.0.0, replaced by
getSubfolderIds(List, long,
long, boolean)
- Throws:
PortalException
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId,
boolean recurse)
throws PortalException
- Throws:
PortalException
getSubfolderIds
public List<Long> getSubfolderIds(long groupId,
long folderId,
boolean recurse)
throws PortalException
- Throws:
PortalException
hasFolderLock
public boolean hasFolderLock(long folderId)
throws PortalException
- Throws:
PortalException
hasInheritableLock
public boolean hasInheritableLock(long folderId)
throws PortalException
- Throws:
PortalException
isFolderLocked
public boolean isFolderLocked(long folderId)
lockFolder
public Lock lockFolder(long folderId)
throws PortalException
- Throws:
PortalException
lockFolder
public Lock lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException
- Throws:
PortalException
moveFolder
public DLFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
refreshFolderLock
public Lock refreshFolderLock(String lockUuid,
long companyId,
long expirationTime)
throws PortalException
- Throws:
PortalException
unlockFolder
public void unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
throws PortalException
- Throws:
PortalException
unlockFolder
public void unlockFolder(long folderId,
String lockUuid)
throws PortalException
- 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
- Throws:
PortalException
updateFolder
@Deprecated
public DLFolder updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
throws PortalException
- Deprecated. As of 7.0.0, replaced by more general
updateFolder(long, String, String, long, List, int,
ServiceContext)
- Throws:
PortalException
updateFolder
public DLFolder updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
int restrictionType,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
verifyInheritableLock
public boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException
- Throws:
PortalException