com.liferay.portlet.documentlibrary.service.impl
Class DLFolderServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
- All Implemented Interfaces:
- DLFolderService
public class DLFolderServiceImpl
- extends DLFolderServiceBaseImpl
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlLocalService, dlService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, lockLocalService, lockPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence |
Method Summary |
DLFolder |
addFolder(long groupId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
protected void |
copyFolder(DLFolder srcFolder,
DLFolder destFolder,
ServiceContext serviceContext)
|
DLFolder |
copyFolder(long groupId,
long sourceFolderId,
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,
List<Long> folderIds,
int status,
int start,
int end)
|
List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
int |
getFileEntriesAndFileShortcutsCount(long groupId,
List<Long> folderIds,
int status)
|
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
DLFolder |
getFolder(long folderId)
|
DLFolder |
getFolder(long groupId,
long parentFolderId,
String name)
|
long |
getFolderId(long groupId,
long parentFolderId,
String name)
|
long[] |
getFolderIds(long groupId,
long folderId)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId)
|
List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
List<Long> folderIds,
int status,
int start,
int end)
|
List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
List<Long> folderIds,
int status)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
boolean |
hasInheritableLock(long folderId)
|
Lock |
lockFolder(long folderId)
|
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
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,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
boolean |
verifyInheritableLock(long folderId,
String lockUuid)
|
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl |
getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLLocalService, getDLService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLockLocalService, getLockPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, runSQL, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLLocalService, setDLService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLockLocalService, setLockPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence |
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 parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyFolder
public DLFolder copyFolder(long groupId,
long sourceFolderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException
deleteFolder
public void deleteFolder(long groupId,
long parentFolderId,
String name)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId,
List<Long> folderIds,
int status,
int start,
int end)
throws SystemException
- Throws:
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,
List<Long> folderIds,
int status)
throws SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
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
getFolderId
public long getFolderId(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)
throws SystemException
- Throws:
SystemException
getFolders
public List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
List<Long> folderIds,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
List<Long> folderIds,
int status)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
hasInheritableLock
public boolean hasInheritableLock(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
lockFolder
public Lock lockFolder(long folderId)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException
lockFolder
public Lock lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
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,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException
verifyInheritableLock
public boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyFolder
protected void copyFolder(DLFolder srcFolder,
DLFolder destFolder,
ServiceContext serviceContext)
throws PortalException,
RemoteException,
SystemException
- Throws:
PortalException
RemoteException
SystemException