| java.lang.Object org.sakaiproject.calendar.impl.BaseCalendarService org.sakaiproject.calendar.impl.DbCalendarService
DbCalendarService | public class DbCalendarService extends BaseCalendarService (Code) | | DbCalendarService fills out the BaseCalendarService with a database implementation.
The sql scripts in src/sql/chef_calendar.sql must be run on the database.
|
m_autoDdl | protected boolean m_autoDdl(Code) | | Configuration: to run the ddl on init or not.
|
m_cTableName | protected String m_cTableName(Code) | | The name of the db table holding calendar calendars.
|
m_locksInDb | protected boolean m_locksInDb(Code) | | If true, we do our locks in the remote database, otherwise we do them here.
|
m_rTableName | protected String m_rTableName(Code) | | The name of the db table holding calendar events.
|
init | public void init()(Code) | | Final initialization, once all dependencies are set.
|
newStorage | protected Storage newStorage()(Code) | | Construct a Storage object.
The new storage object. |
setAutoDdl | public void setAutoDdl(String value)(Code) | | Configuration: to run the ddl on init or not.
Parameters: value - the auto ddl value. |
setContainerTableName | public void setContainerTableName(String name)(Code) | | Configuration: set the table name for the container.
Parameters: path - The table name for the container. |
setLocksInDb | public void setLocksInDb(String value)(Code) | | Configuration: set the locks-in-db
Parameters: path - The storage path. |
setResourceTableName | public void setResourceTableName(String name)(Code) | | Configuration: set the table name for the resource.
Parameters: path - The table name for the resource. |
setSqlService | public void setSqlService(SqlService service)(Code) | | Dependency: SqlService.
Parameters: service - The SqlService. |
Methods inherited from org.sakaiproject.calendar.impl.BaseCalendarService | public CalendarEdit addCalendar(String ref) throws IdUsedException, IdInvalidException(Code)(Java Doc) public boolean allowEditCalendar(String ref)(Code)(Java Doc) public boolean allowGetCalendar(String ref)(Code)(Java Doc) public boolean allowImportCalendar(String ref)(Code)(Java Doc) public boolean allowMergeCalendar(String ref)(Code)(Java Doc) public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)(Java Doc) public String calendarPdfReference(String context, String id, int scheduleType, String timeRangeString, String userName, TimeRange dailyTimeRange)(Code)(Java Doc) public String calendarReference(String context, String id)(Code)(Java Doc) public void cancelCalendar(CalendarEdit edit)(Code)(Java Doc) public void commitCalendar(CalendarEdit edit)(Code)(Java Doc) public void contextCreated(String context, boolean toolPlacement)(Code)(Java Doc) public void contextDeleted(String context, boolean toolPlacement)(Code)(Java Doc) public void contextUpdated(String context, boolean toolPlacement)(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void disableSchedule(String context)(Code)(Java Doc) protected String dumpTimeRange(TimeRange timeRange)(Code)(Java Doc) public CalendarEdit editCalendar(String ref) throws IdUnusedException, PermissionException, InUseException(Code)(Java Doc) protected void enableSchedule(String context)(Code)(Java Doc) protected String eventId(String secure)(Code)(Java Doc) public String eventReference(String context, String calendarId, String id)(Code)(Java Doc) protected Calendar findCalendar(String ref)(Code)(Java Doc) protected void generatePDF(Document doc, String xslFileName, OutputStream streamOut)(Code)(Java Doc) protected void generateXMLDocument(int scheduleType, Document doc, TimeRange timeRange, TimeRange dailyTimeRange, List calendarReferenceList, String userID)(Code)(Java Doc) protected void generateXMLEvent(Document doc, Element parent, CalendarEvent event, String eventNodeName, TimeRange containingTimeRange, boolean forceMinimumTime, boolean hideGroupIfNoSpace, boolean performEndTimeKludge)(Code)(Java Doc) protected String getAccessPoint(boolean relative)(Code)(Java Doc) public Calendar getCalendar(String ref) throws IdUnusedException, PermissionException(Code)(Java Doc) public List getCalendars()(Code)(Java Doc) protected TimeRange getDailyStartTimeFromParameters(Properties parameters)(Code)(Java Doc) public Time getDate(Entity r)(Code)(Java Doc) protected String getDateFromTime(Time time)(Code)(Java Doc) public Entity getEntity(Reference ref)(Code)(Java Doc) public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)(Java Doc) public String getEntityDescription(Reference ref)(Code)(Java Doc) public ResourceProperties getEntityResourceProperties(Reference ref)(Code)(Java Doc) public String getEntityUrl(Reference ref)(Code)(Java Doc) public CalendarEventVector getEvents(List references, TimeRange range)(Code)(Java Doc) protected TimeRange getFullDayTimeRangeFromYMD(int year, int month, int day)(Code)(Java Doc) public HttpAccess getHttpAccess()(Code)(Java Doc) public String getLabel()(Code)(Java Doc) protected long getNumberDaysGivenTwoDates(int startYear, int startMonth, int startDay, int endYear, int endMonth, int endDay)(Code)(Java Doc) public String getOwnerId(Entity r)(Code)(Java Doc) protected int getScheduleTypeFromParameterList(Properties parameters)(Code)(Java Doc) protected String getSiteName(CalendarEvent event)(Code)(Java Doc) protected String getString(String name, String dflt)(Code)(Java Doc) protected TimeRange getTimeRangeFromParameters(Properties parameters)(Code)(Java Doc) protected ArrayList getTimeRangeListForWeek(TimeRange timeRange, List calendarReferenceList, TimeRange dailyTimeRange, boolean skipSaturdayAndSundayIfNoEvents)(Code)(Java Doc) protected TimeRange getTimeRangeParameterByName(Properties parameters, String name)(Code)(Java Doc) protected String getTimeString(Time time)(Code)(Java Doc) protected String getUniqueId()(Code)(Java Doc) protected String getXSLFileNameForScheduleType(int scheduleType)(Code)(Java Doc) public void init()(Code)(Java Doc) public boolean isDraft(Entity r)(Code)(Java Doc) protected List makeListViewTimeRangeList(TimeRange timeRange, List calendarReferenceList)(Code)(Java Doc) public String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)(Java Doc) public String[] myToolIds()(Code)(Java Doc) public Entity newContainer(String ref)(Code)(Java Doc) public Entity newContainer(Element element)(Code)(Java Doc) public Entity newContainer(Entity other)(Code)(Java Doc) public Edit newContainerEdit(String ref)(Code)(Java Doc) public Edit newContainerEdit(Element element)(Code)(Java Doc) public Edit newContainerEdit(Entity other)(Code)(Java Doc) public RecurrenceRule newRecurrence(String frequency)(Code)(Java Doc) public RecurrenceRule newRecurrence(String frequency, int interval)(Code)(Java Doc) public RecurrenceRule newRecurrence(String frequency, int interval, int count)(Code)(Java Doc) public RecurrenceRule newRecurrence(String frequency, int interval, Time until)(Code)(Java Doc) public Entity newResource(Entity container, String id, Object[] others)(Code)(Java Doc) public Entity newResource(Entity container, Element element)(Code)(Java Doc) public Entity newResource(Entity container, Entity other)(Code)(Java Doc) public Edit newResourceEdit(Entity container, String id, Object[] others)(Code)(Java Doc) public Edit newResourceEdit(Entity container, Element element)(Code)(Java Doc) public Edit newResourceEdit(Entity container, Entity other)(Code)(Java Doc) abstract protected Storage newStorage()(Code)(Java Doc) public boolean parseEntityReference(String reference, Reference ref)(Code)(Java Doc) protected Time performEndMinuteKludge(TimeBreakdown breakDown)(Code)(Java Doc) protected void printSchedule(Properties parameters, StringBuffer contentType, OutputStream os) throws PermissionException(Code)(Java Doc) public Object refresh(Object key, Object oldValue, Event event)(Code)(Java Doc) public void removeCalendar(CalendarEdit calendar) throws PermissionException(Code)(Java Doc) protected TimeRange roundRangeToMinimumTimeInterval(TimeRange timeRange)(Code)(Java Doc) protected BaseCalendarService service()(Code)(Java Doc) public void setCaching(String value)(Code)(Java Doc) public void setEntityManager(EntityManager service)(Code)(Java Doc) public void setIdManager(IdManager manager)(Code)(Java Doc) public void setMemoryService(MemoryService service)(Code)(Java Doc) public void setServerConfigurationService(ServerConfigurationService service)(Code)(Java Doc) protected TimeRange shrinkTimeRangeToCurrentMonth(TimeRange expandedTimeRange)(Code)(Java Doc) protected ArrayList splitTimeRangeIntoListOfSingleDayTimeRanges(TimeRange timeRange, TimeRange dailyTimeRange)(Code)(Java Doc) public Object[] storageFields(Entity r)(Code)(Java Doc) public void transferCopyEntities(String fromContext, String toContext, List resourceIds)(Code)(Java Doc) protected TimeRange trimTimeRange(TimeRange containingRange, TimeRange rangeToTrim)(Code)(Java Doc) protected void unlock(String lock, String reference) throws PermissionException(Code)(Java Doc) protected boolean unlockCheck(String lock, String reference)(Code)(Java Doc) public boolean willArchiveMerge()(Code)(Java Doc) protected Element writeStringNodeToDom(Document doc, Element parent, String nodeName, String nodeValue)(Code)(Java Doc)
|
|
|