Liferay 6.0.5

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.

Never modify this class directly. Add custom service methods to AnnouncementsEntryServiceImpl and rerun ServiceBuilder to regenerate this class.

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 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, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
           
static void deleteEntry(long entryId)
           
static AnnouncementsEntryService getService()
           
 void setService(AnnouncementsEntryService service)
           
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

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
Throws:
PortalException
SystemException

deleteEntry

public static void deleteEntry(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)

Liferay 6.0.5