Liferay 6.2.0

com.liferay.portlet.blogs.service
Interface BlogsEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BlogsEntryServiceBaseImpl, BlogsEntryServiceImpl, BlogsEntryServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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, BlogsEntryServiceBaseImpl, BlogsEntryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  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)
           
abstract  void deleteEntry(long entryId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int max)
           
abstract  String getCompanyEntriesRSS(long companyId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
abstract  BlogsEntry getEntry(long entryId)
           
abstract  BlogsEntry getEntry(long groupId, String urlTitle)
           
abstract  List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int max)
           
abstract  List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end)
           
abstract  List<BlogsEntry> getGroupEntries(long groupId, int status, int max)
           
abstract  List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end)
           
abstract  int getGroupEntriesCount(long groupId, Date displayDate, int status)
           
abstract  int getGroupEntriesCount(long groupId, int status)
           
abstract  String getGroupEntriesRSS(long groupId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
abstract  List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max)
           
abstract  List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int max)
           
abstract  String getOrganizationEntriesRSS(long organizationId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
abstract  BlogsEntry moveEntryToTrash(long entryId)
           
abstract  void restoreEntryFromTrash(long entryId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void subscribe(long groupId)
           
abstract  void unsubscribe(long groupId)
           
abstract  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)
           
 

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

addEntry

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

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyEntries

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

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

getEntry

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

getEntry

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

getGroupEntries

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

getGroupEntries

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

getGroupEntries

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

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

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

getGroupsEntries

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

getOrganizationEntries

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

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

moveEntryToTrash

BlogsEntry moveEntryToTrash(long entryId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

restoreEntryFromTrash

void restoreEntryFromTrash(long entryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

subscribe

void subscribe(long groupId)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

unsubscribe

void unsubscribe(long groupId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateEntry

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

Liferay 6.2.0