Liferay 6.1.2-ce-ga3

com.liferay.portlet.announcements.service
Class AnnouncementsEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.announcements.service.AnnouncementsEntryServiceUtil

public class AnnouncementsEntryServiceUtil
extends Object

The utility for the announcements entry remote service. This utility wraps AnnouncementsEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

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.

See Also:
AnnouncementsEntryService, AnnouncementsEntryServiceBaseImpl, AnnouncementsEntryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
AnnouncementsEntryServiceUtil()
           
 
Method Summary
static AnnouncementsEntry addEntry(long plid, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean autoDisplayDate, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
           
static AnnouncementsEntry addEntry(long plid, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
          Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)
static void deleteEntry(long entryId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static AnnouncementsEntry getEntry(long entryId)
           
static AnnouncementsEntryService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AnnouncementsEntryService service)
          Deprecated.  
static AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnouncementsEntryServiceUtil

public AnnouncementsEntryServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addEntry

public static AnnouncementsEntry addEntry(long plid,
                                          long classNameId,
                                          long classPK,
                                          String title,
                                          String content,
                                          String url,
                                          String type,
                                          int displayDateMonth,
                                          int displayDateDay,
                                          int displayDateYear,
                                          int displayDateHour,
                                          int displayDateMinute,
                                          boolean autoDisplayDate,
                                          int expirationDateMonth,
                                          int expirationDateDay,
                                          int expirationDateYear,
                                          int expirationDateHour,
                                          int expirationDateMinute,
                                          int priority,
                                          boolean alert)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

addEntry

public static AnnouncementsEntry addEntry(long plid,
                                          long classNameId,
                                          long classPK,
                                          String title,
                                          String content,
                                          String url,
                                          String type,
                                          int displayDateMonth,
                                          int displayDateDay,
                                          int displayDateYear,
                                          int displayDateHour,
                                          int displayDateMinute,
                                          int expirationDateMonth,
                                          int expirationDateDay,
                                          int expirationDateYear,
                                          int expirationDateHour,
                                          int expirationDateMinute,
                                          int priority,
                                          boolean alert)
                                   throws PortalException,
                                          SystemException
Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)

Throws:
PortalException
SystemException

deleteEntry

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

getEntry

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

updateEntry

public static AnnouncementsEntry updateEntry(long entryId,
                                             String title,
                                             String content,
                                             String url,
                                             String type,
                                             int displayDateMonth,
                                             int displayDateDay,
                                             int displayDateYear,
                                             int displayDateHour,
                                             int displayDateMinute,
                                             int expirationDateMonth,
                                             int expirationDateDay,
                                             int expirationDateYear,
                                             int expirationDateHour,
                                             int expirationDateMinute,
                                             int priority)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getService

public static AnnouncementsEntryService getService()

setService

public void setService(AnnouncementsEntryService service)
Deprecated. 


Liferay 6.1.2-ce-ga3