org.sakaiproject.service.legacy.calendar.cover
Class CalendarService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.calendar.cover.CalendarService

public class CalendarService
extends Object

CalendarService is a static Cover for the CalendarService; see that interface for usage details.

Version:
$Revision: 3290 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
static int DAY_VIEW
           
static String EVENT_ADD_CALENDAR
           
static String EVENT_IMPORT_CALENDAR
           
static String EVENT_MODIFY_CALENDAR
           
static String EVENT_READ_CALENDAR
           
static String EVENT_REMOVE_CALENDAR
           
static int LIST_VIEW
           
static int MOD_ALL
           
static int MOD_NA
           
static int MOD_PRIOR
           
static int MOD_REST
           
static int MOD_THIS
           
static int MONTH_VIEW
           
static String REF_TYPE_CALENDAR
           
static String REF_TYPE_CALENDAR_PDF
           
static String REF_TYPE_EVENT
           
static String REFERENCE_ROOT
           
static String SERVICE_NAME
           
static int UNKNOWN_VIEW
           
static int WEEK_VIEW
           
 
Constructor Summary
CalendarService()
           
 
Method Summary
static CalendarEdit addCalendar(String param0)
           
static boolean allowAddCalendar(String param0)
           
static boolean allowGetCalendar(String param0)
           
static boolean allowImportCalendar(String param0)
           
static boolean allowRemoveCalendar(String param0)
           
static boolean allowUpdateCalendar(String param0)
           
static String archive(String param0, Document param1, Stack param2, String param3, List param4)
           
static String calendarPdfReference(String param0, String param1, int param2, List param3, String param4, String param5, TimeRange param6)
           
static String calendarReference(String param0, String param1)
           
static void cancelCalendar(CalendarEdit param0)
           
static void commitCalendar(CalendarEdit param0)
           
static CalendarEdit editCalendar(String param0)
           
static String eventReference(String param0, String param1, String param2)
           
static Calendar getCalendar(String param0)
           
static List getCalendars()
           
static CalendarEventVector getEvents(List param0, TimeRange param1)
           
static CalendarService getInstance()
          Access the component instance: special cover only method.
static String getLabel()
           
static void importResources(String param0, String param1, List param2)
           
static String merge(String param0, Element param1, String param2, String param3, Map param4, HashMap param5, Set param6)
           
static RecurrenceRule newRecurrence(String param0)
           
static RecurrenceRule newRecurrence(String param0, int param1)
           
static RecurrenceRule newRecurrence(String param0, int param1, int param2)
           
static RecurrenceRule newRecurrence(String param0, int param1, Time param2)
           
static void removeCalendar(CalendarEdit param0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static String SERVICE_NAME

REFERENCE_ROOT

public static String REFERENCE_ROOT

EVENT_ADD_CALENDAR

public static String EVENT_ADD_CALENDAR

EVENT_IMPORT_CALENDAR

public static String EVENT_IMPORT_CALENDAR

EVENT_REMOVE_CALENDAR

public static String EVENT_REMOVE_CALENDAR

EVENT_READ_CALENDAR

public static String EVENT_READ_CALENDAR

EVENT_MODIFY_CALENDAR

public static String EVENT_MODIFY_CALENDAR

REF_TYPE_CALENDAR

public static String REF_TYPE_CALENDAR

REF_TYPE_CALENDAR_PDF

public static String REF_TYPE_CALENDAR_PDF

REF_TYPE_EVENT

public static String REF_TYPE_EVENT

MOD_NA

public static int MOD_NA

MOD_THIS

public static int MOD_THIS

MOD_ALL

public static int MOD_ALL

MOD_REST

public static int MOD_REST

MOD_PRIOR

public static int MOD_PRIOR

UNKNOWN_VIEW

public static int UNKNOWN_VIEW

DAY_VIEW

public static int DAY_VIEW

WEEK_VIEW

public static int WEEK_VIEW

MONTH_VIEW

public static int MONTH_VIEW

LIST_VIEW

public static int LIST_VIEW
Constructor Detail

CalendarService

public CalendarService()
Method Detail

getInstance

public static CalendarService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

calendarReference

public static String calendarReference(String param0,
                                       String param1)

calendarPdfReference

public static String calendarPdfReference(String param0,
                                          String param1,
                                          int param2,
                                          List param3,
                                          String param4,
                                          String param5,
                                          TimeRange param6)

getCalendars

public static List getCalendars()

allowAddCalendar

public static boolean allowAddCalendar(String param0)

addCalendar

public static CalendarEdit addCalendar(String param0)
                                throws IdUsedException,
                                       IdInvalidException,
                                       PermissionException
Throws:
IdUsedException
IdInvalidException
PermissionException

allowGetCalendar

public static boolean allowGetCalendar(String param0)

allowImportCalendar

public static boolean allowImportCalendar(String param0)

allowUpdateCalendar

public static boolean allowUpdateCalendar(String param0)

editCalendar

public static CalendarEdit editCalendar(String param0)
                                 throws IdUnusedException,
                                        PermissionException,
                                        InUseException
Throws:
IdUnusedException
PermissionException
InUseException

commitCalendar

public static void commitCalendar(CalendarEdit param0)

cancelCalendar

public static void cancelCalendar(CalendarEdit param0)

removeCalendar

public static void removeCalendar(CalendarEdit param0)
                           throws PermissionException
Throws:
PermissionException

allowRemoveCalendar

public static boolean allowRemoveCalendar(String param0)

eventReference

public static String eventReference(String param0,
                                    String param1,
                                    String param2)

getEvents

public static CalendarEventVector getEvents(List param0,
                                            TimeRange param1)

newRecurrence

public static RecurrenceRule newRecurrence(String param0,
                                           int param1,
                                           Time param2)

newRecurrence

public static RecurrenceRule newRecurrence(String param0,
                                           int param1)

newRecurrence

public static RecurrenceRule newRecurrence(String param0,
                                           int param1,
                                           int param2)

newRecurrence

public static RecurrenceRule newRecurrence(String param0)

getCalendar

public static Calendar getCalendar(String param0)
                            throws IdUnusedException,
                                   PermissionException
Throws:
IdUnusedException
PermissionException

merge

public static String merge(String param0,
                           Element param1,
                           String param2,
                           String param3,
                           Map param4,
                           HashMap param5,
                           Set param6)

getLabel

public static String getLabel()

archive

public static String archive(String param0,
                             Document param1,
                             Stack param2,
                             String param3,
                             List param4)

importResources

public static void importResources(String param0,
                                   String param1,
                                   List param2)