Interface JournalFolderLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>
,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
JournalFolderLocalServiceWrapper
- See Also:
- Generated:
-
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.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteFolder
(long folderId) deleteFolder
(long folderId, boolean includeTrashedEntries) deleteFolder
(JournalFolder folder) deleteFolder
(JournalFolder folder, boolean includeTrashedEntries) void
deleteFolders
(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.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.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.ActionableDynamicQuery
getCompanyFolders
(long companyId, int start, int end) int
getCompanyFoldersCount
(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.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(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) int
getFoldersAndArticlesCount
(long groupId, long folderId) int
getFoldersAndArticlesCount
(long groupId, long folderId, int status) int
getFoldersAndArticlesCount
(long groupId, List<Long> folderIds, int status) int
getFoldersCount
(long groupId, long parentFolderId) int
getFoldersCount
(long groupId, long parentFolderId, int status) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
long
getInheritedWorkflowFolderId
(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.int
Returns the number of journal folders.Returns the OSGi service identifier.long
getOverridedDDMStructuresFolderId
(long folderId) com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
getSubfolderIds
(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) void
rebuildTree
(long companyId) void
rebuildTree
(long companyId, long parentFolderId, String parentTreePath, boolean reindex) void
restoreFolderFromTrash
(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) 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, 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) void
updateFolderDDMStructures
(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) void
validateFolderDDMStructures
(long folderId, long parentFolderId) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addFolder
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 - 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.
- 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.- Parameters:
folderId
- the primary key for the new journal folder- Returns:
- the new journal folder
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) JournalFolder deleteFolder(JournalFolder folder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) JournalFolder deleteFolder(JournalFolder folder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) JournalFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) JournalFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolders
void deleteFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException - 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.
- Parameters:
journalFolder
- the journal folder- Returns:
- the journal folder that was removed
-
deleteJournalFolder
@Indexable(type=DELETE) 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.
- Parameters:
folderId
- the primary key of the journal folder- Returns:
- the journal folder that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a journal folder with the primary key could not be found
-
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) <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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchFolder
-
fetchFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchFolder(long groupId, long parentFolderId, String name) -
fetchFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchFolder(long groupId, String name) -
fetchJournalFolder
-
fetchJournalFolderByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchJournalFolderByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchJournalFolderByUuidAndGroupId(String uuid, long groupId) Returns the journal folder matching the UUID and group.- Parameters:
uuid
- the journal folder's UUIDgroupId
- the primary key of the group- Returns:
- the matching journal folder, or
null
if a matching journal folder could not be found
-
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getCompanyFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getCompanyFolders(long companyId, int start, int end) -
getCompanyFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyFoldersCount(long companyId) -
getDDMStructures
@Transactional(propagation=SUPPORTS, readOnly=true) List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolders
-
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId) -
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int status) -
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end) -
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) -
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticlesCount
-
getFoldersAndArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId) -
getFoldersAndArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId, int status) -
getFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId) -
getFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status) -
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getInheritedWorkflowFolderId
@Transactional(propagation=SUPPORTS, readOnly=true) long getInheritedWorkflowFolderId(long folderId) throws NoSuchFolderException - Throws:
NoSuchFolderException
-
getJournalFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getJournalFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException Returns the journal folder with the primary key.- Parameters:
folderId
- the primary key of the journal folder- Returns:
- the journal folder
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a journal folder with the primary key could not be found
-
getJournalFolderByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getJournalFolderByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getJournalFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the journal folder matching the UUID and group.- Parameters:
uuid
- the journal folder's UUIDgroupId
- the primary key of the group- Returns:
- the matching journal folder
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a matching journal folder could not be found
-
getJournalFolders
@Transactional(propagation=SUPPORTS, readOnly=true) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalFolderModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid, long companyId) Returns all the journal folders matching the UUID and company.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getJournalFoldersCount()Returns the number of journal folders.- Returns:
- the number of journal folders
-
getNoAssetFolders
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getOverridedDDMStructuresFolderId
@Transactional(propagation=SUPPORTS, readOnly=true) long getOverridedDDMStructuresFolderId(long folderId) throws NoSuchFolderException - Throws:
NoSuchFolderException
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSubfolderIds
-
getUniqueFolderName
-
moveFolder
@Indexable(type=REINDEX) JournalFolder moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderFromTrash
JournalFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderToTrash
@Indexable(type=REINDEX) JournalFolder moveFolderToTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
void restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchDDMStructures
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribe
void subscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribe
void unsubscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
void updateAsset(long userId, JournalFolder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
@Indexable(type=REINDEX) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
@Indexable(type=REINDEX) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolderDDMStructures
void updateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray) throws com.liferay.portal.kernel.exception.PortalException - 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.
- Parameters:
journalFolder
- the journal folder- Returns:
- the journal folder that was updated
-
updateStatus
JournalFolder updateStatus(long userId, JournalFolder folder, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validateFolderDDMStructures
void validateFolderDDMStructures(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>
- Throws:
E extends Throwable
-