|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Collaboration diagram for ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher:Public Member Functions | |
| __construct (protected PublisherInterface $publisher, protected SettingsInterface $settings, protected ObjectHandler $object_handler, protected StatusRepository $status_repository, protected ExposedRecordRepository $exposed_record_repository, protected CopyrightSearchFactory $copyright_search_factory, protected LOMRepository $lom_repository, protected SimpleDCXMLWriter $xml_writer, protected ilLogger $logger) | |
| run (Result $result) | |
Protected Member Functions | |
| findHarvestableObjectIDs () | |
| withdrawDeprecatedObjects (array $harvestable_obj_ids, array $currently_harvested_obj_ids) | |
| Returns number of deletions. More... | |
| publishObjects (array $harvestable_obj_ids, array $currently_harvested_obj_ids) | |
| Returns number of published/submitted objects. More... | |
| updatePublishedObjects () | |
| Returns number of changed published records. More... | |
| cleanUpDeletedRecords () | |
| logDebug (string $message) | |
| logError (string $message) | |
Definition at line 35 of file AutomaticPublisher.php.
| ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher::__construct | ( | protected PublisherInterface | $publisher, |
| protected SettingsInterface | $settings, | ||
| protected ObjectHandler | $object_handler, | ||
| protected StatusRepository | $status_repository, | ||
| protected ExposedRecordRepository | $exposed_record_repository, | ||
| protected CopyrightSearchFactory | $copyright_search_factory, | ||
| protected LOMRepository | $lom_repository, | ||
| protected SimpleDCXMLWriter | $xml_writer, | ||
| protected ilLogger | $logger | ||
| ) |
Definition at line 37 of file AutomaticPublisher.php.
|
protected |
Definition at line 221 of file AutomaticPublisher.php.
|
protected |
Definition at line 88 of file AutomaticPublisher.php.
References $results, and ILIAS\Repository\settings().
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 228 of file AutomaticPublisher.php.
References ILIAS\Repository\logger().
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\withdrawDeprecatedObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 233 of file AutomaticPublisher.php.
References ILIAS\Repository\logger().
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\withdrawDeprecatedObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Returns number of published/submitted objects.
| int[] | $harvestable_obj_ids | |
| int[] | $currently_harvested_obj_ids |
Definition at line 152 of file AutomaticPublisher.php.
References Vendor\Package\$e, and ILIAS\Repository\settings().
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\run().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher::run | ( | Result | $result | ) |
Definition at line 50 of file AutomaticPublisher.php.
References Vendor\Package\$e, ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\findHarvestableObjectIDs(), ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\publishObjects(), ILIAS\Repository\settings(), ILIAS\Cron\Job\JobResult\STATUS_FAIL, ILIAS\Cron\Job\JobResult\STATUS_NO_ACTION, ILIAS\Cron\Job\JobResult\STATUS_OK, ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\updatePublishedObjects(), and ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\withdrawDeprecatedObjects().
Here is the call graph for this function:
|
protected |
Returns number of changed published records.
Definition at line 187 of file AutomaticPublisher.php.
References $ref_id.
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\run().
Here is the caller graph for this function:
|
protected |
Returns number of deletions.
| int[] | $harvestable_obj_ids | |
| int[] | $currently_harvested_obj_ids |
Definition at line 119 of file AutomaticPublisher.php.
References Vendor\Package\$e, ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\logDebug(), and ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\logError().
Referenced by ILIAS\MetaData\OERHarvester\CronJob\AutomaticPublisher\run().
Here is the call graph for this function:
Here is the caller graph for this function: