Liferay 6.0.5

com.liferay.portlet.imagegallery.service.impl
Class IGFolderLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.imagegallery.service.base.IGFolderLocalServiceBaseImpl
      extended by com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl
All Implemented Interfaces:
IGFolderLocalService

public class IGFolderLocalServiceImpl
extends IGFolderLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.imagegallery.service.base.IGFolderLocalServiceBaseImpl
counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, igFolderLocalService, igFolderPersistence, igFolderService, igImageFinder, igImageLocalService, igImagePersistence, igImageService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
IGFolderLocalServiceImpl()
           
 
Method Summary
 IGFolder addFolder(long userId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void addFolderResources(IGFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(IGFolder folder, String[] communityPermissions, String[] guestPermissions)
           
 void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(long folderId, String[] communityPermissions, String[] guestPermissions)
           
 void deleteFolder(IGFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 List<IGFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 IGFolder getFolder(long folderId)
           
 IGFolder getFolder(long groupId, long parentFolderId, String name)
           
 List<IGFolder> getFolders(long groupId)
           
 List<IGFolder> getFolders(long groupId, long parentFolderId)
           
 List<IGFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
protected  long getParentFolderId(IGFolder folder, long parentFolderId)
           
protected  long getParentFolderId(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
protected  void mergeFolders(IGFolder fromFolder, long toFolderId)
           
 IGFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
protected  void validate(long folderId, long groupId, long parentFolderId, String name)
           
protected  void validate(long groupId, long parentFolderId, String name)
           
 
Methods inherited from class com.liferay.portlet.imagegallery.service.base.IGFolderLocalServiceBaseImpl
addIGFolder, createIGFolder, deleteIGFolder, deleteIGFolder, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getIGFolder, getIGFolderByUuidAndGroupId, getIGFolderLocalService, getIGFolderPersistence, getIGFolders, getIGFoldersCount, getIGFolderService, getIGImageFinder, getIGImageLocalService, getIGImagePersistence, getIGImageService, getImageLocalService, getImagePersistence, getImageService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setIGFolderLocalService, setIGFolderPersistence, setIGFolderService, setIGImageFinder, setIGImageLocalService, setIGImagePersistence, setIGImageService, setImageLocalService, setImagePersistence, setImageService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateIGFolder, updateIGFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGFolderLocalServiceImpl

public IGFolderLocalServiceImpl()
Method Detail

addFolder

public IGFolder addFolder(long userId,
                          long parentFolderId,
                          String name,
                          String description,
                          ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

addFolderResources

public void addFolderResources(IGFolder folder,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

public void addFolderResources(IGFolder folder,
                               String[] communityPermissions,
                               String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

public void addFolderResources(long folderId,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

public void addFolderResources(long folderId,
                               String[] communityPermissions,
                               String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(IGFolder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolders

public void deleteFolders(long groupId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getCompanyFolders

public List<IGFolder> getCompanyFolders(long companyId,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

getCompanyFoldersCount

public int getCompanyFoldersCount(long companyId)
                           throws SystemException
Throws:
SystemException

getFolder

public IGFolder getFolder(long folderId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolder

public IGFolder getFolder(long groupId,
                          long parentFolderId,
                          String name)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolders

public List<IGFolder> getFolders(long groupId)
                          throws SystemException
Throws:
SystemException

getFolders

public List<IGFolder> getFolders(long groupId,
                                 long parentFolderId)
                          throws SystemException
Throws:
SystemException

getFolders

public List<IGFolder> getFolders(long groupId,
                                 long parentFolderId,
                                 int start,
                                 int end)
                          throws SystemException
Throws:
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

updateFolder

public IGFolder updateFolder(long folderId,
                             long parentFolderId,
                             String name,
                             String description,
                             boolean mergeWithParentFolder,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getParentFolderId

protected long getParentFolderId(IGFolder folder,
                                 long parentFolderId)
                          throws SystemException
Throws:
SystemException

getParentFolderId

protected long getParentFolderId(long groupId,
                                 long parentFolderId)
                          throws SystemException
Throws:
SystemException

mergeFolders

protected void mergeFolders(IGFolder fromFolder,
                            long toFolderId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long folderId,
                        long groupId,
                        long parentFolderId,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long groupId,
                        long parentFolderId,
                        String name)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5