Liferay 7.0-ce-m3

com.liferay.portlet.journal.service
Class JournalFolderLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalFolderLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<JournalFolderLocalService>, JournalFolderLocalService

@ProviderType
public class JournalFolderLocalServiceWrapper
extends Object
implements JournalFolderLocalService, ServiceWrapper<JournalFolderLocalService>

Provides a wrapper for JournalFolderLocalService.

See Also:
JournalFolderLocalService

Constructor Summary
JournalFolderLocalServiceWrapper(JournalFolderLocalService journalFolderLocalService)
           
 
Method Summary
 void addDDMStructureJournalFolder(long structureId, JournalFolder journalFolder)
           
 void addDDMStructureJournalFolder(long structureId, long folderId)
           
 void addDDMStructureJournalFolders(long structureId, List<JournalFolder> JournalFolders)
           
 void addDDMStructureJournalFolders(long structureId, long[] folderIds)
           
 JournalFolder addFolder(long userId, long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 JournalFolder addJournalFolder(JournalFolder journalFolder)
          Adds the journal folder to the database.
 void clearDDMStructureJournalFolders(long structureId)
           
 JournalFolder createJournalFolder(long folderId)
          Creates a new journal folder with the primary key.
 void deleteDDMStructureJournalFolder(long structureId, JournalFolder journalFolder)
           
 void deleteDDMStructureJournalFolder(long structureId, long folderId)
           
 void deleteDDMStructureJournalFolders(long structureId, List<JournalFolder> JournalFolders)
           
 void deleteDDMStructureJournalFolders(long structureId, long[] folderIds)
           
 JournalFolder deleteFolder(JournalFolder folder)
           
 JournalFolder deleteFolder(JournalFolder folder, boolean includeTrashedEntries)
           
 JournalFolder deleteFolder(long folderId)
           
 JournalFolder deleteFolder(long folderId, boolean includeTrashedEntries)
           
 void deleteFolders(long groupId)
           
 JournalFolder deleteJournalFolder(JournalFolder journalFolder)
          Deletes the journal folder from the database.
 JournalFolder deleteJournalFolder(long folderId)
          Deletes the journal folder with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 JournalFolder fetchFolder(long folderId)
           
 JournalFolder fetchFolder(long groupId, long parentFolderId, String name)
           
 JournalFolder fetchFolder(long groupId, String name)
           
 JournalFolder fetchJournalFolder(long folderId)
           
 JournalFolder fetchJournalFolderByUuidAndGroupId(String uuid, long groupId)
          Returns the journal folder matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<JournalFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 List<JournalFolder> getDDMStructureJournalFolders(long structureId)
           
 List<JournalFolder> getDDMStructureJournalFolders(long structureId, int start, int end)
           
 List<JournalFolder> getDDMStructureJournalFolders(long structureId, int start, int end, OrderByComparator<JournalFolder> orderByComparator)
           
 int getDDMStructureJournalFoldersCount(long structureId)
           
 long[] getDDMStructurePrimaryKeys(long folderId)
          Returns the structureIds of the d d m structures associated with the journal folder.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 JournalFolder getFolder(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)
           
 List<Object> getFoldersAndArticles(long groupId, long folderId, int status)
           
 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)
           
 long getInheritedWorkflowFolderId(long folderId)
           
 JournalFolder getJournalFolder(long folderId)
          Returns the journal folder with the primary key.
 JournalFolder getJournalFolderByUuidAndGroupId(String uuid, long groupId)
          Returns the journal folder matching the UUID and group.
 List<JournalFolder> getJournalFolders(int start, int end)
          Returns a range of all the journal folders.
 List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid, long companyId)
          Returns all the journal folders matching the UUID and company.
 List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<JournalFolder> orderByComparator)
          Returns a range of journal folders matching the UUID and company.
 int getJournalFoldersCount()
          Returns the number of journal folders.
 List<JournalFolder> getNoAssetFolders()
           
 long getOverridedDDMStructuresFolderId(long folderId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
 JournalFolderLocalService getWrappedJournalFolderLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 JournalFolderLocalService getWrappedService()
           
 boolean hasDDMStructureJournalFolder(long structureId, long folderId)
           
 boolean hasDDMStructureJournalFolders(long structureId)
           
 JournalFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderToTrash(long userId, long folderId)
           
 void rebuildTree(long companyId)
           
 void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex)
           
 void restoreFolderFromTrash(long userId, long folderId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setDDMStructureJournalFolders(long structureId, long[] folderIds)
           
 void setWrappedJournalFolderLocalService(JournalFolderLocalService journalFolderLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.journal.service.JournalFolderLocalService)
 void setWrappedService(JournalFolderLocalService journalFolderLocalService)
           
 void subscribe(long userId, long groupId, long folderId)
           
 void unsubscribe(long userId, long groupId, long folderId)
           
 void updateAsset(long userId, JournalFolder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
           
 JournalFolder updateFolder(long userId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 JournalFolder updateFolder(long userId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 void updateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray)
           
 JournalFolder updateJournalFolder(JournalFolder journalFolder)
          Updates the journal folder in the database or adds it if it does not yet exist.
 JournalFolder updateStatus(long userId, JournalFolder folder, int status)
           
 void validateFolderDDMStructures(long folderId, long parentFolderId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFolderLocalServiceWrapper

public JournalFolderLocalServiceWrapper(JournalFolderLocalService journalFolderLocalService)
Method Detail

addDDMStructureJournalFolder

public void addDDMStructureJournalFolder(long structureId,
                                         long folderId)
Specified by:
addDDMStructureJournalFolder in interface JournalFolderLocalService

addDDMStructureJournalFolder

public void addDDMStructureJournalFolder(long structureId,
                                         JournalFolder journalFolder)
Specified by:
addDDMStructureJournalFolder in interface JournalFolderLocalService

addDDMStructureJournalFolders

public void addDDMStructureJournalFolders(long structureId,
                                          List<JournalFolder> JournalFolders)
Specified by:
addDDMStructureJournalFolders in interface JournalFolderLocalService

addDDMStructureJournalFolders

public void addDDMStructureJournalFolders(long structureId,
                                          long[] folderIds)
Specified by:
addDDMStructureJournalFolders in interface JournalFolderLocalService

addFolder

public JournalFolder addFolder(long userId,
                               long groupId,
                               long parentFolderId,
                               String name,
                               String description,
                               ServiceContext serviceContext)
                        throws PortalException
Specified by:
addFolder in interface JournalFolderLocalService
Throws:
PortalException

addJournalFolder

public JournalFolder addJournalFolder(JournalFolder journalFolder)
Adds the journal folder to the database. Also notifies the appropriate model listeners.

Specified by:
addJournalFolder in interface JournalFolderLocalService
Parameters:
journalFolder - the journal folder
Returns:
the journal folder that was added

clearDDMStructureJournalFolders

public void clearDDMStructureJournalFolders(long structureId)
Specified by:
clearDDMStructureJournalFolders in interface JournalFolderLocalService

createJournalFolder

public JournalFolder createJournalFolder(long folderId)
Creates a new journal folder with the primary key. Does not add the journal folder to the database.

Specified by:
createJournalFolder in interface JournalFolderLocalService
Parameters:
folderId - the primary key for the new journal folder
Returns:
the new journal folder

deleteDDMStructureJournalFolder

public void deleteDDMStructureJournalFolder(long structureId,
                                            long folderId)
Specified by:
deleteDDMStructureJournalFolder in interface JournalFolderLocalService

deleteDDMStructureJournalFolder

public void deleteDDMStructureJournalFolder(long structureId,
                                            JournalFolder journalFolder)
Specified by:
deleteDDMStructureJournalFolder in interface JournalFolderLocalService

deleteDDMStructureJournalFolders

public void deleteDDMStructureJournalFolders(long structureId,
                                             List<JournalFolder> JournalFolders)
Specified by:
deleteDDMStructureJournalFolders in interface JournalFolderLocalService

deleteDDMStructureJournalFolders

public void deleteDDMStructureJournalFolders(long structureId,
                                             long[] folderIds)
Specified by:
deleteDDMStructureJournalFolders in interface JournalFolderLocalService

deleteFolder

public JournalFolder deleteFolder(JournalFolder folder)
                           throws PortalException
Specified by:
deleteFolder in interface JournalFolderLocalService
Throws:
PortalException

deleteFolder

public JournalFolder deleteFolder(JournalFolder folder,
                                  boolean includeTrashedEntries)
                           throws PortalException
Specified by:
deleteFolder in interface JournalFolderLocalService
Throws:
PortalException

deleteFolder

public JournalFolder deleteFolder(long folderId)
                           throws PortalException
Specified by:
deleteFolder in interface JournalFolderLocalService
Throws:
PortalException

deleteFolder

public JournalFolder deleteFolder(long folderId,
                                  boolean includeTrashedEntries)
                           throws PortalException
Specified by:
deleteFolder in interface JournalFolderLocalService
Throws:
PortalException

deleteFolders

public void deleteFolders(long groupId)
                   throws PortalException
Specified by:
deleteFolders in interface JournalFolderLocalService
Throws:
PortalException

deleteJournalFolder

public JournalFolder deleteJournalFolder(long folderId)
                                  throws PortalException
Deletes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalFolder in interface JournalFolderLocalService
Parameters:
folderId - the primary key of the journal folder
Returns:
the journal folder that was removed
Throws:
PortalException - if a journal folder with the primary key could not be found

deleteJournalFolder

public JournalFolder deleteJournalFolder(JournalFolder journalFolder)
Deletes the journal folder from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalFolder in interface JournalFolderLocalService
Parameters:
journalFolder - the journal folder
Returns:
the journal folder that was removed

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface JournalFolderLocalService
Throws:
PortalException

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface JournalFolderLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface JournalFolderLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.journal.model.impl.JournalFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface JournalFolderLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.journal.model.impl.JournalFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface JournalFolderLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface JournalFolderLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface JournalFolderLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchFolder

public JournalFolder fetchFolder(long folderId)
Specified by:
fetchFolder in interface JournalFolderLocalService

fetchFolder

public JournalFolder fetchFolder(long groupId,
                                 String name)
Specified by:
fetchFolder in interface JournalFolderLocalService

fetchFolder

public JournalFolder fetchFolder(long groupId,
                                 long parentFolderId,
                                 String name)
Specified by:
fetchFolder in interface JournalFolderLocalService

fetchJournalFolder

public JournalFolder fetchJournalFolder(long folderId)
Specified by:
fetchJournalFolder in interface JournalFolderLocalService

fetchJournalFolderByUuidAndGroupId

public JournalFolder fetchJournalFolderByUuidAndGroupId(String uuid,
                                                        long groupId)
Returns the journal folder matching the UUID and group.

Specified by:
fetchJournalFolderByUuidAndGroupId in interface JournalFolderLocalService
Parameters:
uuid - the journal folder's UUID
groupId - the primary key of the group
Returns:
the matching journal folder, or null if a matching journal folder could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface JournalFolderLocalService

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface JournalFolderLocalService
Returns:
the Spring bean ID for this bean

getCompanyFolders

public List<JournalFolder> getCompanyFolders(long companyId,
                                             int start,
                                             int end)
Specified by:
getCompanyFolders in interface JournalFolderLocalService

getCompanyFoldersCount

public int getCompanyFoldersCount(long companyId)
Specified by:
getCompanyFoldersCount in interface JournalFolderLocalService

getDDMStructureJournalFolders

public List<JournalFolder> getDDMStructureJournalFolders(long structureId)
Specified by:
getDDMStructureJournalFolders in interface JournalFolderLocalService

getDDMStructureJournalFolders

public List<JournalFolder> getDDMStructureJournalFolders(long structureId,
                                                         int start,
                                                         int end)
Specified by:
getDDMStructureJournalFolders in interface JournalFolderLocalService

getDDMStructureJournalFolders

public List<JournalFolder> getDDMStructureJournalFolders(long structureId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator<JournalFolder> orderByComparator)
Specified by:
getDDMStructureJournalFolders in interface JournalFolderLocalService

getDDMStructureJournalFoldersCount

public int getDDMStructureJournalFoldersCount(long structureId)
Specified by:
getDDMStructureJournalFoldersCount in interface JournalFolderLocalService

getDDMStructurePrimaryKeys

public long[] getDDMStructurePrimaryKeys(long folderId)
Returns the structureIds of the d d m structures associated with the journal folder.

Specified by:
getDDMStructurePrimaryKeys in interface JournalFolderLocalService
Parameters:
folderId - the folderId of the journal folder
Returns:
long[] the structureIds of d d m structures associated with the journal folder

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface JournalFolderLocalService

getFolder

public JournalFolder getFolder(long folderId)
                        throws PortalException
Specified by:
getFolder in interface JournalFolderLocalService
Throws:
PortalException

getFolders

public List<JournalFolder> getFolders(long groupId)
Specified by:
getFolders in interface JournalFolderLocalService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId)
Specified by:
getFolders in interface JournalFolderLocalService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int start,
                                      int end)
Specified by:
getFolders in interface JournalFolderLocalService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status)
Specified by:
getFolders in interface JournalFolderLocalService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status,
                                      int start,
                                      int end)
Specified by:
getFolders in interface JournalFolderLocalService

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId)
Specified by:
getFoldersAndArticles in interface JournalFolderLocalService

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int start,
                                          int end,
                                          OrderByComparator<?> obc)
Specified by:
getFoldersAndArticles in interface JournalFolderLocalService

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int status)
Specified by:
getFoldersAndArticles in interface JournalFolderLocalService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderLocalService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId,
                                      int status)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderLocalService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      List<Long> folderIds,
                                      int status)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderLocalService

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
Specified by:
getFoldersCount in interface JournalFolderLocalService

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status)
Specified by:
getFoldersCount in interface JournalFolderLocalService

getInheritedWorkflowFolderId

public long getInheritedWorkflowFolderId(long folderId)
                                  throws NoSuchFolderException
Specified by:
getInheritedWorkflowFolderId in interface JournalFolderLocalService
Throws:
NoSuchFolderException

getJournalFolder

public JournalFolder getJournalFolder(long folderId)
                               throws PortalException
Returns the journal folder with the primary key.

Specified by:
getJournalFolder in interface JournalFolderLocalService
Parameters:
folderId - the primary key of the journal folder
Returns:
the journal folder
Throws:
PortalException - if a journal folder with the primary key could not be found

getJournalFolderByUuidAndGroupId

public JournalFolder getJournalFolderByUuidAndGroupId(String uuid,
                                                      long groupId)
                                               throws PortalException
Returns the journal folder matching the UUID and group.

Specified by:
getJournalFolderByUuidAndGroupId in interface JournalFolderLocalService
Parameters:
uuid - the journal folder's UUID
groupId - the primary key of the group
Returns:
the matching journal folder
Throws:
PortalException - if a matching journal folder could not be found

getJournalFolders

public List<JournalFolder> getJournalFolders(int start,
                                             int end)
Returns a range of all the journal folders.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.journal.model.impl.JournalFolderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getJournalFolders in interface JournalFolderLocalService
Parameters:
start - the lower bound of the range of journal folders
end - the upper bound of the range of journal folders (not inclusive)
Returns:
the range of journal folders

getJournalFoldersByUuidAndCompanyId

public List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid,
                                                               long companyId)
Returns all the journal folders matching the UUID and company.

Specified by:
getJournalFoldersByUuidAndCompanyId in interface JournalFolderLocalService
Parameters:
uuid - the UUID of the journal folders
companyId - the primary key of the company
Returns:
the matching journal folders, or an empty list if no matches were found

getJournalFoldersByUuidAndCompanyId

public List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid,
                                                               long companyId,
                                                               int start,
                                                               int end,
                                                               OrderByComparator<JournalFolder> orderByComparator)
Returns a range of journal folders matching the UUID and company.

Specified by:
getJournalFoldersByUuidAndCompanyId in interface JournalFolderLocalService
Parameters:
uuid - the UUID of the journal folders
companyId - the primary key of the company
start - the lower bound of the range of journal folders
end - the upper bound of the range of journal folders (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching journal folders, or an empty list if no matches were found

getJournalFoldersCount

public int getJournalFoldersCount()
Returns the number of journal folders.

Specified by:
getJournalFoldersCount in interface JournalFolderLocalService
Returns:
the number of journal folders

getNoAssetFolders

public List<JournalFolder> getNoAssetFolders()
Specified by:
getNoAssetFolders in interface JournalFolderLocalService

getOverridedDDMStructuresFolderId

public long getOverridedDDMStructuresFolderId(long folderId)
                                       throws NoSuchFolderException
Specified by:
getOverridedDDMStructuresFolderId in interface JournalFolderLocalService
Throws:
NoSuchFolderException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface JournalFolderLocalService
Throws:
PortalException

getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId)
Specified by:
getSubfolderIds in interface JournalFolderLocalService

hasDDMStructureJournalFolder

public boolean hasDDMStructureJournalFolder(long structureId,
                                            long folderId)
Specified by:
hasDDMStructureJournalFolder in interface JournalFolderLocalService

hasDDMStructureJournalFolders

public boolean hasDDMStructureJournalFolders(long structureId)
Specified by:
hasDDMStructureJournalFolders in interface JournalFolderLocalService

moveFolder

public JournalFolder moveFolder(long folderId,
                                long parentFolderId,
                                ServiceContext serviceContext)
                         throws PortalException
Specified by:
moveFolder in interface JournalFolderLocalService
Throws:
PortalException

moveFolderFromTrash

public JournalFolder moveFolderFromTrash(long userId,
                                         long folderId,
                                         long parentFolderId,
                                         ServiceContext serviceContext)
                                  throws PortalException
Specified by:
moveFolderFromTrash in interface JournalFolderLocalService
Throws:
PortalException

moveFolderToTrash

public JournalFolder moveFolderToTrash(long userId,
                                       long folderId)
                                throws PortalException
Specified by:
moveFolderToTrash in interface JournalFolderLocalService
Throws:
PortalException

rebuildTree

public void rebuildTree(long companyId)
                 throws PortalException
Specified by:
rebuildTree in interface JournalFolderLocalService
Throws:
PortalException

rebuildTree

public void rebuildTree(long companyId,
                        long parentFolderId,
                        String parentTreePath,
                        boolean reindex)
                 throws PortalException
Specified by:
rebuildTree in interface JournalFolderLocalService
Throws:
PortalException

restoreFolderFromTrash

public void restoreFolderFromTrash(long userId,
                                   long folderId)
                            throws PortalException
Specified by:
restoreFolderFromTrash in interface JournalFolderLocalService
Throws:
PortalException

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface JournalFolderLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

setDDMStructureJournalFolders

public void setDDMStructureJournalFolders(long structureId,
                                          long[] folderIds)
Specified by:
setDDMStructureJournalFolders in interface JournalFolderLocalService

subscribe

public void subscribe(long userId,
                      long groupId,
                      long folderId)
               throws PortalException
Specified by:
subscribe in interface JournalFolderLocalService
Throws:
PortalException

unsubscribe

public void unsubscribe(long userId,
                        long groupId,
                        long folderId)
                 throws PortalException
Specified by:
unsubscribe in interface JournalFolderLocalService
Throws:
PortalException

updateAsset

public void updateAsset(long userId,
                        JournalFolder folder,
                        long[] assetCategoryIds,
                        String[] assetTagNames,
                        long[] assetLinkEntryIds)
                 throws PortalException
Specified by:
updateAsset in interface JournalFolderLocalService
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long userId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  long[] ddmStructureIds,
                                  int restrictionType,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Specified by:
updateFolder in interface JournalFolderLocalService
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long userId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Specified by:
updateFolder in interface JournalFolderLocalService
Throws:
PortalException

updateFolderDDMStructures

public void updateFolderDDMStructures(JournalFolder folder,
                                      long[] ddmStructureIdsArray)
Specified by:
updateFolderDDMStructures in interface JournalFolderLocalService

updateJournalFolder

public JournalFolder updateJournalFolder(JournalFolder journalFolder)
Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalFolder in interface JournalFolderLocalService
Parameters:
journalFolder - the journal folder
Returns:
the journal folder that was updated

updateStatus

public JournalFolder updateStatus(long userId,
                                  JournalFolder folder,
                                  int status)
                           throws PortalException
Specified by:
updateStatus in interface JournalFolderLocalService
Throws:
PortalException

validateFolderDDMStructures

public void validateFolderDDMStructures(long folderId,
                                        long parentFolderId)
                                 throws PortalException
Specified by:
validateFolderDDMStructures in interface JournalFolderLocalService
Throws:
PortalException

getWrappedJournalFolderLocalService

@Deprecated
public JournalFolderLocalService getWrappedJournalFolderLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedJournalFolderLocalService

@Deprecated
public void setWrappedJournalFolderLocalService(JournalFolderLocalService journalFolderLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.journal.service.JournalFolderLocalService)


getWrappedService

public JournalFolderLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<JournalFolderLocalService>

setWrappedService

public void setWrappedService(JournalFolderLocalService journalFolderLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<JournalFolderLocalService>

Liferay 7.0-ce-m3