Class SectionTaken

Description

SectionTaken includes all the Items taken and any Evaluations for the Section. There is also any supporting data.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/oki2/osid/assessment/SectionTaken.php (line 18)


	
			
Method Summary
object Evaluation createEvaluation (mixed $evaluationType, object Type $evaluationType )
object ItemTaken createItemTaken (mixed $item, object Item $item )
void deleteEvaluation (mixed $evaluationId, object Id $evaluationId )
void deleteItemTaken (mixed $itemTakenId, object Id $itemTakenId )
object mixed getData ()
string getDisplayName ()
object EvaluationIterator getEvaluationsByType (mixed $evaluationType, object Type $evaluationType )
void updateData (object mixed $data)
void updateDisplayName (mixed $displayName, string $displayName )
Methods
createEvaluation (line 269)

Create an Evaluation of the specified Type for this Section.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object Evaluation createEvaluation (mixed $evaluationType, object Type $evaluationType )
createItemTaken (line 189)

Create an ItemTaken based on a SectionTaken.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ITEM
object ItemTaken createItemTaken (mixed $item, object Item $item )
deleteEvaluation (line 295)

Delete this Evaluation from this Section.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteEvaluation (mixed $evaluationId, object Id $evaluationId )
deleteItemTaken (line 215)

Delete an ItemTaken.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteItemTaken (mixed $itemTakenId, object Id $itemTakenId )
getAssessmentTaken (line 370)

Get the AssessmentTaken to which this SectionTaken belongs.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object AssessmentTaken getAssessmentTaken ()
getData (line 160)

Get the Data for this SectionTaken. The structure of the Data is not defined in the OSID.

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object mixed getData ()
getDisplayName (line 90)

Get the display name for this SectionTaken.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
string getDisplayName ()
getEvaluations (line 347)

Get all the Evaluations for this Section.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object EvaluationIterator getEvaluations ()
getEvaluationsByType (line 324)

Get the Evaluations of the specified Type for this Section.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object EvaluationIterator getEvaluationsByType (mixed $evaluationType, object Type $evaluationType )
getId (line 113)

Get the unique Id for this SectionTaken.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Id getId ()
getItemsTaken (line 240)

Get all the Items taken for this SectionTaken. ItemsTaken are returned first in, first out (FIFO). Only the items directly associated with this SectionTaken are returned.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object ItemTakenIterator getItemsTaken ()
getSection (line 136)

Get the Section from which this SectionTaken was created.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object Section getSection ()
updateData (line 67)

Update the data for this AssessmentTaken. The structure of the Data is not defined in the OSID. .

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void updateData (object mixed $data)
  • object mixed $data: (original type: java.io.Serializable)
updateDisplayName (line 41)

Update the display name for this SectionTaken.

  • access: public
  • throws: object AssessmentException An exception with one of the following messages defined in org.osid.assessment.AssessmentException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void updateDisplayName (mixed $displayName, string $displayName )
  • string $displayName

Documentation generated on Wed, 19 Sep 2007 10:26:21 -0400 by phpDocumentor 1.3.0RC3