Liferay 7.0-ce-m6

com.liferay.portlet.journal.service.impl
Class JournalFolderServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl
          extended by com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, JournalFolderService

public class JournalFolderServiceImpl
extends JournalFolderServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, classNameLocalService, classNamePersistence, classNameService, counterLocalService, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
JournalFolderServiceImpl()
           
 
Method Summary
 JournalFolder addFolder(long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long folderId, boolean includeTrashedEntries)
           
 JournalFolder fetchFolder(long folderId)
           
protected  List<DDMStructure> filterStructures(List<DDMStructure> ddmStructures)
           
 List<DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType)
           
 JournalFolder getFolder(long folderId)
           
 List<Long> getFolderIds(long groupId, long folderId)
           
 List<JournalFolder> getFolders(long groupId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
 List<Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, OrderByComparator<?> obc)
           
 List<Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, OrderByComparator<?> obc)
           
 int getFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status)
           
 int getFoldersAndArticlesCount(long groupId, long folderId)
           
 int getFoldersAndArticlesCount(long groupId, long folderId, int status)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 int getFoldersCount(long groupId, long parentFolderId, int status)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
 List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
 JournalFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderFromTrash(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderToTrash(long folderId)
           
 void restoreFolderFromTrash(long folderId)
           
 void subscribe(long groupId, long folderId)
           
 void unsubscribe(long groupId, long folderId)
           
 JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleService, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolderService, getModelClass, getModelClassName, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFolderServiceImpl

public JournalFolderServiceImpl()
Method Detail

addFolder

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

deleteFolder

public void deleteFolder(long folderId)
                  throws PortalException
Throws:
PortalException

deleteFolder

public void deleteFolder(long folderId,
                         boolean includeTrashedEntries)
                  throws PortalException
Throws:
PortalException

fetchFolder

public JournalFolder fetchFolder(long folderId)
                          throws PortalException
Throws:
PortalException

getDDMStructures

public List<DDMStructure> getDDMStructures(long[] groupIds,
                                           long folderId,
                                           int restrictionType)
                                    throws PortalException
Throws:
PortalException

getFolder

public JournalFolder getFolder(long folderId)
                        throws PortalException
Throws:
PortalException

getFolderIds

public List<Long> getFolderIds(long groupId,
                               long folderId)
                        throws PortalException
Throws:
PortalException

getFolders

public List<JournalFolder> getFolders(long groupId)

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId)

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status)

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int start,
                                      int end)

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status,
                                      int start,
                                      int end)

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int status,
                                          int start,
                                          int end,
                                          OrderByComparator<?> obc)

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int start,
                                          int end,
                                          OrderByComparator<?> obc)

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      List<Long> folderIds,
                                      int status)

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId)

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId,
                                      int status)

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status)

getSubfolderIds

@Deprecated
public void getSubfolderIds(List<Long> folderIds,
                                       long groupId,
                                       long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)


getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId,
                            boolean recurse)

getSubfolderIds

public List<Long> getSubfolderIds(long groupId,
                                  long folderId,
                                  boolean recurse)

moveFolder

public JournalFolder moveFolder(long folderId,
                                long parentFolderId,
                                ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

moveFolderFromTrash

public JournalFolder moveFolderFromTrash(long folderId,
                                         long parentFolderId,
                                         ServiceContext serviceContext)
                                  throws PortalException
Throws:
PortalException

moveFolderToTrash

public JournalFolder moveFolderToTrash(long folderId)
                                throws PortalException
Throws:
PortalException

restoreFolderFromTrash

public void restoreFolderFromTrash(long folderId)
                            throws PortalException
Throws:
PortalException

subscribe

public void subscribe(long groupId,
                      long folderId)
               throws PortalException
Throws:
PortalException

unsubscribe

public void unsubscribe(long groupId,
                        long folderId)
                 throws PortalException
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long groupId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long groupId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  long[] ddmStructureIds,
                                  int restrictionType,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

filterStructures

protected List<DDMStructure> filterStructures(List<DDMStructure> ddmStructures)
                                       throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m6