OSID Logo
OSID Specifications
blogging package
Version 3.0.0
Interfaceosid.blogging.EntryForm
Implementsosid.OsidObjectForm
osid.OsidSourceableForm
Implemented Byosid.blogging.batch.EntryBatchForm
Used Byosid.blogging.EntryAdminSession
Description

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

MethodgetTimestampMetadata
Description

Gets the metadata for the timestamp.

Returnosid.Metadatametadata for the timestamp
CompliancemandatoryThis method must be implemented.
MethodsetTimestamp
Description

Sets the timestamp.

Parametersosid.calendaring.DateTimetimestampthe new timestamp
ErrorsINVALID_ARGUMENTtimestamp is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtimestamp is null
CompliancemandatoryThis method must be implemented.
MethodclearTimestamp
Description

Clears the poster.

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

Gets the metadata for the poster.

Returnosid.Metadatametadata for the poster
CompliancemandatoryThis method must be implemented.
MethodsetPoster
Description

Sets the poster.

Parametersosid.id.IdresourceIdthe new poster
ErrorsINVALID_ARGUMENTresourceId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearPoster
Description

Clears the poster.

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

Gets the metadata for the subject line.

Returnosid.Metadatametadata for the subject line
CompliancemandatoryThis method must be implemented.
MethodsetSubjectLine
Description

Sets the subject line.

ParametersstringsubjectLinethe new subject line
ErrorsINVALID_ARGUMENTsubjectLine is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsubjectLine is null
CompliancemandatoryThis method must be implemented.
MethodclearSubjectLine
Description

Clears the subject line.

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

Gets the metadata for the summary.

Returnosid.Metadatametadata for the summary
CompliancemandatoryThis method must be implemented.
MethodsetSummary
Description

Sets the summary.

Parametersstringsummarythe new summary
ErrorsINVALID_ARGUMENTsummary is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsummary is null
CompliancemandatoryThis method must be implemented.
MethodclearSummary
Description

Clears the summary.

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

Gets the metadata for the text.

Returnosid.Metadatametadata for the text
CompliancemandatoryThis method must be implemented.
MethodsetText
Description

Sets the text.

Parametersstringtextthe new text
ErrorsINVALID_ARGUMENTtext is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtext is null
CompliancemandatoryThis method must be implemented.
MethodclearText
Description

Clears the text.

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

Gets the metadata for the copyright.

Returnosid.Metadatametadata for the copyright
CompliancemandatoryThis method must be implemented.
MethodsetCopyright
Description

Sets the copyright.

Parametersstringcopyrightthe new copyright
ErrorsINVALID_ARGUMENTcopyright is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcopyright is null
CompliancemandatoryThis method must be implemented.
MethodclearCopyright
Description

Clears the copyright.

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

Gets the EntryFormRecord corresponding to the given Entry record Type .

Parametersosid.type.TypeentryRecordTypethe entry record type
Returnosid.blogging.records.EntryFormRecordthe entry form record
ErrorsNULL_ARGUMENTentryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(entryRecordType) is false
CompliancemandatoryThis method must be implemented.