Liferay 7.0-ce-b4

com.liferay.portlet.blogs.service
Class BlogsEntryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.blogs.service.BlogsEntryServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<BlogsEntryService>, BlogsEntryService

@ProviderType
public class BlogsEntryServiceWrapper
extends Object
implements BlogsEntryService, ServiceWrapper<BlogsEntryService>

Provides a wrapper for BlogsEntryService.

See Also:
BlogsEntryService

Constructor Summary
BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService)
           
 
Method Summary
 BlogsEntry addEntry(String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by addEntry(String, String, String, String, int, int, int, int, int, boolean, boolean, String[], String, ImageSelector, ImageSelector, ServiceContext)
 BlogsEntry addEntry(String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
 List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int max)
           
 String getCompanyEntriesRSS(long companyId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry getEntry(long entryId)
           
 BlogsEntry getEntry(long groupId, String urlTitle)
           
 List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int max)
           
 List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end)
           
 List<BlogsEntry> getGroupEntries(long groupId, int status, int max)
           
 List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end)
           
 List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, OrderByComparator<BlogsEntry> obc)
           
 int getGroupEntriesCount(long groupId, Date displayDate, int status)
           
 int getGroupEntriesCount(long groupId, int status)
           
 String getGroupEntriesRSS(long groupId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max)
           
 List<BlogsEntry> getGroupUserEntries(long groupId, long userId, int status, int start, int end, OrderByComparator<BlogsEntry> obc)
           
 int getGroupUserEntriesCount(long groupId, long userId, int status)
           
 List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int max)
           
 String getOrganizationEntriesRSS(long organizationId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 BlogsEntryService getWrappedService()
           
 BlogsEntry moveEntryToTrash(long entryId)
           
 void restoreEntryFromTrash(long entryId)
           
 void setWrappedService(BlogsEntryService blogsEntryService)
           
 void subscribe(long groupId)
           
 void unsubscribe(long groupId)
           
 BlogsEntry updateEntry(long entryId, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by updateEntry(long, String, String, String, String, int, int, int, int, int, boolean, boolean, String[], String, ImageSelector, ImageSelector, ServiceContext)
 BlogsEntry updateEntry(long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsEntryServiceWrapper

public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService)
Method Detail

addEntry

@Deprecated
public BlogsEntry addEntry(String title,
                                      String description,
                                      String content,
                                      int displayDateMonth,
                                      int displayDateDay,
                                      int displayDateYear,
                                      int displayDateHour,
                                      int displayDateMinute,
                                      boolean allowPingbacks,
                                      boolean allowTrackbacks,
                                      String[] trackbacks,
                                      boolean smallImage,
                                      String smallImageURL,
                                      String smallImageFileName,
                                      InputStream smallImageInputStream,
                                      ServiceContext serviceContext)
                    throws PortalException
Deprecated. As of 7.0.0, replaced by addEntry(String, String, String, String, int, int, int, int, int, boolean, boolean, String[], String, ImageSelector, ImageSelector, ServiceContext)

Specified by:
addEntry in interface BlogsEntryService
Throws:
PortalException

addEntry

public BlogsEntry addEntry(String title,
                           String subtitle,
                           String description,
                           String content,
                           int displayDateMonth,
                           int displayDateDay,
                           int displayDateYear,
                           int displayDateHour,
                           int displayDateMinute,
                           boolean allowPingbacks,
                           boolean allowTrackbacks,
                           String[] trackbacks,
                           String coverImageCaption,
                           ImageSelector coverImageImageSelector,
                           ImageSelector smallImageImageSelector,
                           ServiceContext serviceContext)
                    throws PortalException
Specified by:
addEntry in interface BlogsEntryService
Throws:
PortalException

deleteEntry

public void deleteEntry(long entryId)
                 throws PortalException
Specified by:
deleteEntry in interface BlogsEntryService
Throws:
PortalException

getCompanyEntries

public List<BlogsEntry> getCompanyEntries(long companyId,
                                          Date displayDate,
                                          int status,
                                          int max)
                                   throws PortalException
Specified by:
getCompanyEntries in interface BlogsEntryService
Throws:
PortalException

getCompanyEntriesRSS

public String getCompanyEntriesRSS(long companyId,
                                   Date displayDate,
                                   int status,
                                   int max,
                                   String type,
                                   double version,
                                   String displayStyle,
                                   String feedURL,
                                   String entryURL,
                                   ThemeDisplay themeDisplay)
                            throws PortalException
Specified by:
getCompanyEntriesRSS in interface BlogsEntryService
Throws:
PortalException

getEntry

public BlogsEntry getEntry(long entryId)
                    throws PortalException
Specified by:
getEntry in interface BlogsEntryService
Throws:
PortalException

getEntry

public BlogsEntry getEntry(long groupId,
                           String urlTitle)
                    throws PortalException
Specified by:
getEntry in interface BlogsEntryService
Throws:
PortalException

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        Date displayDate,
                                        int status,
                                        int max)
Specified by:
getGroupEntries in interface BlogsEntryService

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        Date displayDate,
                                        int status,
                                        int start,
                                        int end)
Specified by:
getGroupEntries in interface BlogsEntryService

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        int status,
                                        int max)
Specified by:
getGroupEntries in interface BlogsEntryService

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        int status,
                                        int start,
                                        int end)
Specified by:
getGroupEntries in interface BlogsEntryService

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator<BlogsEntry> obc)
Specified by:
getGroupEntries in interface BlogsEntryService

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                Date displayDate,
                                int status)
Specified by:
getGroupEntriesCount in interface BlogsEntryService

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                int status)
Specified by:
getGroupEntriesCount in interface BlogsEntryService

getGroupEntriesRSS

public String getGroupEntriesRSS(long groupId,
                                 Date displayDate,
                                 int status,
                                 int max,
                                 String type,
                                 double version,
                                 String displayStyle,
                                 String feedURL,
                                 String entryURL,
                                 ThemeDisplay themeDisplay)
                          throws PortalException
Specified by:
getGroupEntriesRSS in interface BlogsEntryService
Throws:
PortalException

getGroupUserEntries

public List<BlogsEntry> getGroupUserEntries(long groupId,
                                            long userId,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator<BlogsEntry> obc)
Specified by:
getGroupUserEntries in interface BlogsEntryService

getGroupUserEntriesCount

public int getGroupUserEntriesCount(long groupId,
                                    long userId,
                                    int status)
Specified by:
getGroupUserEntriesCount in interface BlogsEntryService

getGroupsEntries

public List<BlogsEntry> getGroupsEntries(long companyId,
                                         long groupId,
                                         Date displayDate,
                                         int status,
                                         int max)
                                  throws PortalException
Specified by:
getGroupsEntries in interface BlogsEntryService
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface BlogsEntryService
Returns:
the OSGi service identifier

getOrganizationEntries

public List<BlogsEntry> getOrganizationEntries(long organizationId,
                                               Date displayDate,
                                               int status,
                                               int max)
                                        throws PortalException
Specified by:
getOrganizationEntries in interface BlogsEntryService
Throws:
PortalException

getOrganizationEntriesRSS

public String getOrganizationEntriesRSS(long organizationId,
                                        Date displayDate,
                                        int status,
                                        int max,
                                        String type,
                                        double version,
                                        String displayStyle,
                                        String feedURL,
                                        String entryURL,
                                        ThemeDisplay themeDisplay)
                                 throws PortalException
Specified by:
getOrganizationEntriesRSS in interface BlogsEntryService
Throws:
PortalException

moveEntryToTrash

public BlogsEntry moveEntryToTrash(long entryId)
                            throws PortalException
Specified by:
moveEntryToTrash in interface BlogsEntryService
Throws:
PortalException

restoreEntryFromTrash

public void restoreEntryFromTrash(long entryId)
                           throws PortalException
Specified by:
restoreEntryFromTrash in interface BlogsEntryService
Throws:
PortalException

subscribe

public void subscribe(long groupId)
               throws PortalException
Specified by:
subscribe in interface BlogsEntryService
Throws:
PortalException

unsubscribe

public void unsubscribe(long groupId)
                 throws PortalException
Specified by:
unsubscribe in interface BlogsEntryService
Throws:
PortalException

updateEntry

@Deprecated
public BlogsEntry updateEntry(long entryId,
                                         String title,
                                         String description,
                                         String content,
                                         int displayDateMonth,
                                         int displayDateDay,
                                         int displayDateYear,
                                         int displayDateHour,
                                         int displayDateMinute,
                                         boolean allowPingbacks,
                                         boolean allowTrackbacks,
                                         String[] trackbacks,
                                         boolean smallImage,
                                         String smallImageURL,
                                         String smallImageFileName,
                                         InputStream smallImageInputStream,
                                         ServiceContext serviceContext)
                       throws PortalException
Deprecated. As of 7.0.0, replaced by updateEntry(long, String, String, String, String, int, int, int, int, int, boolean, boolean, String[], String, ImageSelector, ImageSelector, ServiceContext)

Specified by:
updateEntry in interface BlogsEntryService
Throws:
PortalException

updateEntry

public BlogsEntry updateEntry(long entryId,
                              String title,
                              String subtitle,
                              String description,
                              String content,
                              int displayDateMonth,
                              int displayDateDay,
                              int displayDateYear,
                              int displayDateHour,
                              int displayDateMinute,
                              boolean allowPingbacks,
                              boolean allowTrackbacks,
                              String[] trackbacks,
                              String coverImageCaption,
                              ImageSelector coverImageImageSelector,
                              ImageSelector smallImageImageSelector,
                              ServiceContext serviceContext)
                       throws PortalException
Specified by:
updateEntry in interface BlogsEntryService
Throws:
PortalException

getWrappedService

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

setWrappedService

public void setWrappedService(BlogsEntryService blogsEntryService)
Specified by:
setWrappedService in interface ServiceWrapper<BlogsEntryService>

Liferay 7.0-ce-b4