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<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)
           
 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)
           
 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)
           
 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

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

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

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

java.util.List<BlogsEntry> 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

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

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

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

java.util.List<BlogsEntry> 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

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

java.util.List<BlogsEntry> 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

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

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