|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($args) | |
| executeActions () | |
| getName () | |
Public Member Functions inherited from ScheduledTask | |
| addExecutionLogEntry ($message, $type=null) | |
| execute () | |
| getHelper () | |
| getProcessId () | |
Data Fields | |
| $_plugin | |
Protected Member Functions | |
| _processHavingUpdatedContent (&$journal) | |
| _processNeedPackaging ($journal) | |
| _processNeedTransferring ($journal) | |
| _processNewDepositObjects ($journal) | |
| _processStatusUpdates ($journal) | |
Definition at line 17 of file Depositor.inc.php.
| Depositor::__construct | ( | $args | ) |
Constructor.
| $args | array task arguments |
Reimplemented from ScheduledTask.
Definition at line 29 of file Depositor.inc.php.
References PluginRegistry\getPlugin(), and PluginRegistry\loadCategory().
|
protected |
| $journal | Journal Object |
Go thourgh the deposits and mark them as updated if they have been
Definition at line 169 of file Depositor.inc.php.
References DAORegistry\getDAO().
Referenced by executeActions().
|
protected |
Create packages for any deposits that don't have any or have been updated
| $journal | Journal Object |
Definition at line 204 of file Depositor.inc.php.
References ScheduledTask\addExecutionLogEntry(), and DAORegistry\getDAO().
Referenced by executeActions().
|
protected |
If a deposit hasn't been transferred, transfer it
| $journal | Journal Object |
Definition at line 179 of file Depositor.inc.php.
References ScheduledTask\addExecutionLogEntry(), and DAORegistry\getDAO().
Referenced by executeActions().
|
protected |
Create new deposits for deposit objects
| $journal | Journal Object |
Definition at line 236 of file Depositor.inc.php.
References DAORegistry\getDAO().
Referenced by executeActions().
|
protected |
Go through existing deposits and fetch their status from the PLN
| $journal | Journal |
Definition at line 144 of file Depositor.inc.php.
References ScheduledTask\addExecutionLogEntry(), and DAORegistry\getDAO().
Referenced by executeActions().
| Depositor::executeActions | ( | ) |
Implement this method to execute the task actions.
Reimplemented from ScheduledTask.
Definition at line 45 of file Depositor.inc.php.
References _processHavingUpdatedContent(), _processNeedPackaging(), _processNeedTransferring(), _processNewDepositObjects(), _processStatusUpdates(), ScheduledTask\addExecutionLogEntry(), and DAORegistry\getDAO().
| Depositor::getName | ( | ) |
Get the scheduled task name. Override to define a custom task name.
Reimplemented from ScheduledTask.
Definition at line 38 of file Depositor.inc.php.
| Object Depositor::$_plugin |
Definition at line 23 of file Depositor.inc.php.