public interface CalendarInfoSession extends OsidSession
This session defines methods to examine a calendar.
Modifier and Type | Method and Description |
---|---|
boolean |
canExamineCalendars()
Tests if this user can perform calendar inspections.
|
CalendarInfo |
getCalendarInfo()
Gets information about the calendar.
|
Type |
getCalendarType()
Gets the calendar type for the calendar system informational methods
in this session.
|
TimeInfo |
getTimeInfo()
Gets information about the time system.
|
Type |
getTimeType()
Gets the time system type for the time system informational methods in
this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Type getCalendarType()
mandatory
- This method must be implemented. Type getTimeType()
mandatory
- This method must be implemented. boolean canExamineCalendars()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer lookup operations. false
if conversion methods are not authorized,
true
otherwisemandatory
- This method must be implemented. CalendarInfo getCalendarInfo() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. TimeInfo getTimeInfo() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.