Difference between revisions of "Document Object"

From EPrints Documentation
Jump to: navigation, search
(Updated document object with latest info)
m
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
<tr><td>rev_number</td><td>[[int field]]</td><td>The metadata revision number. Increased by 1 every time this record is modified.</td></tr>
 
<tr><td>rev_number</td><td>[[int field]]</td><td>The metadata revision number. Increased by 1 every time this record is modified.</td></tr>
 
<tr><td>files</td><td>multiple [[file field]]</td><td>[[File Object]]s associated with the Document Object</td></tr>
 
<tr><td>files</td><td>multiple [[file field]]</td><td>[[File Object]]s associated with the Document Object</td></tr>
<tr><td>eprintid</td><td>eprint [[itemref field]]</td><td>{[EPrint Object]] of the Document Object</td></tr>
+
<tr><td>eprintid</td><td>eprint [[itemref field]]</td><td>[[EPrint Object]] of the Document Object</td></tr>
 
<tr><td>pos</td><td>[[int field]]</td><td>Position of the Document Object within the EPrint Object (used in URLs)</td></tr>
 
<tr><td>pos</td><td>[[int field]]</td><td>Position of the Document Object within the EPrint Object (used in URLs)</td></tr>
 
<tr><td>placement</td><td>[[int field]]</td><td>Placement of the Document Object within the EPrint Object (used in the workflow/citation ordering)</td></tr>
 
<tr><td>placement</td><td>[[int field]]</td><td>Placement of the Document Object within the EPrint Object (used in the workflow/citation ordering)</td></tr>
Line 21: Line 21:
 
<tr><td>date_embargo_retained</td><td>[[date field]]</td><td>Retained version of the embargo date for once it is lifted.</td></tr>
 
<tr><td>date_embargo_retained</td><td>[[date field]]</td><td>Retained version of the embargo date for once it is lifted.</td></tr>
 
<tr><td>embargo_reason</td><td>[[namedset field]] embargo_reason</td><td>The reason the. document was embargoed</td></tr>
 
<tr><td>embargo_reason</td><td>[[namedset field]] embargo_reason</td><td>The reason the. document was embargoed</td></tr>
<tr><td>content</td><td>[[namedset]]</td>The version (e.g. draft, submitted, published, etc.) of the document.<td></td></tr>
+
<tr><td>content</td><td>[[namedset]]</td><td>The version (e.g. draft, submitted, published, etc.) of the document.</td></tr>
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
Line 38: Line 38:
 
* [[Archives/ARCHIVEID/cfg/namedsets/]]security
 
* [[Archives/ARCHIVEID/cfg/namedsets/]]security
 
* [[Archives/ARCHIVEID/cfg/namedsets/]]licenses
 
* [[Archives/ARCHIVEID/cfg/namedsets/]]licenses
 +
 +
== See Also ==
 +
* [[API:EPrints/DataObj/Document|EPrints::DataObj::Dcocument]] - API page

Latest revision as of 16:00, 18 February 2022

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


Data Objects: Access - Document - EPrint - Event Queue - File - History - Import - Login Ticket - Request - Saved Search - Subject - User

Built in Fields

Field NameTypeDescription
docidint fieldThe ID number of this Document Object (unique within a single repository)
rev_numberint fieldThe metadata revision number. Increased by 1 every time this record is modified.
filesmultiple file fieldFile Objects associated with the Document Object
eprintideprint itemref fieldEPrint Object of the Document Object
posint fieldPosition of the Document Object within the EPrint Object (used in URLs)
placementint fieldPlacement of the Document Object within the EPrint Object (used in the workflow/citation ordering)
mime_typeid fieldMIME type of the primary file of the Document Object.
formatnamedset field documentGeneralised format of the document.
formatdesctext fieldDescription of the format of the document .
languagenamedset field languagesLanguage of the document.
securitynamedset field securitySecurity for accessing the document.
licensenamedset field licensesLicence for the document.
mainset fieldThe filename of the document
date_embargodate fieldThe date the document is emabargoed until.
date_embargo_retaineddate fieldRetained version of the embargo date for once it is lifted.
embargo_reasonnamedset field embargo_reasonThe reason the. document was embargoed
contentnamedsetThe version (e.g. draft, submitted, published, etc.) of the document.

Related configuration files

See Also