public interface ResourceRelationshipBatchForm extends ResourceRelationshipForm
This is the form for creating and updating resource relationships in
bulk. Like all OsidForm
objects, various data elements may
be set here for use in the create and update methods in the
ResourceRelationshipBatchAdminSession.
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 |
---|---|
Id |
getDestinationResourceId()
Gets the destination
Resource of the resource
relationship if this is a create transaction. |
Id |
getResourceRelationshipId()
Gets the
Id of the resource relationship to be updated
if this is an update transaction. |
Id |
getSourceResourceId()
Gets the source
Resource of the resource relationship
if this is a create transaction. |
getResourceRelationshipFormRecord
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
Id getSourceResourceId()
Resource
of the resource relationship
if this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getDestinationResourceId()
Resource
of the resource
relationship if this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getResourceRelationshipId()
Id
of the resource relationship to be updated
if this is an update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented.