API:EPrints/DataObj/RichDataObj

From EPrints Documentation
Revision as of 11:52, 31 December 2021 by Pod2wiki (talk | contribs) (Created page with "<!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

EPrints::DataObj::RichDataObj - A richer version of a data object

User Comments


DESCRIPTION

UNDER DEVELOPMENT

Designed to extend EPrints::DataObj in a number of generically useful ways, (e.g. add revision history). Not currently used by any data object classes.

Not designed to be instantiated directly.

User Comments


CORE METADATA FIELDS

NONE

User Comments


METHODS

User Comments


Class Methods

User Comments


get_dataset_id

$dataset = EPrints::DataObj::RichDataObj->get_dataset_id

Returns the ID of the EPrints::DataSet object to which this record belongs.

User Comments


indexable

$indexable = EPrints::DataObj::RichDataObj->indexable

Always returns true, as a rich data objects.

User Comments


get_system_field_info

$indexable = EPrints::DataObj::RichDataObj->get_system_field_info

Returns an array describing the system metadata of the rich data object dataset.

In fact, there are no fields for the rich data object dataset, as it is an abstract dataset.

User Comments


create_obj

$richdataobj = EPrints::DataObj::RichDataObj->create_obj( $session, $data )

Creates and returns rich data object based on data $data.

User Comments


delete_obj

EPrints::DataObj::RichDataObj->delete_obj( $session )

Deletes rich data object.

User Comments


Object Methods

User Comments


local_path

$path = $richdataobj->local_path

Returns local path for rich data object.

Needed as well as l<EPrints::DataObj#local_path>.

User Comments


commit

$richdataobj->commit( [ $force ] )

Commit handler to maintain the rev_number.

Set $force to true toforce commit, even if there is no changes.

User Comments


get_control_url

$richdataobj->get_control_url

Returns the control URL for this rich data object.

User Comments


Utility Methods

User Comments


history_update_trigger

EPrints::DataObj::RichDataObj::history_update_trigger( $session, $obj )

Utility method for updating the revision history on the rich data object.

User Comments


COPYRIGHT

© Copyright 2000-2024 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

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/.

User Comments