@ProviderType
public class JournalFolderServiceUtil
extends java.lang.Object
JournalFolderServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.JournalFolderService
,
JournalFolderServiceBaseImpl
,
JournalFolderServiceImpl
Constructor and Description |
---|
JournalFolderServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static JournalFolder |
addFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFolder(long folderId) |
static void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
static JournalFolder |
fetchFolder(long folderId) |
static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
getDDMStructures(long[] groupIds,
long folderId,
int restrictionType) |
static JournalFolder |
getFolder(long folderId) |
static java.util.List<java.lang.Long> |
getFolderIds(long groupId,
long folderId) |
static java.util.List<JournalFolder> |
getFolders(long groupId) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
static java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
static java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
static 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) |
static int |
getFoldersAndArticlesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status) |
static int |
getFoldersAndArticlesCount(long groupId,
long folderId) |
static int |
getFoldersAndArticlesCount(long groupId,
long folderId,
int status) |
static int |
getFoldersAndArticlesCount(long groupId,
long userId,
long folderId,
int status) |
static int |
getFoldersCount(long groupId,
long parentFolderId) |
static int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static JournalFolderService |
getService() |
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of 3.3.0, replaced by
getSubfolderIds(List, long,
long, boolean) |
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
static java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
static JournalFolder |
moveFolder(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalFolder |
moveFolderFromTrash(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static JournalFolder |
moveFolderToTrash(long folderId) |
static void |
restoreFolderFromTrash(long folderId) |
static void |
subscribe(long groupId,
long folderId) |
static void |
unsubscribe(long groupId,
long folderId) |
static 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) |
static 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) |
public static 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
public static void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<java.lang.Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<JournalFolder> getFolders(long groupId)
public static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId)
public static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
public static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
public static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
public static java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
public static java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
public static 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)
public static int getFoldersAndArticlesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
public static int getFoldersAndArticlesCount(long groupId, long folderId)
public static int getFoldersAndArticlesCount(long groupId, long folderId, int status)
public static int getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status)
public static int getFoldersCount(long groupId, long parentFolderId)
public static int getFoldersCount(long groupId, long parentFolderId, int status)
public static java.lang.String getOSGiServiceIdentifier()
@Deprecated public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds(List, long,
long, boolean)
public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId, boolean recurse)
public static java.util.List<java.lang.Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
public static 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
public static 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
public static JournalFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static 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
public static JournalFolderService getService()