Liferay 6.0.5

com.liferay.portlet.blogs.service
Interface BlogsEntryService

All Known Implementing Classes:
BlogsEntryServiceBaseImpl, BlogsEntryServiceImpl, BlogsEntryServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BlogsEntryService

The interface for the blogs entry remote service.

Never modify or reference this interface directly. Always use BlogsEntryServiceUtil to access the blogs entry remote service. Add custom service methods to BlogsEntryServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. 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 is generated.

Method Summary
 BlogsEntry addEntry(String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
 List<BlogsEntry> getCompanyEntries(long companyId, int status, int max)
           
 String getCompanyEntriesRSS(long companyId, 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, int status, int max)
           
 String getGroupEntriesRSS(long groupId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 List<BlogsEntry> getGroupsEntries(long companyId, long groupId, int status, int max)
           
 List<BlogsEntry> getOrganizationEntries(long organizationId, int status, int max)
           
 String getOrganizationEntriesRSS(long organizationId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry updateEntry(long entryId, String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ServiceContext serviceContext)
           
 

Method Detail

addEntry

BlogsEntry addEntry(String title,
                    String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    boolean allowPingbacks,
                    boolean allowTrackbacks,
                    String[] trackbacks,
                    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,
                                                                            int status,
                                                                            int max)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getCompanyEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getCompanyEntriesRSS(long companyId,
                                                                     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,
                                                                          int status,
                                                                          int max)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getGroupEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getGroupEntriesRSS(long groupId,
                                                                   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,
                                                                           int status,
                                                                           int max)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getOrganizationEntries

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

getOrganizationEntriesRSS

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

updateEntry

BlogsEntry updateEntry(long entryId,
                       String title,
                       String content,
                       int displayDateMonth,
                       int displayDateDay,
                       int displayDateYear,
                       int displayDateHour,
                       int displayDateMinute,
                       boolean allowPingbacks,
                       boolean allowTrackbacks,
                       String[] trackbacks,
                       ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5