com.liferay.portlet.announcements.service
Class AnnouncementsEntryServiceUtil
java.lang.Object
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.
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 |
AnnouncementsEntryServiceUtil
public AnnouncementsEntryServiceUtil()
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)