Liferay 6.2-ce-ga5

com.liferay.portlet.blogs.service
Interface BlogsEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
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, 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)
           
 void deleteEntry(long entryId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 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> 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)
           
 BlogsEntry moveEntryToTrash(long entryId)
           
 void restoreEntryFromTrash(long entryId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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)
           
 

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-ce-ga5