Class HarmoniEntry

Description

Contains the logged item, its format type, its priority type, and the time the item was logged.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/core/oki2/logging/HarmoniEntry.class.php (line 30)

Entry
   |
   --HarmoniEntry
Method Summary
object HarmoniEntry (mixed $timestamp, mixed $category, mixed $description, mixed $backtrace, mixed $agents, mixed $nodes, object Type $formatType, object Type $priorityType, mixed $entryItem)
object Type getFormatType ()
object mixed getItem ()
object Type getPriorityType ()
object Timestamp getTimestamp ()
Methods
Constructor HarmoniEntry (line 44)

Constructor

  • since: 3/1/06
  • access: public
object HarmoniEntry (mixed $timestamp, mixed $category, mixed $description, mixed $backtrace, mixed $agents, mixed $nodes, object Type $formatType, object Type $priorityType, mixed $entryItem)
  • mixed $entryItem
  • object Type $formatType
  • object Type $priorityType
getFormatType (line 112)

Return the format type of logged item.

  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED
object Type getFormatType ()

Redefinition of:
Entry::getFormatType()
Return the format type of logged item.
getItem (line 90)

Return the logged item.

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED
object mixed getItem ()

Redefinition of:
Entry::getItem()
Return the logged item.
getPriorityType (line 134)

Return the format type of logged item.

  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED
object Type getPriorityType ()

Redefinition of:
Entry::getPriorityType()
Return the format type of logged item.
getTimestamp (line 157)

Return the time that the item was logged.

  • return: OSID specifies returning an int (Unix timestamp) but we might as well use our nice primitives.
  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED
object Timestamp getTimestamp ()

Redefinition of:
Entry::getTimestamp()
Return the time that the item was logged.

Inherited Methods

Inherited From Entry

Entry::getFormatType()
Entry::getItem()
Entry::getPriorityType()
Entry::getTimestamp()

Documentation generated on Wed, 19 Sep 2007 10:23:52 -0400 by phpDocumentor 1.3.0RC3