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, long categoryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, ThemeDisplay themeDisplay, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 BlogsEntry addEntry(long plid, long categoryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, ThemeDisplay themeDisplay, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteEntry(long entryId)
           
 java.lang.String getCategoryBlogsRSS(long categoryId, int max, java.lang.String type, double version, java.lang.String feedURL, java.lang.String entryURL)
           
 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 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 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 feedURL, java.lang.String entryURL)
           
 BlogsEntry updateEntry(long entryId, long categoryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, ThemeDisplay themeDisplay, java.lang.String[] tagsEntries)
           
 

Method Detail

addEntry

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

addEntry

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

deleteEntry

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

getCategoryBlogsRSS

public java.lang.String getCategoryBlogsRSS(long categoryId,
                                            int max,
                                            java.lang.String type,
                                            double version,
                                            java.lang.String feedURL,
                                            java.lang.String entryURL)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.PortalException,
                                            java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

getCompanyEntries

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

getCompanyEntriesRSS

public java.lang.String getCompanyEntriesRSS(long companyId,
                                             int max,
                                             java.lang.String type,
                                             double version,
                                             java.lang.String feedURL,
                                             java.lang.String entryURL)
                                      throws com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException,
                                             java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

getEntry

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

getEntry

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

getGroupEntries

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

getGroupEntriesRSS

public java.lang.String getGroupEntriesRSS(long groupId,
                                           int max,
                                           java.lang.String type,
                                           double version,
                                           java.lang.String feedURL,
                                           java.lang.String entryURL)
                                    throws com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

getOrganizationEntries

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

getOrganizationEntriesRSS

public java.lang.String getOrganizationEntriesRSS(long organizationId,
                                                  int max,
                                                  java.lang.String type,
                                                  double version,
                                                  java.lang.String feedURL,
                                                  java.lang.String entryURL)
                                           throws com.liferay.portal.SystemException,
                                                  com.liferay.portal.PortalException,
                                                  java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

updateEntry

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