Open Journal Systems  3.3.0
SupplementaryFileDAODelegate Class Reference
Inheritance diagram for SupplementaryFileDAODelegate:
SubmissionFileDAODelegate DAO

Public Member Functions

 deleteObject ($submissionFile)
 
 getAdditionalFieldNames ()
 
 getLocaleFieldNames ()
 
 insertObject ($supplementaryFile, $sourceFile, $isUpload=false)
 
 newDataObject ()
 
 updateObject ($suppFile, $previousFile)
 
- Public Member Functions inherited from SubmissionFileDAODelegate
 _deleteDependentObjects ($submissionFile)
 
 _updateDependentObjects ($submissionFile, $previousFile)
 
 changePubId ($pubObjectId, $pubIdType, $pubId)
 
 deleteAllPubIds ($contextId, $pubIdType)
 
 deletePubId ($pubObjectId, $pubIdType)
 
 fromRow ($row)
 
 pubIdExists ($pubIdType, $pubId, $excludePubObjectId, $contextId)
 
 updateLocaleFields ($submissionFile)
 
- Public Member Functions inherited from DAO
 __construct ($dataSource=null, $callHooks=true)
 
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAffectedRows ()
 
 getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject)
 
 getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getType ($value)
 
 handleError ($dataSource, $sql)
 
 nullOrInt ($value)
 
 replace ($table, $arrFields, $keyCols)
 
retrieve ($sql, $params=false, $callHooks=true)
 
retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true)
 
retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true)
 
retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true)
 
 setCacheDir ()
 
 setDataSource ($dataSource)
 
 update ($sql, $params=false, $callHooks=true, $dieOnError=true)
 
 updateDataObjectSettings ($tableName, $dataObject, $idArray)
 

Additional Inherited Members

- Static Public Member Functions inherited from DAO
static getDataChangedEvent ($elementId=null, $parentElementId=null, $content='')
 
- Data Fields inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table='', $id='')
 

Detailed Description

Base class for operations for retrieving and modifying SupplementaryFile objects.

See also
SupplementaryFile

The SubmissionFileDAO will delegate to this class if it wishes to access SupplementaryFile classes.

Definition at line 23 of file SupplementaryFileDAODelegate.inc.php.

Member Function Documentation

◆ deleteObject()

SupplementaryFileDAODelegate::deleteObject (   $submissionFile)

Delete a submission file from the database.

Parameters
$submissionFileSubmissionFile
Returns
boolean

Reimplemented from SubmissionFileDAODelegate.

Definition at line 84 of file SupplementaryFileDAODelegate.inc.php.

References DAO\update().

◆ getAdditionalFieldNames()

SupplementaryFileDAODelegate::getAdditionalFieldNames ( )

Get a list of additional field names to store in this DAO. This can be used to extend the table with virtual "columns", typically using the ..._settings table.

Returns
array List of strings representing field names.

Reimplemented from SubmissionFileDAODelegate.

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

◆ getLocaleFieldNames()

SupplementaryFileDAODelegate::getLocaleFieldNames ( )

Get locale field names. Like getAdditionalFieldNames, but for localized (multilingual) fields.

See also
getAdditionalFieldNames
Returns
array Array of string field names.

Reimplemented from SubmissionFileDAODelegate.

Definition at line 103 of file SupplementaryFileDAODelegate.inc.php.

◆ insertObject()

SupplementaryFileDAODelegate::insertObject (   $supplementaryFile,
  $sourceFile,
  $isUpload = false 
)
See also
SubmissionFileDAODelegate::insert()
Parameters
$supplementaryFileSupplementaryFile
Returns
SupplementaryFile|null

Reimplemented from SubmissionFileDAODelegate.

Definition at line 34 of file SupplementaryFileDAODelegate.inc.php.

References DAO\update().

◆ newDataObject()

SupplementaryFileDAODelegate::newDataObject ( )

Construct a new data object corresponding to this DAO.

Returns
SubmissionFile

Reimplemented from SubmissionFileDAODelegate.

Definition at line 127 of file SupplementaryFileDAODelegate.inc.php.

◆ updateObject()

SupplementaryFileDAODelegate::updateObject (   $suppFile,
  $previousFile 
)
See also
SubmissionFileDAODelegate::update()
Parameters
$suppFileSupplementaryFile
$previousFileSupplementaryFile
Returns
boolean True if success.

Reimplemented from SubmissionFileDAODelegate.

Definition at line 60 of file SupplementaryFileDAODelegate.inc.php.

References DAO\update().


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