Interface RegistrationRequest
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRequest
A RegistrationRequest .
-
Method Summary
Modifier and TypeMethodDescriptiongetRegistrationRequestRecord(Type registrationRequestRecordType) Gets the registration request record corresponding to the givenRegistrationRequest recordType.getTerm()Gets the termGets theIdof the term.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 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.Methods inherited from interface OsidRequest
getCanceledDate, getError, getErrorId, getPostingDate, getProcessedDate, getRequester, getRequesterId, getSubmittedDate, getSubmitter, getSubmitterId, getSubmittingAgent, getSubmittingAgentId, hasError, isCanceled, isProcessed, isSubmittedModifier and TypeMethodDescriptionGets the date the request was canceled.getError()Gets the error state.Gets theIdof the error state.Gets the posting date of the request.Gets the date the request processing completed.Gets the requester.Gets theIdof the requester.Gets the date the request was submitted.Gets the submittor.Gets theIdof the submittor.Gets the submitting agent.Gets theIdof the submitting agent.booleanhasError()Tests if this request has been processed but not fulfilled due to error.booleanTests if this request has been canceled.booleanTests if this request has been processed.booleanTests if this request has been submitted.
-
Method Details
-
getTermId
Id getTermId()Gets theIdof the term.- Returns:
- the term
Id - Compliance:
mandatory- This method must be implemented.
-
getTerm
Gets the term- Returns:
- the term
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getRegistrationRequestRecord
RegistrationRequestRecord getRegistrationRequestRecord(Type registrationRequestRecordType) throws OperationFailedException Gets the registration request record corresponding to the givenRegistrationRequest recordType. This method ie used to retrieve an object implementing the requested record. TheregistrationRequestRecordType may be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(registrationRequestRecordType) istrue.- Parameters:
registrationRequestRecordType- the type of registration request record to retrieve- Returns:
- the registration request record
- Throws:
NullArgumentException-registrationRequestRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(registrationRequestRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-