public interface RequestTransactionForm extends OsidRelationshipForm
This is the form for creating and updating RequestTransactionss.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
RequestTransactionAdminSession.
For each data element that may be
set, metadata may be examined to provide display hints or data
constraints.
Modifier and Type | Method and Description |
---|---|
void |
clearRequests()
Removes the requests.
|
Metadata |
getRequestsMetadata()
Gets the metadata for the requests.
|
RequestTransactionFormRecord |
getRequestTransactionFormRecord(Type requestTransactionRecordType)
Gets the
RequestTransactionFormRecord corresponding to
the given request record Type. |
void |
setRequests(Id requestIds)
Sets the requests.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
Metadata getRequestsMetadata()
mandatory
- This method must be implemented. void setRequests(Id requestIds)
requestIds
- the new requestsInvalidArgumentException
- requestIds
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- requestIds
is
null
mandatory
- This method must be implemented. void clearRequests()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. RequestTransactionFormRecord getRequestTransactionFormRecord(Type requestTransactionRecordType) throws OperationFailedException
RequestTransactionFormRecord
corresponding to
the given request record Type.
requestTransactionRecordType
- a request transaction record typeNullArgumentException
-
requestTransactionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(requestTransactionRecordType)
is
false
mandatory
- This method must be implemented.