Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
      extended by com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
All Implemented Interfaces:
DLFolderLocalService

public class DLFolderLocalServiceImpl
extends DLFolderLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlLocalService, dlService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, lockLocalService, lockPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence
 
Constructor Summary
DLFolderLocalServiceImpl()
           
 
Method Summary
 DLFolder addFolder(long userId, long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void addFolderResources(DLFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(DLFolder folder, String[] communityPermissions, String[] guestPermissions)
           
 void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(long folderId, String[] communityPermissions, String[] guestPermissions)
           
 void deleteFolder(DLFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 List<DLFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 List<Object> getFileEntriesAndFileShortcuts(long groupId, List<Long> folderIds, int status, int start, int end)
           
 List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, List<Long> folderIds, int status)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, String name)
           
 List<DLFolder> getFolders(long companyId)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, List<Long> folderIds, int status, int start, int end)
           
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, List<Long> folderIds, int status)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
protected  long getParentFolderId(DLFolder folder, long parentFolderId)
           
protected  long getParentFolderId(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
 DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, 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.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
addDLFolder, createDLFolder, deleteDLFolder, deleteDLFolder, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolder, getDLFolderByUuidAndGroupId, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolders, getDLFoldersCount, getDLFolderService, getDLLocalService, getDLService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLockLocalService, getLockPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, runSQL, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLLocalService, setDLService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLockLocalService, setLockPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, updateDLFolder, updateDLFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFolderLocalServiceImpl

public DLFolderLocalServiceImpl()
Method Detail

addFolder

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

addFolderResources

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

addFolderResources

public void addFolderResources(DLFolder 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(DLFolder 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<DLFolder> getCompanyFolders(long companyId,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

getCompanyFoldersCount

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

getFileEntriesAndFileShortcuts

public List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                   List<Long> folderIds,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcuts

public List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                   long folderId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               List<Long> folderIds,
                                               int status)
                                        throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               int status)
                                        throws SystemException
Throws:
SystemException

getFolder

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

getFolder

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

getFolders

public List<DLFolder> getFolders(long companyId)
                          throws SystemException
Throws:
SystemException

getFolders

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

getFolders

public List<DLFolder> getFolders(long groupId,
                                 long parentFolderId,
                                 int start,
                                 int end)
                          throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             List<Long> folderIds,
                                                             int status,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             int status,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         List<Long> folderIds,
                                                         int status)
                                                  throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status)
                                                  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 DLFolder updateFolder(long folderId,
                             long parentFolderId,
                             String name,
                             String description,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getParentFolderId

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

getParentFolderId

protected long getParentFolderId(long groupId,
                                 long parentFolderId)
                          throws SystemException
Throws:
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