Liferay 6.0.4

com.liferay.portlet.blogs.service
Class BlogsEntryServiceUtil

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

public class BlogsEntryServiceUtil
extends Object

This class provides static methods for the 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.

See Also:
BlogsEntryService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
BlogsEntryServiceUtil()
           
 
Method Summary
static BlogsEntry addEntry(String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ServiceContext serviceContext)
           
static void deleteEntry(long entryId)
           
static List<BlogsEntry> getCompanyEntries(long companyId, int status, int max)
           
static String getCompanyEntriesRSS(long companyId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
static BlogsEntry getEntry(long entryId)
           
static BlogsEntry getEntry(long groupId, String urlTitle)
           
static List<BlogsEntry> getGroupEntries(long groupId, int status, int max)
           
static String getGroupEntriesRSS(long groupId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
static List<BlogsEntry> getGroupsEntries(long companyId, long groupId, int status, int max)
           
static List<BlogsEntry> getOrganizationEntries(long organizationId, int status, int max)
           
static String getOrganizationEntriesRSS(long organizationId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
static BlogsEntryService getService()
           
 void setService(BlogsEntryService service)
           
static BlogsEntry updateEntry(long entryId, String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, 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(String title,
                                  String content,
                                  int displayDateMonth,
                                  int displayDateDay,
                                  int displayDateYear,
                                  int displayDateHour,
                                  int displayDateMinute,
                                  boolean allowPingbacks,
                                  boolean allowTrackbacks,
                                  String[] trackbacks,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteEntry

public static void deleteEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getCompanyEntries

public static List<BlogsEntry> getCompanyEntries(long companyId,
                                                 int status,
                                                 int max)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getCompanyEntriesRSS

public static String getCompanyEntriesRSS(long companyId,
                                          int status,
                                          int max,
                                          String type,
                                          double version,
                                          String displayStyle,
                                          String feedURL,
                                          String entryURL,
                                          ThemeDisplay themeDisplay)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getEntry

public static BlogsEntry getEntry(long entryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getEntry

public static BlogsEntry getEntry(long groupId,
                                  String urlTitle)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getGroupEntries

public static List<BlogsEntry> getGroupEntries(long groupId,
                                               int status,
                                               int max)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getGroupEntriesRSS

public static String getGroupEntriesRSS(long groupId,
                                        int status,
                                        int max,
                                        String type,
                                        double version,
                                        String displayStyle,
                                        String feedURL,
                                        String entryURL,
                                        ThemeDisplay themeDisplay)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getGroupsEntries

public static List<BlogsEntry> getGroupsEntries(long companyId,
                                                long groupId,
                                                int status,
                                                int max)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

getOrganizationEntries

public static List<BlogsEntry> getOrganizationEntries(long organizationId,
                                                      int status,
                                                      int max)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getOrganizationEntriesRSS

public static String getOrganizationEntriesRSS(long organizationId,
                                               int status,
                                               int max,
                                               String type,
                                               double version,
                                               String displayStyle,
                                               String feedURL,
                                               String entryURL,
                                               ThemeDisplay themeDisplay)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

updateEntry

public static BlogsEntry updateEntry(long entryId,
                                     String title,
                                     String content,
                                     int displayDateMonth,
                                     int displayDateDay,
                                     int displayDateYear,
                                     int displayDateHour,
                                     int displayDateMinute,
                                     boolean allowPingbacks,
                                     boolean allowTrackbacks,
                                     String[] trackbacks,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getService

public static BlogsEntryService getService()

setService

public void setService(BlogsEntryService service)

Liferay 6.0.4