EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
- 1 NAME
- 2 DESCRIPTION
- 3 CORE METADATA FIELDS
- 4 REFERENCES AND RELATED OBJECTS
- 5 INSTANCE VARIABLES
- 6 METHODS
- 7 SEE ALSO
- 8 COPYRIGHT
EPrints::DataObj::Import - bulk imports logging
This class represents a mass import of record's (i.e. eprint data objects) into a repository.
CORE METADATA FIELDS
Unique ID for the import.
Time import record was created.
Source entity from which this import came.
Location of the imported content (e.g. the file name).
Human-readable description of the import.
Time the import was last started.
Time the import was last successfully completed.
REFERENCES AND RELATED OBJECTS
ID of the user responsible for causing the import.
$fields = EPrints::DataObj::Import->get_system_field_info
Returns an array describing the system metadata of the import dataset.
$dataset = EPrints::DataObj::Import->get_dataset_id
Returns the ID of the EPrints::DataSet object to which this record belongs.
$list = $import->run( $processor )
Run this bulk import. Returns a list of created eprint data objects. $processor is used for reporting errors.
$import->map( $fn, $info )
Maps the function $fn onto every eprint in this import.
$info provides additonal information that may need to be processed by the function $fn.
Clear the contents of this bulk import.
$list = $import->get_list
Returns a list of the items in this import.
$eprint = $import->get_from_source( $sourceid )
Get the eprint that is from this import set and identified by $sourceid.
$dataobj = $import->epdata_to_dataobj( $dataset, $epdata )
Convert $epdata to an eprint data object. If an existing object exists in this import that has the same identifier that object will be used instead of creating a new object.
Also calls set_eprint_import_automatic_fields on the object before writing it to the database.
EPrints::DataObj and EPrints::DataSet.
© Copyright 2022 University of Southampton.
EPrints 3.4 is supplied by EPrints Services.
This file is part of EPrints 3.4 http://www.eprints.org/.
EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.
EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.