com.liferay.portlet.blogs.service
Interface BlogsEntryService


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

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
BlogsEntryServiceUtil

Method Summary
 BlogsEntry addEntry(long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions, ThemeDisplay themeDisplay)
           
 BlogsEntry addEntry(long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, ThemeDisplay themeDisplay)
           
 void deleteEntry(long entryId)
           
 java.util.List<BlogsEntry> getCompanyEntries(long companyId, int max)
           
 java.lang.String getCompanyEntriesRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry getEntry(long entryId)
           
 BlogsEntry getEntry(long groupId, java.lang.String urlTitle)
           
 java.util.List<BlogsEntry> getGroupEntries(long groupId, int max)
           
 java.lang.String getGroupEntriesRSS(long groupId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, int max)
           
 java.lang.String getOrganizationEntriesRSS(long organizationId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry updateEntry(long entryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks, java.lang.String[] tagsEntries, ThemeDisplay themeDisplay)
           
 

Method Detail

addEntry

BlogsEntry addEntry(long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    boolean draft,
                    boolean allowTrackbacks,
                    java.lang.String[] trackbacks,
                    java.lang.String[] tagsEntries,
                    boolean addCommunityPermissions,
                    boolean addGuestPermissions,
                    ThemeDisplay themeDisplay)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntry

BlogsEntry addEntry(long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    boolean draft,
                    boolean allowTrackbacks,
                    java.lang.String[] trackbacks,
                    java.lang.String[] tagsEntries,
                    java.lang.String[] communityPermissions,
                    java.lang.String[] guestPermissions,
                    ThemeDisplay themeDisplay)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

void deleteEntry(long entryId)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsEntry> getCompanyEntries(long companyId,
                                                           int max)
                                             throws java.rmi.RemoteException,
                                                    com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getCompanyEntriesRSS(long companyId,
                                                    int max,
                                                    java.lang.String type,
                                                    double version,
                                                    java.lang.String displayStyle,
                                                    java.lang.String feedURL,
                                                    java.lang.String entryURL,
                                                    ThemeDisplay themeDisplay)
                                      throws java.rmi.RemoteException,
                                             com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsEntry getEntry(long entryId)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BlogsEntry getEntry(long groupId,
                                  java.lang.String urlTitle)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsEntry> getGroupEntries(long groupId,
                                                         int max)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getGroupEntriesRSS(long groupId,
                                                  int max,
                                                  java.lang.String type,
                                                  double version,
                                                  java.lang.String displayStyle,
                                                  java.lang.String feedURL,
                                                  java.lang.String entryURL,
                                                  ThemeDisplay themeDisplay)
                                    throws java.rmi.RemoteException,
                                           com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
                                                                int max)
                                                  throws java.rmi.RemoteException,
                                                         com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntriesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getOrganizationEntriesRSS(long organizationId,
                                                         int max,
                                                         java.lang.String type,
                                                         double version,
                                                         java.lang.String displayStyle,
                                                         java.lang.String feedURL,
                                                         java.lang.String entryURL,
                                                         ThemeDisplay themeDisplay)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

BlogsEntry updateEntry(long entryId,
                       java.lang.String title,
                       java.lang.String content,
                       int displayDateMonth,
                       int displayDateDay,
                       int displayDateYear,
                       int displayDateHour,
                       int displayDateMinute,
                       boolean draft,
                       boolean allowTrackbacks,
                       java.lang.String[] trackbacks,
                       java.lang.String[] tagsEntries,
                       ThemeDisplay themeDisplay)
                       throws java.rmi.RemoteException,
                              com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException