OSID Logo
OSID Specifications
hold batch package
Version 3.1.0
Interfaceosid.hold.batch.HoldBatchForm
Implementsosid.hold.HoldForm
Used Byosid.hold.batch.HoldBatchFormList
Description

This is the form for creating and updating holds in bulk. Like all OsidForms, 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.

MethodgetIssueId
Description

Gets the issue Id of the issue if this is a create transaction.

Returnosid.id.Id the issue Id
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodhasAgent
Description

Tests if this create form was requested using an agent.

Returnboolean true if the create request specified an agent, false otherwise
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetAgentId
Description

Gets the agent Id of the issue if this is a create transaction.

Returnosid.id.Id the agent Id
ErrorsILLEGAL_STATE isForUpdate() is true or hasAgent() is false
Compliancemandatory This method must be implemented.
MethodhasResource
Description

Tests if this create form was requested using a resource.

Returnboolean true if the create request specified a resource, false otherwise
ErrorsILLEGAL_STATE isForUpdate() is true
Compliancemandatory This method must be implemented.
MethodgetResourceId
Description

Gets the resource Id of the issue if this is a create transaction.

Returnosid.id.Id the resource Id
ErrorsILLEGAL_STATE isForUpdate() is true or hasResource() is false
Compliancemandatory This method must be implemented.
MethodgetHoldId
Description

Gets the Id of the hold to be updated if this is an update transaction.

Returnosid.id.Id the hold Id
ErrorsILLEGAL_STATE isForUpdate() is false
Compliancemandatory This method must be implemented.