public interface HoldBatchForm extends HoldForm
This is the form for creating and updating holds in bulk.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
HoldBatchAdminSession.
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 |
getAgentId()
Gets the agent
Id of the issue if this is a create
transaction. |
Id |
getHoldId()
Gets the
Id of the hold to be updated if this is an
update transaction. |
Id |
getIssueId()
Gets the issue
Id of the issue if this is a create
transaction. |
Id |
getResourceId()
Gets the resource
Id of the issue if this is a create
transaction. |
boolean |
hasAgent()
Tests if this create form was requested using an agent.
|
boolean |
hasResource()
Tests if this create form was requested using a resource.
|
getHoldFormRecord
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 getIssueId()
Id
of the issue if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. boolean hasAgent()
true
if the create request specified an agent,
false
otherwiseIllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getAgentId()
Id
of the issue if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
or hasAgent()
is
false
mandatory
- This method must be implemented. boolean hasResource()
true
if the create request specified a
resource, false
otherwiseIllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getResourceId()
Id
of the issue if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
or hasResource()
is
false
mandatory
- This method must be implemented. Id getHoldId()
Id
of the hold to be updated if this is an
update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented.