@AccessControlled
@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
JournalFolderServiceUtil
,
JournalFolderServiceBaseImpl
,
JournalFolderServiceImpl
Modifier and Type | Method and Description |
---|---|
JournalFolder |
addFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
JournalFolder |
fetchFolder(long folderId) |
java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
getDDMStructures(long[] groupIds,
long folderId,
int restrictionType) |
JournalFolder |
getFolder(long folderId) |
java.util.List<java.lang.Long> |
getFolderIds(long groupId,
long folderId) |
java.util.List<JournalFolder> |
getFolders(long groupId) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long userId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
int |
getFoldersAndArticlesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status) |
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 |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSubfolderIds(List, long, long, boolean) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
JournalFolder |
moveFolder(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderFromTrash(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderToTrash(long folderId) |
void |
restoreFolderFromTrash(long folderId) |
void |
subscribe(long groupId,
long folderId) |
void |
unsubscribe(long groupId,
long folderId) |
JournalFolder |
updateFolder(long groupId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
updateFolder(long groupId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
long[] ddmStructureIds,
int restrictionType,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder addFolder(long groupId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<JournalFolder> getFolders(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status)
java.lang.String getOSGiServiceIdentifier()
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds(List, long, long, boolean)
@Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId, boolean recurse)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
JournalFolder moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
JournalFolder moveFolderFromTrash(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
JournalFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException