com.liferay.portlet.blogs.service
Class BlogsEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.blogs.service.BlogsEntryServiceUtil

public class BlogsEntryServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.blogs.service.BlogsEntryService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
BlogsEntryService

Constructor Summary
BlogsEntryServiceUtil()
           
 
Method Summary
static BlogsEntry addEntry(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, ServiceContext serviceContext)
           
static void deleteEntry(long entryId)
           
static java.util.List<BlogsEntry> getCompanyEntries(long companyId, int max)
           
static 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)
           
static BlogsEntry getEntry(long entryId)
           
static BlogsEntry getEntry(long groupId, java.lang.String urlTitle)
           
static java.util.List<BlogsEntry> getGroupEntries(long groupId, int max)
           
static 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)
           
static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, int max)
           
static 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)
           
static BlogsEntryService getService()
           
 void setService(BlogsEntryService service)
           
static 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, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsEntryServiceUtil

public BlogsEntryServiceUtil()
Method Detail

addEntry

public static BlogsEntry addEntry(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,
                                  ServiceContext serviceContext)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

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

getCompanyEntries

public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
                                                           int max)
                                                    throws com.liferay.portal.PortalException,
                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyEntriesRSS

public static 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 com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

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

getEntry

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

getGroupEntries

public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
                                                         int max)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupEntriesRSS

public static 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 com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntries

public static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
                                                                int max)
                                                         throws com.liferay.portal.PortalException,
                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntriesRSS

public static 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 com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

public static 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,
                                     ServiceContext serviceContext)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static BlogsEntryService getService()

setService

public void setService(BlogsEntryService service)