Class JournalFolderLocalServiceWrapper
- All Implemented Interfaces:
JournalFolderLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<JournalFolderLocalService>
JournalFolderLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionJournalFolderLocalServiceWrapper(JournalFolderLocalService journalFolderLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddFolder(String externalReferenceCode, long userId, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) addJournalFolder(JournalFolder journalFolder) Adds the journal folder to the database.createJournalFolder(long folderId) Creates a new journal folder with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteFolder(long folderId) deleteFolder(long folderId, boolean includeTrashedEntries) deleteFolder(JournalFolder folder) deleteFolder(JournalFolder folder, boolean includeTrashedEntries) voiddeleteFolders(long groupId) deleteJournalFolder(long folderId) Deletes the journal folder with the primary key from the database.deleteJournalFolder(JournalFolder journalFolder) Deletes the journal folder from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchFolder(long folderId) fetchFolder(long groupId, long parentFolderId, String name) fetchFolder(long groupId, String name) fetchJournalFolder(long folderId) fetchJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) fetchJournalFolderByUuidAndGroupId(String uuid, long groupId) Returns the journal folder matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getCompanyFolders(long companyId, int start, int end) intgetCompanyFoldersCount(long companyId) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder>List<com.liferay.dynamic.data.mapping.model.DDMStructure>getDDMStructures(long[] groupIds, long folderId, int restrictionType) List<com.liferay.dynamic.data.mapping.model.DDMStructure>getDDMStructures(long[] groupIds, long folderId, int restrictionType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFolder(long folderId) getFolders(long groupId) getFolders(long groupId, long parentFolderId) getFolders(long groupId, long parentFolderId, int status) getFolders(long groupId, long parentFolderId, int start, int end) getFolders(long groupId, long parentFolderId, int status, int start, int end) getFoldersAndArticles(long groupId, long folderId) getFoldersAndArticles(long groupId, long folderId, int status) getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) intgetFoldersAndArticlesCount(long groupId, long folderId) intgetFoldersAndArticlesCount(long groupId, long folderId, int status) intgetFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status) intgetFoldersCount(long groupId, long parentFolderId) intgetFoldersCount(long groupId, long parentFolderId, int status) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerylonggetInheritedWorkflowFolderId(long folderId) getJournalFolder(long folderId) Returns the journal folder with the primary key.getJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) getJournalFolderByUuidAndGroupId(String uuid, long groupId) Returns the journal folder matching the UUID and group.getJournalFolders(int start, int end) Returns a range of all the journal folders.getJournalFoldersByUuidAndCompanyId(String uuid, long companyId) Returns all the journal folders matching the UUID and company.getJournalFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns a range of journal folders matching the UUID and company.intReturns the number of journal folders.Returns the OSGi service identifier.longgetOverridedDDMStructuresFolderId(long folderId) com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidgetSubfolderIds(List<Long> folderIds, long groupId, long folderId) getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count) moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) moveFolderFromTrash(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) moveFolderToTrash(long userId, long folderId) voidrebuildTree(long companyId) voidrebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) voidrestoreFolderFromTrash(long userId, long folderId) List<com.liferay.dynamic.data.mapping.model.DDMStructure>searchDDMStructures(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) voidsetWrappedService(JournalFolderLocalService journalFolderLocalService) voidsubscribe(long userId, long groupId, long folderId) voidunsubscribe(long userId, long groupId, long folderId) voidupdateAsset(long userId, JournalFolder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray) updateJournalFolder(JournalFolder journalFolder) Updates the journal folder in the database or adds it if it does not yet exist.updateStatus(long userId, JournalFolder folder, int status) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder>, R, E> updateUnsafeFunction) voidvalidateFolderDDMStructures(long folderId, long parentFolderId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
JournalFolderLocalServiceWrapper
public JournalFolderLocalServiceWrapper() -
JournalFolderLocalServiceWrapper
-
-
Method Details
-
addFolder
public JournalFolder addFolder(String externalReferenceCode, long userId, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addJournalFolder
Adds the journal folder to the database. Also notifies the appropriate model listeners.Important: Inspect JournalFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addJournalFolderin interfaceJournalFolderLocalService- Parameters:
journalFolder- the journal folder- Returns:
- the journal folder that was added
-
createJournalFolder
Creates a new journal folder with the primary key. Does not add the journal folder to the database.- Specified by:
createJournalFolderin interfaceJournalFolderLocalService- Parameters:
folderId- the primary key for the new journal folder- Returns:
- the new journal folder
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceJournalFolderLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public JournalFolder deleteFolder(JournalFolder folder) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public JournalFolder deleteFolder(JournalFolder folder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public JournalFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public JournalFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolders
public void deleteFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFoldersin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteJournalFolder
Deletes the journal folder from the database. Also notifies the appropriate model listeners.Important: Inspect JournalFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJournalFolderin interfaceJournalFolderLocalService- Parameters:
journalFolder- the journal folder- Returns:
- the journal folder that was removed
-
deleteJournalFolder
public JournalFolder deleteJournalFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException Deletes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect JournalFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJournalFolderin interfaceJournalFolderLocalService- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceJournalFolderLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceJournalFolderLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceJournalFolderLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceJournalFolderLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceJournalFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl.- Specified by:
dynamicQueryin interfaceJournalFolderLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl.- Specified by:
dynamicQueryin interfaceJournalFolderLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceJournalFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceJournalFolderLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchFolder
- Specified by:
fetchFolderin interfaceJournalFolderLocalService
-
fetchFolder
- Specified by:
fetchFolderin interfaceJournalFolderLocalService
-
fetchFolder
- Specified by:
fetchFolderin interfaceJournalFolderLocalService
-
fetchJournalFolder
- Specified by:
fetchJournalFolderin interfaceJournalFolderLocalService
-
fetchJournalFolderByExternalReferenceCode
public JournalFolder fetchJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchJournalFolderByExternalReferenceCodein interfaceJournalFolderLocalService
-
fetchJournalFolderByUuidAndGroupId
Returns the journal folder matching the UUID and group.- Specified by:
fetchJournalFolderByUuidAndGroupIdin interfaceJournalFolderLocalService- Parameters:
uuid- the journal folder's UUIDgroupId- the primary key of the group- Returns:
- the matching journal folder, or
nullif a matching journal folder could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceJournalFolderLocalService
-
getCompanyFolders
- Specified by:
getCompanyFoldersin interfaceJournalFolderLocalService
-
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId) - Specified by:
getCompanyFoldersCountin interfaceJournalFolderLocalService
-
getDDMStructures
public List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDDMStructuresin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
public List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDDMStructuresin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceJournalFolderLocalService
-
getFolder
public JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolders
- Specified by:
getFoldersin interfaceJournalFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceJournalFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceJournalFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceJournalFolderLocalService
-
getFolders
public List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) - Specified by:
getFoldersin interfaceJournalFolderLocalService
-
getFoldersAndArticles
- Specified by:
getFoldersAndArticlesin interfaceJournalFolderLocalService
-
getFoldersAndArticles
- Specified by:
getFoldersAndArticlesin interfaceJournalFolderLocalService
-
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) - Specified by:
getFoldersAndArticlesin interfaceJournalFolderLocalService
-
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) - Specified by:
getFoldersAndArticlesin interfaceJournalFolderLocalService
-
getFoldersAndArticlesCount
- Specified by:
getFoldersAndArticlesCountin interfaceJournalFolderLocalService
-
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId, long folderId) - Specified by:
getFoldersAndArticlesCountin interfaceJournalFolderLocalService
-
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId, long folderId, int status) - Specified by:
getFoldersAndArticlesCountin interfaceJournalFolderLocalService
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId) - Specified by:
getFoldersCountin interfaceJournalFolderLocalService
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, int status) - Specified by:
getFoldersCountin interfaceJournalFolderLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceJournalFolderLocalService
-
getInheritedWorkflowFolderId
- Specified by:
getInheritedWorkflowFolderIdin interfaceJournalFolderLocalService- Throws:
NoSuchFolderException
-
getJournalFolder
public JournalFolder getJournalFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException Returns the journal folder with the primary key.- Specified by:
getJournalFolderin interfaceJournalFolderLocalService- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
getJournalFolderByExternalReferenceCode
public JournalFolder getJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getJournalFolderByExternalReferenceCodein interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getJournalFolderByUuidAndGroupId
public JournalFolder getJournalFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the journal folder matching the UUID and group.- Specified by:
getJournalFolderByUuidAndGroupIdin interfaceJournalFolderLocalService- Parameters:
uuid- the journal folder's UUIDgroupId- the primary key of the group- Returns:
- the matching journal folder
- Throws:
PortalException- if a matching journal folder could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getJournalFolders
Returns a range of all the journal folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl.- Specified by:
getJournalFoldersin interfaceJournalFolderLocalService- Parameters:
start- the lower bound of the range of journal foldersend- the upper bound of the range of journal folders (not inclusive)- Returns:
- the range of journal folders
-
getJournalFoldersByUuidAndCompanyId
Returns all the journal folders matching the UUID and company.- Specified by:
getJournalFoldersByUuidAndCompanyIdin interfaceJournalFolderLocalService- Parameters:
uuid- the UUID of the journal folderscompanyId- 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, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns a range of journal folders matching the UUID and company.- Specified by:
getJournalFoldersByUuidAndCompanyIdin interfaceJournalFolderLocalService- Parameters:
uuid- the UUID of the journal folderscompanyId- the primary key of the companystart- the lower bound of the range of journal foldersend- the upper bound of the range of journal folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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:
getJournalFoldersCountin interfaceJournalFolderLocalService- Returns:
- the number of journal folders
-
getNoAssetFolders
- Specified by:
getNoAssetFoldersin interfaceJournalFolderLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceJournalFolderLocalService- Returns:
- the OSGi service identifier
-
getOverridedDDMStructuresFolderId
- Specified by:
getOverridedDDMStructuresFolderIdin interfaceJournalFolderLocalService- Throws:
NoSuchFolderException
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceJournalFolderLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getSubfolderIds
- Specified by:
getSubfolderIdsin interfaceJournalFolderLocalService
-
getUniqueFolderName
public String getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count) - Specified by:
getUniqueFolderNamein interfaceJournalFolderLocalService
-
moveFolder
public JournalFolder moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderFromTrash
public JournalFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveFolderFromTrashin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderToTrash
public JournalFolder moveFolderToTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveFolderToTrashin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
rebuildTreein interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
rebuildTreein interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
public void restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restoreFolderFromTrashin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchDDMStructures
public List<com.liferay.dynamic.data.mapping.model.DDMStructure> searchDDMStructures(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchDDMStructuresin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribe
public void subscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribein interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribe
public void unsubscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribein interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, JournalFolder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAssetin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFolderin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolderDDMStructures
public void updateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFolderDDMStructuresin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateJournalFolder
Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect JournalFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateJournalFolderin interfaceJournalFolderLocalService- Parameters:
journalFolder- the journal folder- Returns:
- the journal folder that was updated
-
updateStatus
public JournalFolder updateStatus(long userId, JournalFolder folder, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
validateFolderDDMStructures
public void validateFolderDDMStructures(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
validateFolderDDMStructuresin interfaceJournalFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>- Specified by:
getCTPersistencein interfaceJournalFolderLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>- Specified by:
getModelClassin interfaceJournalFolderLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>- Specified by:
updateWithUnsafeFunctionin interfaceJournalFolderLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<JournalFolderLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<JournalFolderLocalService>
-