Interface AuthorizationCondition
- All Superinterfaces:
Extensible, OsidCondition, Suppliable
An authorization condition.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthorizationConditionRecord(Type authorizationConditionRecordType) Gets the authorization condition record corresponding to the givenAuthorizationConditionrecordType.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.
-
Method Details
-
getAuthorizationConditionRecord
AuthorizationConditionRecord getAuthorizationConditionRecord(Type authorizationConditionRecordType) throws OperationFailedException Gets the authorization condition record corresponding to the givenAuthorizationConditionrecordType. This method is used to retrieve an object implementing the requested record. TheauthorizationConditionRecordTypemay be theTypereturned ingetConditionRecordTypes()or any of its parents in aTypehierarchy wherehasConditionRecordType(authorizationConditionRecordType)istrue.- Parameters:
authorizationConditionRecordType- an authorization condition record type- Returns:
- the authorization condition record
- Throws:
NullArgumentException-authorizationConditionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(authorizationConditionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-