com.liferay.portlet.documentlibrary.service
Interface DLFolderLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface DLFolderLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFolderLocalServiceUtil
Method Summary |
DLFolder |
addDLFolder(DLFolder dlFolder)
|
DLFolder |
addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
DLFolder |
addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
DLFolder |
addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
DLFolder |
addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFolderResources(DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
DLFolder |
createDLFolder(long folderId)
|
void |
deleteDLFolder(DLFolder dlFolder)
|
void |
deleteDLFolder(long folderId)
|
void |
deleteFolder(DLFolder folder)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolders(long groupId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
DLFolder |
getDLFolder(long folderId)
|
java.util.List<DLFolder> |
getDLFolders(int start,
int end)
|
int |
getDLFoldersCount()
|
java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(java.util.List<java.lang.Long> folderIds,
int start,
int end)
|
java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(long folderId,
int start,
int end)
|
int |
getFileEntriesAndFileShortcutsCount(java.util.List<java.lang.Long> folderIds)
|
int |
getFileEntriesAndFileShortcutsCount(long folderId)
|
DLFolder |
getFolder(long folderId)
|
DLFolder |
getFolder(long groupId,
long parentFolderId,
java.lang.String name)
|
java.util.List<DLFolder> |
getFolders(long companyId)
|
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId)
|
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(java.util.List<java.lang.Long> folderIds,
int start,
int end)
|
java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int start,
int end)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(java.util.List<java.lang.Long> folderIds)
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long userId,
long[] folderIds,
java.lang.String keywords,
int start,
int end)
|
DLFolder |
updateDLFolder(DLFolder dlFolder)
|
DLFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
|
addDLFolder
DLFolder addDLFolder(DLFolder dlFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createDLFolder
DLFolder createDLFolder(long folderId)
deleteDLFolder
void deleteDLFolder(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteDLFolder
void deleteDLFolder(DLFolder dlFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFolder getDLFolder(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDLFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFolder> getDLFolders(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getDLFoldersCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFolder
DLFolder updateDLFolder(DLFolder dlFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addFolder
DLFolder addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
DLFolder addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
DLFolder addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
DLFolder addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
void deleteFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
void deleteFolder(DLFolder folder)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolders
void deleteFolders(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileEntriesAndFileShortcuts
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndFileShortcuts
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(java.util.List<java.lang.Long> folderIds,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndFileShortcutsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFileEntriesAndFileShortcutsCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileEntriesAndFileShortcutsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFileEntriesAndFileShortcutsCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFolder getFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFolder getFolder(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFoldersAndFileEntriesAndFileShortcuts
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersAndFileEntriesAndFileShortcuts
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(java.util.List<java.lang.Long> folderIds,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersAndFileEntriesAndFileShortcutsCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFolder> getFolders(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubfolderIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndex
void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long userId,
long[] folderIds,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFolder
DLFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException