Interface Convocation
- All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidGovernator, OsidObject
A Convocation is a set of Awards to be conferred.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdsof the awards.Gets the awards.getConvocationRecord(Type convocationRecordType) Gets the convocation record corresponding to the givenConvocationrecordType.getDate()Gets the date the awards in this convocation are to be conferred.Gets theIdsof the sponsors.Gets the sponsors..Gets the time period.Gets theIdof the time period.booleanTests if the convocation confers awards for a period of time.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface Operable
isActive, isDisabled, isEnabled, isOperationalModifier and TypeMethodDescriptionbooleanisActive()Tests if this operable is active.booleanTests if this operable is administravely disabled.booleanTests if this operable is administravely enabled.booleanTests if thisOperableis operational.Methods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
Method Details
-
getSponsorIds
IdList getSponsorIds()Gets theIdsof the sponsors.- Returns:
- the sponsor
Ids - Compliance:
mandatory- This method must be implemented.
-
getSponsors
Gets the sponsors.- Returns:
- the sponsors
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAwardIds
IdList getAwardIds()Gets theIdsof the awards.- Returns:
- the award
Ids - Compliance:
mandatory- This method must be implemented.
-
getAwards
Gets the awards.- Returns:
- the awards
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasTimePeriod
boolean hasTimePeriod()Tests if the convocation confers awards for a period of time.- Returns:
trueif a time period exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTimePeriodId
Id getTimePeriodId()Gets theIdof the time period.- Returns:
- the time period
Id - Throws:
IllegalStateException-hasTimePeriod()isfalse- Compliance:
mandatory- This method must be implemented.
-
getTimePeriod
.Gets the time period.- Returns:
- the time period
- Throws:
IllegalStateException-hasTimePeriod()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDate
DateTime getDate()Gets the date the awards in this convocation are to be conferred.- Returns:
- the awards date
- Throws:
IllegalStateException-hasTimePeriod()istrue- Compliance:
mandatory- This method must be implemented.
-
getConvocationRecord
Gets the convocation record corresponding to the givenConvocationrecordType. This method is used to retrieve an object implementing the requested record. TheconvocationRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(convocationRecordType)istrue.- Parameters:
convocationRecordType- the type of convocation record to retrieve- Returns:
- the convocation record
- Throws:
NullArgumentException-convocationRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(convocationRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-