Liferay 7.0-ce-m3

com.liferay.portlet.blogs.service
Class BlogsEntryServiceUtil

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

@ProviderType
public class BlogsEntryServiceUtil
extends Object

Provides the remote service utility for BlogsEntry. This utility wraps com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
BlogsEntryService, com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl, com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl

Constructor Summary
BlogsEntryServiceUtil()
           
 
Method Summary
static BlogsEntry addEntry(String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by #addEntry(String, String, String, String, int, int, int, int, int, boolean, boolean, String[], boolean, String, String, InputStream, ServiceContext)
static BlogsEntry addEntry(String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, ServiceContext serviceContext)
           
static void deleteEntry(long entryId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int max)
           
static String getCompanyEntriesRSS(long companyId, Date displayDate, 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, Date displayDate, int status, int max)
           
static List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end)
           
static List<BlogsEntry> getGroupEntries(long groupId, int status, int max)
           
static List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end)
           
static int getGroupEntriesCount(long groupId, Date displayDate, int status)
           
static int getGroupEntriesCount(long groupId, int status)
           
static String getGroupEntriesRSS(long groupId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
static List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int max)
           
static List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int max)
           
static String getOrganizationEntriesRSS(long organizationId, Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
static BlogsEntryService getService()
           
static BlogsEntry moveEntryToTrash(long entryId)
           
static void restoreEntryFromTrash(long entryId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(BlogsEntryService service)
          Deprecated. As of 6.2.0
static void subscribe(long groupId)
           
static void unsubscribe(long groupId)
           
static BlogsEntry updateEntry(long entryId, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, InputStream smallImageInputStream, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by #updateEntry(long, String, String, String, String, int, int, int, int, int, boolean, boolean, String[], boolean, String, long, ServiceContext)
static BlogsEntry updateEntry(long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ImageSelector coverImageImageSelector, ImageSelector smallImageImageSelector, 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

@Deprecated
public static BlogsEntry addEntry(String title,
                                             String description,
                                             String content,
                                             int displayDateMonth,
                                             int displayDateDay,
                                             int displayDateYear,
                                             int displayDateHour,
                                             int displayDateMinute,
                                             boolean allowPingbacks,
                                             boolean allowTrackbacks,
                                             String[] trackbacks,
                                             boolean smallImage,
                                             String smallImageURL,
                                             String smallImageFileName,
                                             InputStream smallImageInputStream,
                                             ServiceContext serviceContext)
                           throws PortalException
Deprecated. As of 7.0.0, replaced by #addEntry(String, String, String, String, int, int, int, int, int, boolean, boolean, String[], boolean, String, String, InputStream, ServiceContext)

Throws:
PortalException

addEntry

public static BlogsEntry addEntry(String title,
                                  String subtitle,
                                  String description,
                                  String content,
                                  int displayDateMonth,
                                  int displayDateDay,
                                  int displayDateYear,
                                  int displayDateHour,
                                  int displayDateMinute,
                                  boolean allowPingbacks,
                                  boolean allowTrackbacks,
                                  String[] trackbacks,
                                  ImageSelector coverImageImageSelector,
                                  ImageSelector smallImageImageSelector,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

deleteEntry

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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getCompanyEntries

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

getCompanyEntriesRSS

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

getEntry

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

getEntry

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

getGroupEntries

public static List<BlogsEntry> getGroupEntries(long groupId,
                                               Date displayDate,
                                               int status,
                                               int max)

getGroupEntries

public static List<BlogsEntry> getGroupEntries(long groupId,
                                               Date displayDate,
                                               int status,
                                               int start,
                                               int end)

getGroupEntries

public static List<BlogsEntry> getGroupEntries(long groupId,
                                               int status,
                                               int max)

getGroupEntries

public static List<BlogsEntry> getGroupEntries(long groupId,
                                               int status,
                                               int start,
                                               int end)

getGroupEntriesCount

public static int getGroupEntriesCount(long groupId,
                                       Date displayDate,
                                       int status)

getGroupEntriesCount

public static int getGroupEntriesCount(long groupId,
                                       int status)

getGroupEntriesRSS

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

getGroupsEntries

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

getOrganizationEntries

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

getOrganizationEntriesRSS

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

moveEntryToTrash

public static BlogsEntry moveEntryToTrash(long entryId)
                                   throws PortalException
Throws:
PortalException

restoreEntryFromTrash

public static void restoreEntryFromTrash(long entryId)
                                  throws PortalException
Throws:
PortalException

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribe

public static void subscribe(long groupId)
                      throws PortalException
Throws:
PortalException

unsubscribe

public static void unsubscribe(long groupId)
                        throws PortalException
Throws:
PortalException

updateEntry

@Deprecated
public static BlogsEntry updateEntry(long entryId,
                                                String title,
                                                String description,
                                                String content,
                                                int displayDateMonth,
                                                int displayDateDay,
                                                int displayDateYear,
                                                int displayDateHour,
                                                int displayDateMinute,
                                                boolean allowPingbacks,
                                                boolean allowTrackbacks,
                                                String[] trackbacks,
                                                boolean smallImage,
                                                String smallImageURL,
                                                String smallImageFileName,
                                                InputStream smallImageInputStream,
                                                ServiceContext serviceContext)
                              throws PortalException
Deprecated. As of 7.0.0, replaced by #updateEntry(long, String, String, String, String, int, int, int, int, int, boolean, boolean, String[], boolean, String, long, ServiceContext)

Throws:
PortalException

updateEntry

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

getService

public static BlogsEntryService getService()

setService

@Deprecated
public void setService(BlogsEntryService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m3