OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.0
Interfaceosid.resourcing.rules.JobProcessorEnablerRuleApplicationSession
Implementsosid.OsidSession
Used Byosid.resourcing.rules.ResourcingRulesManager
osid.resourcing.rules.ResourcingRulesProxyManager
Description

This session provides methods to apply JobProcessorEnablers to JobProcessors. A JobProcessor with multiple JobProcessorEnablers means any positive rule evaluation across the enablers result in an effective JobProcessor.

MethodgetFoundryId
Description

Gets the Foundry Id associated with this session.

Returnosid.id.Id the Foundry Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetFoundry
Description

Gets the Foundry associated with this session.

Returnosid.resourcing.Foundry the foundry
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanAssignJobProcessorEnablers
Description

Tests if this user can alter job processor enabler/job processor mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignJobProcessorEnablerToJobProcessor
Description

Adds an existing JobProcessorEnabler to a JobProcessor.

Parametersosid.id.IdjobProcessorEnablerId the Id of the JobProcessorEnabler
osid.id.IdjobProcessorId the Id of the JobProcessor
ErrorsALREADY_EXISTS jobProcessorEnablerId is already applied to jobProcessorId
NOT_FOUND jobProcessorEnablerId or jobProcessorId not found
NULL_ARGUMENT jobProcessorEnablerId or jobProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignJobProcessorEnablerFromJobProcessor
Description

Removes a JobProcessorEnabler from a JobProcessor.

Parametersosid.id.IdjobProcessorEnablerId the Id of the JobProcessorEnabler
osid.id.IdjobProcessorId the Id of the JobProcessor
ErrorsNOT_FOUND jobProcessorEnablerId or jobProcessorId not found or jobProcessorEnablerId not applied to jobProcessorId
NULL_ARGUMENT jobProcessorEnablerId or jobProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceJobProcessorEnablers
Description

Tests if this user can order JobProcessorEnablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.

Returnboolean false if JobProcessornEnabler ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveJobProcessorEnablerAhead
Description

Reorders job processor enablers for a job processor by moving the specified job processor enabler in front of a reference job processor enabler.

Parametersosid.id.IdjobProcessorEnablerId the Id of a JobProcessorEnabler
osid.id.IdjobProcessorId the Id of a JobProcessor
osid.id.IdreferenceId the reference job processor enabler Id
ErrorsNOT_FOUND jobProcessorEnablerId, jobProcessorId, or referenceId not found or, jobProcessorEnablerId or referenceId not related to jobProcessorId
NULL_ARGUMENT jobProcessorEnablerId, jobProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveJobProcessorEnablerBehind
Description

Reorders job processor enablers for a job processor by moving the specified job processor enabler behind a reference job processor enabler.

Parametersosid.id.IdjobProcessorEnablerId the Id of a JobProcessorEnabler
osid.id.IdjobProcessorId the Id of a JobProcessor
osid.id.IdreferenceId the reference job processor enabler Id
ErrorsNOT_FOUND jobProcessorEnablerId, jobProcessorId, or referenceId not found or, jobProcessorEnablerId or referenceId not related to jobProcessorId
NULL_ARGUMENT jobProcessorEnablerId, jobProcessorId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderJobProcessorEnablers
Description

Reorders a set of job processor enablers for a job processor.

Parametersosid.id.Id[]jobProcessorEnablerIds the Ids for a set of JobProcessorEnablers
osid.id.IdjobProcessorId the Id of a JobProcessor
ErrorsNOT_FOUND jobProcessorId not found or, a jobProcessorEnablerId not related to jobProcessorId
NULL_ARGUMENT jobProcessorEnablerIds or jobProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.