|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.calendar.service.CalEventServiceUtil
public class CalEventServiceUtil
The utility for the cal event remote service. This utility wraps CalEventServiceImpl
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.
CalEventService
,
CalEventServiceBaseImpl
,
CalEventServiceImpl
Constructor Summary | |
---|---|
CalEventServiceUtil()
|
Method Summary | |
---|---|
static CalEvent |
addEvent(String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
static CalEvent |
addEvent(String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. addEvent(String, String, String, int, int, int, int,
int, int, int, boolean, boolean, String, boolean,
TZSRecurrence, int, int, int, ServiceContext) |
static void |
deleteEvent(long eventId)
|
static File |
exportEvent(long eventId)
|
static File |
exportGroupEvents(long groupId,
String fileName)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static CalEvent |
getEvent(long eventId)
|
static List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String type)
|
static List<CalEvent> |
getEvents(long groupId,
Calendar cal,
String[] types)
|
static List<CalEvent> |
getEvents(long groupId,
String[] types,
int start,
int end)
|
static List<CalEvent> |
getEvents(long groupId,
String type,
int start,
int end)
|
static int |
getEventsCount(long groupId,
String type)
|
static int |
getEventsCount(long groupId,
String[] types)
|
static CalEventService |
getService()
|
static boolean |
hasEvents(long groupId,
Calendar cal)
|
static boolean |
hasEvents(long groupId,
Calendar cal,
String type)
|
static boolean |
hasEvents(long groupId,
Calendar cal,
String[] types)
|
static void |
importICal4j(long groupId,
InputStream inputStream)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(CalEventService service)
Deprecated. |
static CalEvent |
updateEvent(long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
|
static CalEvent |
updateEvent(long eventId,
String title,
String description,
String location,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int durationHour,
int durationMinute,
boolean allDay,
boolean timeZoneSensitive,
String type,
boolean repeating,
TZSRecurrence recurrence,
int remindBy,
int firstReminder,
int secondReminder,
ServiceContext serviceContext)
Deprecated. updateEvent(long, String, String, String, int, int,
int, int, int, int, int, boolean, boolean, String, boolean,
TZSRecurrence, int, int, int, ServiceContext) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalEventServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static CalEvent addEvent(String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static CalEvent addEvent(String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
addEvent(String, String, String, int, int, int, int,
int, int, int, boolean, boolean, String, boolean,
TZSRecurrence, int, int, int, ServiceContext)
PortalException
SystemException
public static void deleteEvent(long eventId) throws PortalException, SystemException
PortalException
SystemException
public static File exportEvent(long eventId) throws PortalException, SystemException
PortalException
SystemException
public static File exportGroupEvents(long groupId, String fileName) throws PortalException, SystemException
PortalException
SystemException
public static CalEvent getEvent(long eventId) throws PortalException, SystemException
PortalException
SystemException
public static List<CalEvent> getEvents(long groupId, Calendar cal, String type) throws PortalException, SystemException
PortalException
SystemException
public static List<CalEvent> getEvents(long groupId, Calendar cal, String[] types) throws PortalException, SystemException
PortalException
SystemException
public static List<CalEvent> getEvents(long groupId, String type, int start, int end) throws SystemException
SystemException
public static List<CalEvent> getEvents(long groupId, String[] types, int start, int end) throws SystemException
SystemException
public static int getEventsCount(long groupId, String type) throws SystemException
SystemException
public static int getEventsCount(long groupId, String[] types) throws SystemException
SystemException
public static boolean hasEvents(long groupId, Calendar cal) throws PortalException, SystemException
PortalException
SystemException
public static boolean hasEvents(long groupId, Calendar cal, String type) throws PortalException, SystemException
PortalException
SystemException
public static boolean hasEvents(long groupId, Calendar cal, String[] types) throws PortalException, SystemException
PortalException
SystemException
public static void importICal4j(long groupId, InputStream inputStream) throws PortalException, SystemException
PortalException
SystemException
public static CalEvent updateEvent(long eventId, String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static CalEvent updateEvent(long eventId, String title, String description, String location, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int durationHour, int durationMinute, boolean allDay, boolean timeZoneSensitive, String type, boolean repeating, TZSRecurrence recurrence, int remindBy, int firstReminder, int secondReminder, ServiceContext serviceContext) throws PortalException, SystemException
updateEvent(long, String, String, String, int, int,
int, int, int, int, int, boolean, boolean, String, boolean,
TZSRecurrence, int, int, int, ServiceContext)
PortalException
SystemException
public static CalEventService getService()
public void setService(CalEventService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |