Liferay 6.2.0-ce-m1

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl
          extended by com.liferay.portlet.journal.service.impl.JournalFolderLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalFolderLocalService

public class JournalFolderLocalServiceImpl
extends JournalFolderLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl
counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
JournalFolderLocalServiceImpl()
           
 
Method Summary
 JournalFolder addFolder(long userId, long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(JournalFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 JournalFolder fetchFolder(long groupId, String name)
           
 List<JournalFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 JournalFolder getFolder(long folderId)
           
 List<JournalFolder> getFolders(long groupId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 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 getFoldersCount(long groupId, long parentFolderId)
           
protected  long getParentFolderId(JournalFolder folder, long parentFolderId)
           
protected  long getParentFolderId(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
protected  void mergeFolders(JournalFolder fromFolder, long toFolderId)
           
 JournalFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
protected  void validateFolder(long folderId, long groupId, long parentFolderId, String name)
           
protected  void validateFolderName(String name)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl
addJournalFolder, afterPropertiesSet, createJournalFolder, deleteJournalFolder, deleteJournalFolder, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchJournalFolder, getBeanIdentifier, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalFolder, getJournalFolderByUuidAndGroupId, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolders, getJournalFoldersCount, getJournalFolderService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateJournalFolder
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFolderLocalServiceImpl

public JournalFolderLocalServiceImpl()
Method Detail

addFolder

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

deleteFolder

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

fetchFolder

public JournalFolder fetchFolder(long groupId,
                                 String name)
                          throws SystemException
Throws:
SystemException

getCompanyFolders

public List<JournalFolder> getCompanyFolders(long companyId,
                                             int start,
                                             int end)
                                      throws SystemException
Throws:
SystemException

getCompanyFoldersCount

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

getFolder

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

getFolders

public List<JournalFolder> getFolders(long groupId)
                               throws SystemException
Throws:
SystemException

getFolders

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

getFolders

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

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int start,
                                          int end,
                                          OrderByComparator obc)
                                   throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

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

getFoldersAndArticlesCount

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

moveFolder

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

updateFolder

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

getParentFolderId

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

getParentFolderId

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

mergeFolders

protected void mergeFolders(JournalFolder fromFolder,
                            long toFolderId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

validateFolder

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

validateFolderName

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

Liferay 6.2.0-ce-m1