Open Journal Systems  3.3.0
DepositObject Class Reference
Inheritance diagram for DepositObject:
DataObject

Public Member Functions

 getContent ()
 
 getDateCreated ()
 
 getDateModified ()
 
 getDepositId ()
 
 getJournalId ()
 
 getObjectId ()
 
 getObjectType ()
 
 setContent ($content)
 
 setDateCreated ($dateCreated)
 
 setDateModified ($dateModified)
 
 setDepositId ($depositId)
 
 setJournalId ($journalId)
 
 setObjectId ($objectId)
 
 setObjectType ($objectType)
 
- Public Member Functions inherited from DataObject
 __construct ()
 
 addSupportedMetadataAdapter ($metadataAdapter)
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
 getDAO ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
 getLocalizedData ($key, $preferredLocale=null)
 
 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)
 
 unsetData ($key, $locale=null)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Data Fields inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing a deposit stored in the PLN.

Definition at line 14 of file DepositObject.inc.php.

Member Function Documentation

◆ getContent()

DepositObject::getContent ( )

Get the content object that's referenced by this deposit object

Returns
Object (Issue,Submission)

Definition at line 19 of file DepositObject.inc.php.

References DAORegistry\getDAO(), getJournalId(), getObjectId(), and getObjectType().

◆ getDateCreated()

DepositObject::getDateCreated ( )

Get the date of deposit object creation

Returns
DateTime

Definition at line 115 of file DepositObject.inc.php.

References DataObject\getData().

◆ getDateModified()

DepositObject::getDateModified ( )

Get the modification date of the deposit object

Returns
DateTime

Definition at line 131 of file DepositObject.inc.php.

References DataObject\getData().

◆ getDepositId()

DepositObject::getDepositId ( )

Get the id of the deposit which includes this deposit object

Returns
int

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

References DataObject\getData().

◆ getJournalId()

DepositObject::getJournalId ( )

Get the journal id of this deposit object

Returns
int

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

References DataObject\getData().

Referenced by getContent().

◆ getObjectId()

DepositObject::getObjectId ( )

Get the id of the object being referenced by this deposit object

Returns
int

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

References DataObject\getData().

Referenced by getContent().

◆ getObjectType()

DepositObject::getObjectType ( )

Get type of the object being referenced by this deposit object

Returns
string

Definition at line 51 of file DepositObject.inc.php.

References DataObject\getData().

Referenced by getContent().

◆ setContent()

DepositObject::setContent (   $content)

Set the content object that's referenced by this deposit object

Parameters
$contentObject (Issue,Submission)

Definition at line 38 of file DepositObject.inc.php.

References setObjectId(), and setObjectType().

◆ setDateCreated()

DepositObject::setDateCreated (   $dateCreated)

Set the date of deposit object creation

Parameters
$dateCreatedDateTime

Definition at line 123 of file DepositObject.inc.php.

References DataObject\setData().

◆ setDateModified()

DepositObject::setDateModified (   $dateModified)

Set the modification date of the deposit object

Parameters
$dateModifiedDateTime

Definition at line 139 of file DepositObject.inc.php.

References DataObject\setData().

◆ setDepositId()

DepositObject::setDepositId (   $depositId)

Set the id of the deposit which includes this deposit object

Parameters
int

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

References DataObject\setData().

◆ setJournalId()

DepositObject::setJournalId (   $journalId)

Set the journal id of this deposit object

Parameters
int

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

References DataObject\setData().

◆ setObjectId()

DepositObject::setObjectId (   $objectId)

Set the id of the object being referenced by this deposit object

Parameters
int

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

References DataObject\setData().

Referenced by setContent().

◆ setObjectType()

DepositObject::setObjectType (   $objectType)

Set type of the object being referenced by this deposit object

Parameters
string

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

References DataObject\setData().

Referenced by setContent().


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