Package com.liferay.journal.service
Interface JournalFolderService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
JournalFolderServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface JournalFolderService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for JournalFolder. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddFolder
(String externalReferenceCode, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteFolder
(long folderId) void
deleteFolder
(long folderId, boolean includeTrashedEntries) fetchFolder
(long folderId) 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) getFolder
(long folderId) getFolderByExternalReferenceCode
(long groupId, String externalReferenceCode) getFolderIds
(long groupId, 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, 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) getFoldersAndArticles
(long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, int status, Locale locale, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, long ddmStructureId, int status, Locale locale, int[] excludedStatuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, long ddmStructureId, int status, Locale locale, 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, long userId, long folderId, int status) int
getFoldersAndArticlesCount
(long groupId, long userId, long folderId, long ddmStructureId, int status) int
getFoldersAndArticlesCount
(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, 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) Returns the OSGi service identifier.getSubfolderIds
(long groupId, long folderId, boolean recurse) void
getSubfolderIds
(List<Long> folderIds, long groupId, long folderId, boolean recurse) moveFolder
(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) moveFolderFromTrash
(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) moveFolderToTrash
(long folderId) void
restoreFolderFromTrash
(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) int
searchDDMStructuresCount
(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) void
subscribe
(long groupId, long folderId) void
unsubscribe
(long groupId, long folderId) updateFolder
(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateFolder
(long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addFolder
JournalFolder addFolder(String externalReferenceCode, 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
-
deleteFolder
void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchFolder(long folderId) 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) 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
-
getFolder
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderIds
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getFolderIds(long groupId, 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
-
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) -
getFoldersAndArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status) -
getFoldersAndArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int status) -
getFoldersAndArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, 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) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSubfolderIds
-
getSubfolderIds
-
moveFolder
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 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
JournalFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
void restoreFolderFromTrash(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
-
searchDDMStructuresCount
@Transactional(propagation=SUPPORTS, readOnly=true) int searchDDMStructuresCount(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribe
void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribe
void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
JournalFolder updateFolder(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
JournalFolder updateFolder(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
-