com.liferay.portlet.imagegallery.service
Interface IGFolderLocalService
- All Known Implementing Classes:
- IGFolderLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface IGFolderLocalService
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.imagegallery.service.impl.IGFolderLocalServiceImpl
}.
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:
IGFolderLocalServiceUtil
- Generated:
Method Summary |
IGFolder |
addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
void |
addFolderResources(IGFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(IGFolder 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)
|
IGFolder |
addIGFolder(IGFolder igFolder)
|
IGFolder |
createIGFolder(long folderId)
|
void |
deleteFolder(IGFolder folder)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolders(long groupId)
|
void |
deleteIGFolder(IGFolder igFolder)
|
void |
deleteIGFolder(long folderId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
java.util.List<IGFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
IGFolder |
getFolder(long folderId)
|
IGFolder |
getFolder(long groupId,
long parentFolderId,
java.lang.String name)
|
java.util.List<IGFolder> |
getFolders(long groupId)
|
java.util.List<IGFolder> |
getFolders(long groupId,
long parentFolderId)
|
java.util.List<IGFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
IGFolder |
getIGFolder(long folderId)
|
IGFolder |
getIGFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List<IGFolder> |
getIGFolders(int start,
int end)
|
int |
getIGFoldersCount()
|
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
|
IGFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
IGFolder |
updateIGFolder(IGFolder igFolder)
|
IGFolder |
updateIGFolder(IGFolder igFolder,
boolean merge)
|
addIGFolder
IGFolder addIGFolder(IGFolder igFolder)
throws SystemException
- Throws:
SystemException
createIGFolder
IGFolder createIGFolder(long folderId)
deleteIGFolder
void deleteIGFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteIGFolder
void deleteIGFolder(IGFolder igFolder)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getIGFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
IGFolder getIGFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getIGFolderByUuidAndGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
IGFolder getIGFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getIGFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGFolder> getIGFolders(int start,
int end)
throws SystemException
- Throws:
SystemException
getIGFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getIGFoldersCount()
throws SystemException
- Throws:
SystemException
updateIGFolder
IGFolder updateIGFolder(IGFolder igFolder)
throws SystemException
- Throws:
SystemException
updateIGFolder
IGFolder updateIGFolder(IGFolder igFolder,
boolean merge)
throws SystemException
- Throws:
SystemException
addFolder
IGFolder addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
void addFolderResources(IGFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
void addFolderResources(IGFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
void deleteFolder(IGFolder folder)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolders
void deleteFolders(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGFolder> getCompanyFolders(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyFoldersCount(long companyId)
throws SystemException
- Throws:
SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
IGFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
IGFolder getFolder(long groupId,
long parentFolderId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGFolder> getFolders(long groupId)
throws SystemException
- Throws:
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
updateFolder
IGFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException