OSID Logo
OSID Specifications
resourcing package
Version 3.1.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.Metadata metadata for the time spent
Compliancemandatory This method must be implemented.
MethodsetTimeSpent
Description

Sets the time spent.

Parametersosid.calendaring.DurationtimeSpent the new time spent
ErrorsINVALID_ARGUMENT timeSpent is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT timeSpent is null
Compliancemandatory This method must be implemented.
MethodclearTimeSpent
Description

Removes the time spent.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetEffortFormRecord
Description

Gets the EffortFormRecord corresponding to the given effort record Type.

Parametersosid.type.TypeeffortRecordType an effort record type
Returnosid.resourcing.records.EffortFormRecord the effort form record
ErrorsNULL_ARGUMENT effortRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(effortRecordType) is false
Compliancemandatory This method must be implemented.