com.liferay.portlet.blogs.service
Interface BlogsEntryService


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:
BlogsEntryServiceFactory, 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, 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, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, ThemeDisplay themeDisplay)
           
 void deleteEntry(long entryId)
           
 java.util.List 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)
           
 BlogsEntry getEntry(long entryId)
           
 BlogsEntry getEntry(long groupId, java.lang.String urlTitle)
           
 java.util.List 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)
           
 java.util.List 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)
           
 BlogsEntry updateEntry(long entryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, ThemeDisplay themeDisplay)
           
 

Method Detail

addEntry

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

addEntry

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

deleteEntry

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

getCompanyEntries

public java.util.List getCompanyEntries(long companyId,
                                        int max)
                                 throws java.rmi.RemoteException,
                                        com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyEntriesRSS

public 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)
                                      throws java.rmi.RemoteException,
                                             com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getEntry

public BlogsEntry getEntry(long entryId)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getEntry

public BlogsEntry getEntry(long groupId,
                           java.lang.String urlTitle)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getGroupEntries

public java.util.List getGroupEntries(long groupId,
                                      int max)
                               throws java.rmi.RemoteException,
                                      com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getGroupEntriesRSS

public 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)
                                    throws java.rmi.RemoteException,
                                           com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getOrganizationEntries

public java.util.List getOrganizationEntries(long organizationId,
                                             int max)
                                      throws java.rmi.RemoteException,
                                             com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getOrganizationEntriesRSS

public 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)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.SystemException,
                                                  com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateEntry

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