Interface JobConstrainer

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidConstrainer, OsidObject, OsidRule

public interface JobConstrainer extends OsidConstrainer

A JobConstrainer describes the rules for constraining the commissions and availabilities allowed in a job.

  • Method Details

    • getJobConstrainerRecord

      JobConstrainerRecord getJobConstrainerRecord(Type jobConstrainerRecordType) throws OperationFailedException
      Gets the job constrainer record corresponding to the given JobConstrainer record Type. This method is used to retrieve an object implementing the requested record. The jobConstrainerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(jobConstrainerRecordType) is true.
      Parameters:
      jobConstrainerRecordType - the type of job constrainer record to retrieve
      Returns:
      the job constrainer record
      Throws:
      NullArgumentException - jobConstrainerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(jobConstrainerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.