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

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
All Implemented Interfaces:
com.liferay.portlet.documentlibrary.service.DLFolderService

public class DLFolderServiceImpl
extends PrincipalBean
implements com.liferay.portlet.documentlibrary.service.DLFolderService

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
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)
           
 void deleteFolder(long folderId)
           
 com.liferay.portlet.documentlibrary.model.DLFolder getFolder(long folderId)
           
 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.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

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
Specified by:
addFolder in interface com.liferay.portlet.documentlibrary.service.DLFolderService
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
Specified by:
addFolder in interface com.liferay.portlet.documentlibrary.service.DLFolderService
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.documentlibrary.service.DLFolderService
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
Specified by:
getFolder in interface com.liferay.portlet.documentlibrary.service.DLFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

reIndexSearch

public void reIndexSearch(long companyId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
reIndexSearch in interface com.liferay.portlet.documentlibrary.service.DLFolderService
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
Specified by:
updateFolder in interface com.liferay.portlet.documentlibrary.service.DLFolderService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException