Liferay 7.0-ce-m6

com.liferay.portlet.journal.service
Class JournalFolderServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalFolderServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<JournalFolderService>, JournalFolderService

@ProviderType
public class JournalFolderServiceWrapper
extends Object
implements JournalFolderService, ServiceWrapper<JournalFolderService>

Provides a wrapper for JournalFolderService.

See Also:
JournalFolderService

Constructor Summary
JournalFolderServiceWrapper(JournalFolderService journalFolderService)
           
 
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.
 List<DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType)
           
 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)
           
 int getFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status)
           
 int getFoldersAndArticlesCount(long groupId, long folderId)
           
 int getFoldersAndArticlesCount(long groupId, 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)
           
 JournalFolderService getWrappedJournalFolderService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 JournalFolderService getWrappedService()
           
 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.
 void setWrappedJournalFolderService(JournalFolderService journalFolderService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.journal.service.JournalFolderService)
 void setWrappedService(JournalFolderService journalFolderService)
           
 void subscribe(long groupId, long folderId)
           
 void unsubscribe(long groupId, long folderId)
           
 JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFolderServiceWrapper

public JournalFolderServiceWrapper(JournalFolderService journalFolderService)
Method Detail

addFolder

public JournalFolder addFolder(long groupId,
                               long parentFolderId,
                               String name,
                               String description,
                               ServiceContext serviceContext)
                        throws PortalException
Specified by:
addFolder in interface JournalFolderService
Throws:
PortalException

deleteFolder

public void deleteFolder(long folderId)
                  throws PortalException
Specified by:
deleteFolder in interface JournalFolderService
Throws:
PortalException

deleteFolder

public void deleteFolder(long folderId,
                         boolean includeTrashedEntries)
                  throws PortalException
Specified by:
deleteFolder in interface JournalFolderService
Throws:
PortalException

fetchFolder

public JournalFolder fetchFolder(long folderId)
                          throws PortalException
Specified by:
fetchFolder in interface JournalFolderService
Throws:
PortalException

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface JournalFolderService
Returns:
the Spring bean ID for this bean

getDDMStructures

public List<DDMStructure> getDDMStructures(long[] groupIds,
                                           long folderId,
                                           int restrictionType)
                                    throws PortalException
Specified by:
getDDMStructures in interface JournalFolderService
Throws:
PortalException

getFolder

public JournalFolder getFolder(long folderId)
                        throws PortalException
Specified by:
getFolder in interface JournalFolderService
Throws:
PortalException

getFolderIds

public List<Long> getFolderIds(long groupId,
                               long folderId)
                        throws PortalException
Specified by:
getFolderIds in interface JournalFolderService
Throws:
PortalException

getFolders

public List<JournalFolder> getFolders(long groupId)
Specified by:
getFolders in interface JournalFolderService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId)
Specified by:
getFolders in interface JournalFolderService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int start,
                                      int end)
Specified by:
getFolders in interface JournalFolderService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status)
Specified by:
getFolders in interface JournalFolderService

getFolders

public List<JournalFolder> getFolders(long groupId,
                                      long parentFolderId,
                                      int status,
                                      int start,
                                      int end)
Specified by:
getFolders in interface JournalFolderService

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int start,
                                          int end,
                                          OrderByComparator<?> obc)
Specified by:
getFoldersAndArticles in interface JournalFolderService

getFoldersAndArticles

public List<Object> getFoldersAndArticles(long groupId,
                                          long folderId,
                                          int status,
                                          int start,
                                          int end,
                                          OrderByComparator<?> obc)
Specified by:
getFoldersAndArticles in interface JournalFolderService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      long folderId,
                                      int status)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderService

getFoldersAndArticlesCount

public int getFoldersAndArticlesCount(long groupId,
                                      List<Long> folderIds,
                                      int status)
Specified by:
getFoldersAndArticlesCount in interface JournalFolderService

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
Specified by:
getFoldersCount in interface JournalFolderService

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status)
Specified by:
getFoldersCount in interface JournalFolderService

getSubfolderIds

@Deprecated
public void getSubfolderIds(List<Long> folderIds,
                                       long groupId,
                                       long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)

Specified by:
getSubfolderIds in interface JournalFolderService

getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId,
                            boolean recurse)
Specified by:
getSubfolderIds in interface JournalFolderService

getSubfolderIds

public List<Long> getSubfolderIds(long groupId,
                                  long folderId,
                                  boolean recurse)
Specified by:
getSubfolderIds in interface JournalFolderService

moveFolder

public JournalFolder moveFolder(long folderId,
                                long parentFolderId,
                                ServiceContext serviceContext)
                         throws PortalException
Specified by:
moveFolder in interface JournalFolderService
Throws:
PortalException

moveFolderFromTrash

public JournalFolder moveFolderFromTrash(long folderId,
                                         long parentFolderId,
                                         ServiceContext serviceContext)
                                  throws PortalException
Specified by:
moveFolderFromTrash in interface JournalFolderService
Throws:
PortalException

moveFolderToTrash

public JournalFolder moveFolderToTrash(long folderId)
                                throws PortalException
Specified by:
moveFolderToTrash in interface JournalFolderService
Throws:
PortalException

restoreFolderFromTrash

public void restoreFolderFromTrash(long folderId)
                            throws PortalException
Specified by:
restoreFolderFromTrash in interface JournalFolderService
Throws:
PortalException

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface JournalFolderService
Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribe

public void subscribe(long groupId,
                      long folderId)
               throws PortalException
Specified by:
subscribe in interface JournalFolderService
Throws:
PortalException

unsubscribe

public void unsubscribe(long groupId,
                        long folderId)
                 throws PortalException
Specified by:
unsubscribe in interface JournalFolderService
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long groupId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  long[] ddmStructureIds,
                                  int restrictionType,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Specified by:
updateFolder in interface JournalFolderService
Throws:
PortalException

updateFolder

public JournalFolder updateFolder(long groupId,
                                  long folderId,
                                  long parentFolderId,
                                  String name,
                                  String description,
                                  boolean mergeWithParentFolder,
                                  ServiceContext serviceContext)
                           throws PortalException
Specified by:
updateFolder in interface JournalFolderService
Throws:
PortalException

getWrappedJournalFolderService

@Deprecated
public JournalFolderService getWrappedJournalFolderService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedJournalFolderService

@Deprecated
public void setWrappedJournalFolderService(JournalFolderService journalFolderService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.journal.service.JournalFolderService)


getWrappedService

public JournalFolderService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<JournalFolderService>

setWrappedService

public void setWrappedService(JournalFolderService journalFolderService)
Specified by:
setWrappedService in interface ServiceWrapper<JournalFolderService>

Liferay 7.0-ce-m6