Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service
Interface JournalFolderService

All Superinterfaces:
BaseService
All Known Implementing Classes:
JournalFolderServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface JournalFolderService
extends 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:
JournalFolderServiceUtil, com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl, com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl

Method Summary
 JournalFolder addFolder(long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long folderId, boolean includeTrashedEntries)
           
 JournalFolder fetchFolder(long folderId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 JournalFolder getFolder(long folderId)
           
 List<Long> getFolderIds(long groupId, long folderId)
           
 List<JournalFolder> getFolders(long groupId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
 List<Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, OrderByComparator obc)
           
 List<Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 List<Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, int start, int end, OrderByComparator obc)
           
 int getFoldersAndArticlesCount(long groupId, List<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)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
 List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
 JournalFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderFromTrash(long folderId, long parentFolderId, ServiceContext serviceContext)
           
 JournalFolder moveFolderToTrash(long folderId)
           
 void restoreFolderFromTrash(long folderId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 JournalFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFolder

JournalFolder addFolder(long groupId,
                        long parentFolderId,
                        String name,
                        String description,
                        ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(long folderId,
                  boolean includeTrashedEntries)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

fetchFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalFolder fetchFolder(long folderId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalFolder getFolder(long folderId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getFolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Long> getFolderIds(long groupId,
                                                                 long folderId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalFolder> getFolders(long groupId)
                               throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalFolder> getFolders(long groupId,
                                                                        long parentFolderId)
                               throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalFolder> getFolders(long groupId,
                                                                        long parentFolderId,
                                                                        int status)
                               throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalFolder> getFolders(long groupId,
                                                                        long parentFolderId,
                                                                        int start,
                                                                        int end)
                               throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalFolder> getFolders(long groupId,
                                                                        long parentFolderId,
                                                                        int status,
                                                                        int start,
                                                                        int end)
                               throws SystemException
Throws:
SystemException

getFoldersAndArticles

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndArticles(long groupId,
                                                                            long folderId,
                                                                            int status,
                                                                            int start,
                                                                            int end,
                                                                            OrderByComparator obc)
                                   throws SystemException
Throws:
SystemException

getFoldersAndArticles

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndArticles(long groupId,
                                                                            long folderId,
                                                                            int start,
                                                                            int end,
                                                                            OrderByComparator obc)
                                   throws SystemException
Throws:
SystemException

getFoldersAndArticles

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndArticles(long groupId,
                                                                            long userId,
                                                                            long folderId,
                                                                            int status,
                                                                            int start,
                                                                            int end,
                                                                            OrderByComparator obc)
                                   throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndArticlesCount(long groupId,
                                                                        List<Long> folderIds,
                                                                        int status)
                               throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndArticlesCount(long groupId,
                                                                        long folderId)
                               throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndArticlesCount(long groupId,
                                                                        long folderId,
                                                                        int status)
                               throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndArticlesCount(long groupId,
                                                                        long userId,
                                                                        long folderId,
                                                                        int status)
                               throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId)
                    throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId,
                                                             int status)
                    throws SystemException
Throws:
SystemException

getSubfolderIds

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                                         long groupId,
                                                                         long folderId)
                     throws SystemException
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)

Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                              long groupId,
                                                              long folderId,
                                                              boolean recurse)
                     throws SystemException
Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Long> getSubfolderIds(long groupId,
                                                                    long folderId,
                                                                    boolean recurse)
                           throws SystemException
Throws:
SystemException

moveFolder

JournalFolder moveFolder(long folderId,
                         long parentFolderId,
                         ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

moveFolderFromTrash

JournalFolder moveFolderFromTrash(long folderId,
                                  long parentFolderId,
                                  ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

moveFolderToTrash

JournalFolder moveFolderToTrash(long folderId)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

restoreFolderFromTrash

void restoreFolderFromTrash(long folderId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updateFolder

JournalFolder updateFolder(long folderId,
                           long parentFolderId,
                           String name,
                           String description,
                           boolean mergeWithParentFolder,
                           ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5