public interface Agency extends OsidCatalog
An agency defines a collection of agents.
Modifier and Type | Method and Description |
---|---|
AgencyRecord |
getAgencyRecord(Type agencyRecordType)
Gets the agency record corresponding to the given
Agency
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
AgencyRecord getAgencyRecord(Type agencyRecordType) throws OperationFailedException
Agency
record Type.
This method is used to retrieve an
object implementing the requested record. The agencyRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(agencyRecordType)
is true
.agencyRecordType
- an agency record typeNullArgumentException
- agencyRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(agencyRecordType)
is false
mandatory
- This method must be implemented.