Liferay 7.0-ce-b4

com.liferay.portlet.blogs.service
Interface BlogsEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BlogsEntryServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BlogsEntryService
extends BaseService

Provides the remote service interface for BlogsEntry. 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:
BlogsEntryServiceUtil, com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl, com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl

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.
 BlogsEntry moveEntryToTrash(long entryId)
           
 void restoreEntryFromTrash(long entryId)
           
 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)
           
 

Method Detail

addEntry

@Deprecated
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)

Throws:
PortalException

addEntry

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
Throws:
PortalException

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException
Throws:
PortalException

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getCompanyEntries(long companyId,
                                                                            Date displayDate,
                                                                            int status,
                                                                            int max)
                                   throws PortalException
Throws:
PortalException

getCompanyEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getCompanyEntriesRSS(long companyId,
                                                                     Date displayDate,
                                                                     int status,
                                                                     int max,
                                                                     String type,
                                                                     double version,
                                                                     String displayStyle,
                                                                     String feedURL,
                                                                     String entryURL,
                                                                     ThemeDisplay themeDisplay)
                            throws PortalException
Throws:
PortalException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsEntry getEntry(long entryId)
                    throws PortalException
Throws:
PortalException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsEntry getEntry(long groupId,
                                                             String urlTitle)
                    throws PortalException
Throws:
PortalException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupEntries(long groupId,
                                                                          Date displayDate,
                                                                          int status,
                                                                          int max)

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupEntries(long groupId,
                                                                          Date displayDate,
                                                                          int status,
                                                                          int start,
                                                                          int end)

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupEntries(long groupId,
                                                                          int status,
                                                                          int max)

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupEntries(long groupId,
                                                                          int status,
                                                                          int start,
                                                                          int end)

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupEntries(long groupId,
                                                                          int status,
                                                                          int start,
                                                                          int end,
                                                                          OrderByComparator<BlogsEntry> obc)

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId,
                                                                  Date displayDate,
                                                                  int status)

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId,
                                                                  int status)

getGroupEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getGroupEntriesRSS(long groupId,
                                                                   Date displayDate,
                                                                   int status,
                                                                   int max,
                                                                   String type,
                                                                   double version,
                                                                   String displayStyle,
                                                                   String feedURL,
                                                                   String entryURL,
                                                                   ThemeDisplay themeDisplay)
                          throws PortalException
Throws:
PortalException

getGroupUserEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupUserEntries(long groupId,
                                                                              long userId,
                                                                              int status,
                                                                              int start,
                                                                              int end,
                                                                              OrderByComparator<BlogsEntry> obc)

getGroupUserEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupUserEntriesCount(long groupId,
                                                                      long userId,
                                                                      int status)

getGroupsEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getGroupsEntries(long companyId,
                                                                           long groupId,
                                                                           Date displayDate,
                                                                           int status,
                                                                           int max)
                                  throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getOrganizationEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BlogsEntry> getOrganizationEntries(long organizationId,
                                                                                 Date displayDate,
                                                                                 int status,
                                                                                 int max)
                                        throws PortalException
Throws:
PortalException

getOrganizationEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getOrganizationEntriesRSS(long organizationId,
                                                                          Date displayDate,
                                                                          int status,
                                                                          int max,
                                                                          String type,
                                                                          double version,
                                                                          String displayStyle,
                                                                          String feedURL,
                                                                          String entryURL,
                                                                          ThemeDisplay themeDisplay)
                                 throws PortalException
Throws:
PortalException

moveEntryToTrash

BlogsEntry moveEntryToTrash(long entryId)
                            throws PortalException
Throws:
PortalException

restoreEntryFromTrash

void restoreEntryFromTrash(long entryId)
                           throws PortalException
Throws:
PortalException

subscribe

void subscribe(long groupId)
               throws PortalException
Throws:
PortalException

unsubscribe

void unsubscribe(long groupId)
                 throws PortalException
Throws:
PortalException

updateEntry

@Deprecated
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)

Throws:
PortalException

updateEntry

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
Throws:
PortalException

Liferay 7.0-ce-b4