OSID Logo
OSID Specifications
resourcing package
Version 3.0.0
Interfaceosid.resourcing.EffortForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.resourcing.batch.EffortBatchForm
Used Byosid.resourcing.EffortAdminSession
Description

This is the form for creating and updating Efforts .Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the EffortAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetTimeSpentMetadata
Description

Gets the metadata for the time spent.

Returnosid.Metadatametadata for the time spent
CompliancemandatoryThis method must be implemented.
MethodsetTimeSpent
Description

Sets the time spent.

Parametersosid.calendaring.DurationtimeSpentthe new time spent
ErrorsINVALID_ARGUMENTtimeSpent is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtimeSpent is null
CompliancemandatoryThis method must be implemented.
MethodclearTimeSpent
Description

Removes the time spent.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetEffortFormRecord
Description

Gets the EffortFormRecord corresponding to the given effort record Type .

Parametersosid.type.TypeeffortRecordTypean effort record type
Returnosid.resourcing.records.EffortFormRecordthe effort form record
ErrorsNULL_ARGUMENTeffortRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(effortRecordType) is false
CompliancemandatoryThis method must be implemented.