Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
DataObjectTombstone Class Reference
Inheritance diagram for DataObjectTombstone:
DataObject

Public Member Functions

 DataObjectTombstone ()
 
 getDataObjectId ()
 
 getDateDeleted ()
 
 getOAIIdentifier ()
 
 getOAISetObjectId ($assocType)
 
 getOAISetObjectsIds ()
 
 getSetName ()
 
 getSetSpec ()
 
 setDataObjectId ($dataObjectId)
 
 setDateDeleted ($dateDeleted)
 
 setOAIIdentifier ($oaiIdentifier)
 
 setOAISetObjectId ($assocType, $assocId)
 
 setOAISetObjectsIds ($OAISetObjectsIds)
 
 setSetName ($setName)
 
 setSetSpec ($setSpec)
 
 stampDateDeleted ()
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Base class for data object tombstones.

Definition at line 16 of file DataObjectTombstone.inc.php.

Member Function Documentation

DataObjectTombstone::DataObjectTombstone ( )

Constructor.

Definition at line 20 of file DataObjectTombstone.inc.php.

DataObjectTombstone::getDataObjectId ( )

get data object id

Returns
int

Definition at line 28 of file DataObjectTombstone.inc.php.

References DataObject\getData().

DataObjectTombstone::getDateDeleted ( )

get date deleted

Returns
date

Definition at line 44 of file DataObjectTombstone.inc.php.

References DataObject\getData().

DataObjectTombstone::getOAIIdentifier ( )

Get oai identifier.

Returns
string

Definition at line 99 of file DataObjectTombstone.inc.php.

References DataObject\getData().

DataObjectTombstone::getOAISetObjectId (   $assocType)

Get an specific object id that is part of the OAI set of this tombstone.

Parameters
$assocTypeint
Returns
int The object id.

Definition at line 117 of file DataObjectTombstone.inc.php.

References getOAISetObjectsIds().

DataObjectTombstone::getOAISetObjectsIds ( )

Get all objects ids that are part of the OAI set of this tombstone.

Returns
array assocType => assocId

Definition at line 144 of file DataObjectTombstone.inc.php.

References DataObject\getData().

Referenced by getOAISetObjectId(), and setOAISetObjectId().

DataObjectTombstone::getSetName ( )

Get oai setName.

Returns
string

Definition at line 83 of file DataObjectTombstone.inc.php.

References DataObject\getData().

DataObjectTombstone::getSetSpec ( )

Get oai setSpec.

Returns
string

Definition at line 67 of file DataObjectTombstone.inc.php.

References DataObject\getData().

DataObjectTombstone::setDataObjectId (   $dataObjectId)

set data object id

Parameters
$dataObjectIdint

Definition at line 36 of file DataObjectTombstone.inc.php.

References DataObject\setData().

DataObjectTombstone::setDateDeleted (   $dateDeleted)

set date deleted

Parameters
$dateDeleteddate

Definition at line 52 of file DataObjectTombstone.inc.php.

References DataObject\setData().

Referenced by stampDateDeleted().

DataObjectTombstone::setOAIIdentifier (   $oaiIdentifier)

Set oai identifier.

Parameters
$oaiIdentifierstring

Definition at line 107 of file DataObjectTombstone.inc.php.

References DataObject\setData().

DataObjectTombstone::setOAISetObjectId (   $assocType,
  $assocId 
)

Set an specific object id that is part of the OAI set of this tombstone.

Parameters
$assocTypeint
$assocIdint

Definition at line 132 of file DataObjectTombstone.inc.php.

References getOAISetObjectsIds(), and setOAISetObjectsIds().

DataObjectTombstone::setOAISetObjectsIds (   $OAISetObjectsIds)

Set all objects ids that are part of the OAI set of this tombstone.

Parameters
$OAISetObjectsIdsarray assocType => assocId

Definition at line 153 of file DataObjectTombstone.inc.php.

References DataObject\setData().

Referenced by setOAISetObjectId().

DataObjectTombstone::setSetName (   $setName)

Set oai setName.

Parameters
$setNamestring

Definition at line 91 of file DataObjectTombstone.inc.php.

References DataObject\setData().

DataObjectTombstone::setSetSpec (   $setSpec)

Set oai setSpec.

Parameters
$setSpecstring

Definition at line 75 of file DataObjectTombstone.inc.php.

References DataObject\setData().

DataObjectTombstone::stampDateDeleted ( )

Stamp the date of the deletion to the current time.

Definition at line 59 of file DataObjectTombstone.inc.php.

References Core\getCurrentDate(), and setDateDeleted().


The documentation for this class was generated from the following file: