Interface Entry

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, Sourceable

public interface Entry extends OsidObject, Sourceable

A blog entry.

  • Method Details

    • getTimestamp

      DateTime getTimestamp()
      Gets the time of this entry.
      Returns:
      the time
      Compliance:
      mandatory - This method must be implemented.
    • getPosterId

      Id getPosterId()
      Gets the poster Id of this entry.
      Returns:
      the poster resource Id
      Compliance:
      mandatory - This method must be implemented.
    • getPoster

      Gets the poster of this entry.
      Returns:
      the poster resource
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getPostingAgentId

      Id getPostingAgentId()
      Gets the posting Id of this entry.
      Returns:
      the posting agent Id
      Compliance:
      mandatory - This method must be implemented.
    • getPostingAgent

      Agent getPostingAgent() throws OperationFailedException
      Gets the posting of this entry.
      Returns:
      the posting agent
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getSubjectLine

      DisplayText getSubjectLine()
      Gets the subject line of this entry.
      Returns:
      the subject
      Compliance:
      mandatory - This method must be implemented.
    • getSummary

      DisplayText getSummary()
      Gets the summary or excerpt of this entry.
      Returns:
      the summary
      Compliance:
      mandatory - This method must be implemented.
    • getText

      DisplayText getText()
      Gets the text of the entry.
      Returns:
      the entry text
      Compliance:
      mandatory - This method must be implemented.
    • getCopyright

      DisplayText getCopyright()
      Gets the copyright statement for this entry.
      Returns:
      the copyright statement
      Compliance:
      mandatory - This method must be implemented.
    • getEntryRecord

      EntryRecord getEntryRecord(Type entryRecordType) throws OperationFailedException
      Gets the record corresponding to the given Entry record Type .This method is used to retrieve an object implementing the requested record. The entryRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(entryRecordType) is true .
      Parameters:
      entryRecordType - the entry record type
      Returns:
      the entry record
      Throws:
      NullArgumentException - entryRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(entryRecordType) is false
      Compliance:
      mandatory - This method must be implemented.