Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DLFolderLocalService

public class DLFolderLocalServiceImpl
extends DLFolderLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncEventLocalService, dlSyncEventPersistence, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, lockFinder, lockLocalService, lockPersistence, persistedModelLocalServiceRegistry, repositoryLocalService, repositoryPersistence, repositoryService, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
DLFolderLocalServiceImpl()
           
 
Method Summary
 DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, ServiceContext serviceContext)
           
 DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext)
          Deprecated. As of 6.2.0, replaced by more general addFolder(long, long, long, boolean, long, String, String, boolean, ServiceContext)
protected  void addFolderResources(DLFolder dlFolder, boolean addGroupPermissions, boolean addGuestPermissions)
           
protected  void addFolderResources(DLFolder dlFolder, String[] groupPermissions, String[] guestPermissions)
           
protected  void addFolderResources(long folderId, boolean addGroupPermissions, boolean addGuestPermissions)
           
protected  void addFolderResources(long folderId, String[] groupPermissions, String[] guestPermissions)
           
 void deleteAll(long groupId)
          Deprecated. As of 7.0.0, replaced by deleteAllByGroup(long)
 void deleteAllByGroup(long groupId)
           
 void deleteAllByRepository(long repositoryId)
           
 DLFolder deleteFolder(DLFolder dlFolder)
           
 DLFolder deleteFolder(DLFolder dlFolder, boolean includeTrashedEntries)
           
 DLFolder deleteFolder(long folderId)
           
 DLFolder deleteFolder(long folderId, boolean includeTrashedEntries)
           
 DLFolder deleteFolder(long userId, long folderId, boolean includeTrashedEntries)
           
 DLFolder fetchFolder(long folderId)
           
 DLFolder fetchFolder(long groupId, long parentFolderId, String name)
           
 List<DLFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
          Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcuts(long, long, QueryDefinition)
 List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, QueryDefinition queryDefinition)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
          Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcutsCount(long, long, QueryDefinition)
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, QueryDefinition queryDefinition)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, String name)
           
 long getFolderId(long companyId, long folderId)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator obc)
           
 List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc)
           
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcuts(long, long, String[], boolean, QueryDefinition)
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
          Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)
 List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition queryDefinition)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders)
          Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders)
          Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition queryDefinition)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders)
           
 int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders)
           
 DLFolder getMountFolder(long repositoryId)
           
 List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc)
           
 int getMountFoldersCount(long groupId, long parentFolderId)
           
 List<DLFolder> getNoAssetFolders()
           
protected  long getParentFolderId(DLFolder dlFolder, long parentFolderId)
           
protected  long getParentFolderId(long groupId, long repositoryId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
 boolean hasFolderLock(long userId, long folderId)
           
 Lock lockFolder(long userId, long folderId)
           
 Lock lockFolder(long userId, long folderId, String owner, boolean inheritable, long expirationTime)
           
 DLFolder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext)
           
 void rebuildTree(long companyId)
           
 void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex)
           
 void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid)
           
 void unlockFolder(long folderId, String lockUuid)
           
 DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext)
           
 DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext)
           
 DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext)
           
 void updateLastPostDate(long folderId, Date lastPostDate)
           
 DLFolder updateStatus(long userId, long folderId, int status, Map<String,Serializable> workflowContext, ServiceContext serviceContext)
           
protected  void validateFolder(long folderId, long groupId, long parentFolderId, String name)
           
protected  void validateFolder(long groupId, long parentFolderId, String name)
           
protected  void validateFolderName(String folderName)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
addDLFileEntryTypeDLFolder, addDLFileEntryTypeDLFolder, addDLFileEntryTypeDLFolders, addDLFileEntryTypeDLFolders, addDLFolder, afterPropertiesSet, clearDLFileEntryTypeDLFolders, createDLFolder, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolders, deleteDLFileEntryTypeDLFolders, deleteDLFolder, deleteDLFolder, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFolder, fetchDLFolderByUuidAndCompanyId, fetchDLFolderByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFoldersCount, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolder, getDLFolderByUuidAndCompanyId, getDLFolderByUuidAndGroupId, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolders, getDLFoldersCount, getDLFolderService, getDLSyncEventLocalService, getDLSyncEventPersistence, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLockFinder, getLockLocalService, getLockPersistence, getModelClass, getModelClassName, getPersistedModel, getRepositoryLocalService, getRepositoryPersistence, getRepositoryService, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, hasDLFileEntryTypeDLFolder, hasDLFileEntryTypeDLFolders, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeDLFolders, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncEventLocalService, setDLSyncEventPersistence, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLockFinder, setLockLocalService, setLockPersistence, setRepositoryLocalService, setRepositoryPersistence, setRepositoryService, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateDLFolder
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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 repositoryId,
                          boolean mountPoint,
                          long parentFolderId,
                          String name,
                          String description,
                          boolean hidden,
                          ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

addFolder

public DLFolder addFolder(long userId,
                          long groupId,
                          long repositoryId,
                          boolean mountPoint,
                          long parentFolderId,
                          String name,
                          String description,
                          ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Deprecated. As of 6.2.0, replaced by more general addFolder(long, long, long, boolean, long, String, String, boolean, ServiceContext)

Throws:
PortalException
SystemException

deleteAll

public void deleteAll(long groupId)
               throws PortalException,
                      SystemException
Deprecated. As of 7.0.0, replaced by deleteAllByGroup(long)

Throws:
PortalException
SystemException

deleteAllByGroup

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

deleteAllByRepository

public void deleteAllByRepository(long repositoryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteFolder

@Indexable(type=DELETE)
@SystemEvent(action=1,
             send=false,
             type=1)
public DLFolder deleteFolder(DLFolder dlFolder)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteFolder

@Indexable(type=DELETE)
@SystemEvent(action=1,
             send=false,
             type=1)
public DLFolder deleteFolder(DLFolder dlFolder,
                                                                           boolean includeTrashedEntries)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteFolder

@Indexable(type=DELETE)
public DLFolder deleteFolder(long folderId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteFolder

@Indexable(type=DELETE)
public DLFolder deleteFolder(long folderId,
                                                 boolean includeTrashedEntries)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteFolder

@Indexable(type=DELETE)
public DLFolder deleteFolder(long userId,
                                                 long folderId,
                                                 boolean includeTrashedEntries)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

fetchFolder

public DLFolder fetchFolder(long folderId)
                     throws SystemException
Throws:
SystemException

fetchFolder

public DLFolder fetchFolder(long groupId,
                            long parentFolderId,
                            String name)
                     throws SystemException
Throws:
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,
                                                   long folderId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcuts(long, long, QueryDefinition)

Throws:
SystemException

getFileEntriesAndFileShortcuts

public List<Object> getFileEntriesAndFileShortcuts(long groupId,
                                                   long folderId,
                                                   QueryDefinition queryDefinition)
                                            throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               int status)
                                        throws SystemException
Deprecated. As of 6.2.0, replaced by getFileEntriesAndFileShortcutsCount(long, long, QueryDefinition)

Throws:
SystemException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long groupId,
                                               long folderId,
                                               QueryDefinition queryDefinition)
                                        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

getFolderId

public long getFolderId(long companyId,
                        long folderId)
                 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,
                                 boolean includeMountfolders)
                          throws SystemException
Throws:
SystemException

getFolders

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

getFolders

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

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             int status,
                                                             boolean includeMountFolders,
                                                             int start,
                                                             int end,
                                                             OrderByComparator obc)
                                                      throws SystemException
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcuts(long, long, String[], boolean, QueryDefinition)

Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             int status,
                                                             String[] mimeTypes,
                                                             boolean includeMountFolders,
                                                             int start,
                                                             int end,
                                                             OrderByComparator obc)
                                                      throws SystemException
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)

Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                             long folderId,
                                                             String[] mimeTypes,
                                                             boolean includeMountFolders,
                                                             QueryDefinition queryDefinition)
                                                      throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status,
                                                         boolean includeMountFolders)
                                                  throws SystemException
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)

Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         int status,
                                                         String[] mimeTypes,
                                                         boolean includeMountFolders)
                                                  throws SystemException
Deprecated. As of 6.2.0, replaced by getFoldersAndFileEntriesAndFileShortcutsCount(long, long, String[], boolean, QueryDefinition)

Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                         long folderId,
                                                         String[] mimeTypes,
                                                         boolean includeMountFolders,
                                                         QueryDefinition queryDefinition)
                                                  throws SystemException
Throws:
SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
                    throws SystemException
Throws:
SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           boolean includeMountfolders)
                    throws SystemException
Throws:
SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status,
                           boolean includeMountfolders)
                    throws SystemException
Throws:
SystemException

getMountFolder

public DLFolder getMountFolder(long repositoryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getMountFolders

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

getMountFoldersCount

public int getMountFoldersCount(long groupId,
                                long parentFolderId)
                         throws SystemException
Throws:
SystemException

getNoAssetFolders

public List<DLFolder> getNoAssetFolders()
                                 throws SystemException
Throws:
SystemException

getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId)
                     throws SystemException
Throws:
SystemException

hasFolderLock

public boolean hasFolderLock(long userId,
                             long folderId)
                      throws SystemException
Throws:
SystemException

lockFolder

public Lock lockFolder(long userId,
                       long folderId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

lockFolder

public Lock lockFolder(long userId,
                       long folderId,
                       String owner,
                       boolean inheritable,
                       long expirationTime)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

moveFolder

@Indexable(type=REINDEX)
public DLFolder moveFolder(long userId,
                                                long folderId,
                                                long parentFolderId,
                                                ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

rebuildTree

public void rebuildTree(long companyId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

rebuildTree

public void rebuildTree(long companyId,
                        long parentFolderId,
                        String parentTreePath,
                        boolean reindex)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

unlockFolder

public void unlockFolder(long groupId,
                         long parentFolderId,
                         String name,
                         String lockUuid)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

unlockFolder

public void unlockFolder(long folderId,
                         String lockUuid)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateFolder

@Indexable(type=REINDEX)
public DLFolder updateFolder(long folderId,
                                                  long parentFolderId,
                                                  String name,
                                                  String description,
                                                  long defaultFileEntryTypeId,
                                                  List<Long> fileEntryTypeIds,
                                                  boolean overrideFileEntryTypes,
                                                  ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateFolder

@Indexable(type=REINDEX)
public DLFolder updateFolder(long folderId,
                                                  String name,
                                                  String description,
                                                  long defaultFileEntryTypeId,
                                                  List<Long> fileEntryTypeIds,
                                                  boolean overrideFileEntryTypes,
                                                  ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateFolderAndFileEntryTypes

public DLFolder updateFolderAndFileEntryTypes(long userId,
                                              long folderId,
                                              long parentFolderId,
                                              String name,
                                              String description,
                                              long defaultFileEntryTypeId,
                                              List<Long> fileEntryTypeIds,
                                              boolean overrideFileEntryTypes,
                                              ServiceContext serviceContext)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

updateLastPostDate

@BufferedIncrement(configuration="DLFolderEntry",
                   incrementClass=DateOverrideIncrement.class)
public void updateLastPostDate(long folderId,
                                                                                                       Date lastPostDate)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

updateStatus

public DLFolder updateStatus(long userId,
                             long folderId,
                             int status,
                             Map<String,Serializable> workflowContext,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addFolderResources

protected void addFolderResources(DLFolder dlFolder,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

addFolderResources

protected void addFolderResources(DLFolder dlFolder,
                                  String[] groupPermissions,
                                  String[] guestPermissions)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

addFolderResources

protected void addFolderResources(long folderId,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

addFolderResources

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

getParentFolderId

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

getParentFolderId

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

validateFolder

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

validateFolder

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

validateFolderName

protected void validateFolderName(String folderName)
                           throws PortalException
Throws:
PortalException

Liferay 6.2-ce-ga5