com.liferay.portlet.documentlibrary.service.impl
Class DLFolderServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.InitializingBean, com.liferay.portlet.documentlibrary.service.DLFolderService

public class DLFolderServiceImpl
extends DLFolderServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
counterLocalService, counterService, dlFileEntryAndShortcutFinder, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutFinder, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFolderLocalService, dlFolderPersistence, dlLocalService, dlService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
DLFolderServiceImpl()
           
 
Method Summary
 com.liferay.portlet.documentlibrary.model.DLFolder addFolder(long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.documentlibrary.model.DLFolder addFolder(long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
protected  void copyFolder(com.liferay.portlet.documentlibrary.model.DLFolder srcFolder, com.liferay.portlet.documentlibrary.model.DLFolder destFolder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(long plid, long sourceFolderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long groupId, long parentFolderId, java.lang.String name)
           
 com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long folderId)
           
 com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
 long getFolderId(long groupId, long parentFolderId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(long groupId, long parentFolderId)
           
 void reIndexSearch(long companyId)
           
 com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
afterPropertiesSet, getCounterLocalService, getCounterService, getDLFileEntryAndShortcutFinder, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutFinder, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFolderLocalService, getDLFolderPersistence, getDLLocalService, getDLService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, setCounterLocalService, setCounterService, setDLFileEntryAndShortcutFinder, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutFinder, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFolderLocalService, setDLFolderPersistence, setDLLocalService, setDLService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence
 
Methods inherited from class com.liferay.portal.service.base.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

DLFolderServiceImpl

public DLFolderServiceImpl()
Method Detail

addFolder

public com.liferay.portlet.documentlibrary.model.DLFolder 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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

public com.liferay.portlet.documentlibrary.model.DLFolder 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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyFolder

public com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(long plid,
                                                                     long sourceFolderId,
                                                                     long parentFolderId,
                                                                     java.lang.String name,
                                                                     java.lang.String description,
                                                                     boolean addCommunityPermissions,
                                                                     boolean addGuestPermissions)
                                                              throws com.liferay.portal.PortalException,
                                                                     java.rmi.RemoteException,
                                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException

deleteFolder

public void deleteFolder(long folderId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFolder

public void deleteFolder(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

getFolder

public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long folderId)
                                                             throws com.liferay.portal.PortalException,
                                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFolder

public com.liferay.portlet.documentlibrary.model.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

getFolderId

public long getFolderId(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

getFolders

public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(long groupId,
                                                                                     long parentFolderId)
                                                                              throws com.liferay.portal.PortalException,
                                                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

reIndexSearch

public void reIndexSearch(long companyId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFolder

public com.liferay.portlet.documentlibrary.model.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

copyFolder

protected void copyFolder(com.liferay.portlet.documentlibrary.model.DLFolder srcFolder,
                          com.liferay.portlet.documentlibrary.model.DLFolder destFolder,
                          boolean addCommunityPermissions,
                          boolean addGuestPermissions)
                   throws com.liferay.portal.PortalException,
                          java.rmi.RemoteException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
java.rmi.RemoteException
com.liferay.portal.SystemException