org.sakaiproject.tool.assessment.integration.helper.integrated
Class CalendarServiceHelperImpl

java.lang.Object
  extended by org.sakaiproject.tool.assessment.integration.helper.integrated.CalendarServiceHelperImpl
All Implemented Interfaces:
CalendarServiceHelper

public class CalendarServiceHelperImpl
extends Object
implements CalendarServiceHelper


Field Summary
 
Fields inherited from interface org.sakaiproject.tool.assessment.integration.helper.ifc.CalendarServiceHelper
DEADLINE_EVENT_TYPE, QUIZ_EVENT_TYPE
 
Constructor Summary
CalendarServiceHelperImpl()
           
 
Method Summary
 String addCalendarEvent(String siteId, String title, String desc, long dateTime, List<org.sakaiproject.site.api.Group> groupRestrictions, String calendarEventType)
           
 String calendarReference(String siteId, String container)
           
 org.sakaiproject.calendar.api.Calendar getCalendar(String ref)
           
 Boolean getCalendarExistsForSite()
           
 org.sakaiproject.calendar.api.CalendarService getCalendarService()
           
 String getCalendarTitle()
           
 String getString(String key, String defaultValue)
           
 void removeCalendarEvent(String siteId, String eventId)
           
 void setCalendarExistsForSite(Boolean calendarExistsForSite)
           
 void setCalendarService(org.sakaiproject.calendar.api.CalendarService calendarService)
           
 void setCalendarTitle(String calendarTitle)
           
 void updateAllCalendarEvents(PublishedAssessmentFacade pub, String releaseTo, String[] groupsAuthorized, String dueDateTitlePrefix, boolean addDueDateToCalendar, String eventDesc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarServiceHelperImpl

public CalendarServiceHelperImpl()
Method Detail

getString

public String getString(String key,
                        String defaultValue)
Specified by:
getString in interface CalendarServiceHelper

calendarReference

public String calendarReference(String siteId,
                                String container)
Specified by:
calendarReference in interface CalendarServiceHelper

getCalendar

public org.sakaiproject.calendar.api.Calendar getCalendar(String ref)
                                                   throws org.sakaiproject.exception.IdUnusedException,
                                                          org.sakaiproject.exception.PermissionException
Specified by:
getCalendar in interface CalendarServiceHelper
Throws:
org.sakaiproject.exception.IdUnusedException
org.sakaiproject.exception.PermissionException

getCalendarService

public org.sakaiproject.calendar.api.CalendarService getCalendarService()

setCalendarService

public void setCalendarService(org.sakaiproject.calendar.api.CalendarService calendarService)

removeCalendarEvent

public void removeCalendarEvent(String siteId,
                                String eventId)
Specified by:
removeCalendarEvent in interface CalendarServiceHelper

addCalendarEvent

public String addCalendarEvent(String siteId,
                               String title,
                               String desc,
                               long dateTime,
                               List<org.sakaiproject.site.api.Group> groupRestrictions,
                               String calendarEventType)
Specified by:
addCalendarEvent in interface CalendarServiceHelper

updateAllCalendarEvents

public void updateAllCalendarEvents(PublishedAssessmentFacade pub,
                                    String releaseTo,
                                    String[] groupsAuthorized,
                                    String dueDateTitlePrefix,
                                    boolean addDueDateToCalendar,
                                    String eventDesc)
Specified by:
updateAllCalendarEvents in interface CalendarServiceHelper

getCalendarExistsForSite

public Boolean getCalendarExistsForSite()

setCalendarExistsForSite

public void setCalendarExistsForSite(Boolean calendarExistsForSite)

getCalendarTitle

public String getCalendarTitle()

setCalendarTitle

public void setCalendarTitle(String calendarTitle)


Copyright © 2005-2013 Sakai Project. All Rights Reserved.