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

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.imagegallery.service.impl.IGFolderServiceImpl
All Implemented Interfaces:
com.liferay.portlet.imagegallery.service.IGFolderService

public class IGFolderServiceImpl
extends PrincipalBean
implements com.liferay.portlet.imagegallery.service.IGFolderService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
IGFolderServiceImpl()
           
 
Method Summary
 com.liferay.portlet.imagegallery.model.IGFolder addFolder(long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.imagegallery.model.IGFolder addFolder(long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteFolder(long folderId)
           
 com.liferay.portlet.imagegallery.model.IGFolder getFolder(long folderId)
           
 com.liferay.portlet.imagegallery.model.IGFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGFolderServiceImpl

public IGFolderServiceImpl()
Method Detail

addFolder

public com.liferay.portlet.imagegallery.model.IGFolder addFolder(long plid,
                                                                 long parentFolderId,
                                                                 java.lang.String name,
                                                                 java.lang.String description,
                                                                 boolean addCommunityPermissions,
                                                                 boolean addGuestPermissions)
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
addFolder in interface com.liferay.portlet.imagegallery.service.IGFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

public com.liferay.portlet.imagegallery.model.IGFolder addFolder(long plid,
                                                                 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
Specified by:
addFolder in interface com.liferay.portlet.imagegallery.service.IGFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFolder

public void deleteFolder(long folderId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
deleteFolder in interface com.liferay.portlet.imagegallery.service.IGFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFolder

public com.liferay.portlet.imagegallery.model.IGFolder getFolder(long folderId)
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
getFolder in interface com.liferay.portlet.imagegallery.service.IGFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFolder

public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(long folderId,
                                                                    long parentFolderId,
                                                                    java.lang.String name,
                                                                    java.lang.String description,
                                                                    boolean mergeWithParentFolder)
                                                             throws com.liferay.portal.PortalException,
                                                                    com.liferay.portal.SystemException
Specified by:
updateFolder in interface com.liferay.portlet.imagegallery.service.IGFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException