OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.LogEntryForm
Implementsosid.OsidObjectForm
Implemented Byosid.logging.batch.LogEntryBatchForm
Used Byosid.logging.LogEntryAdminSession
osid.logging.LoggingSession
Description

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

MethodgetPriorityMetadata
Description

Gets the metadata for a priority type.

Returnosid.Metadata metadata for the priority
Compliancemandatory This method must be implemented.
MethodsetPriority
Description

Sets the priority.

Parametersosid.type.Typepriority the new priority
ErrorsINVALID_ARGUMENT priority is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT priority is null
Compliancemandatory This method must be implemented.
MethodclearPriority
Description

Removes the priority.

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

Gets the metadata for a timestamp.

Returnosid.Metadata metadata for the timestamp
Compliancemandatory This method must be implemented.
MethodsetTimestamp
Description

Sets the timestamp.

Parametersosid.calendaring.DateTimetimestamp the new timestamp
ErrorsINVALID_ARGUMENT timestamp is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT timestamp is null
Compliancemandatory This method must be implemented.
MethodgetAgentMetadata
Description

Gets the metadata for the agent.

Returnosid.Metadata metadata for the agent
Compliancemandatory This method must be implemented.
MethodsetAgent
Description

Sets the agent.

Parametersosid.id.IdagentId the new agent
ErrorsINVALID_ARGUMENT agentId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodgetLogEntryFormRecord
Description

Gets the LogEntryFormRecord corresponding to the given log entry record Type.

Parametersosid.type.TypelogEntryRecordType the log entry record type
Returnosid.logging.records.LogEntryFormRecord the log entry form record
ErrorsNULL_ARGUMENT logEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(logEntryRecordType) is false
Compliancemandatory This method must be implemented.