public class FedoraObjectImpl extends FedoraResourceImpl implements org.fcrepo.kernel.FedoraObject
org.modeshape.jcr.api.JcrTools.BasicOperation, org.modeshape.jcr.api.JcrTools.BrowseContent, org.modeshape.jcr.api.JcrTools.CountNodes, org.modeshape.jcr.api.JcrTools.NodeOperation, org.modeshape.jcr.api.JcrTools.Operation, org.modeshape.jcr.api.JcrTools.PrintNodes, org.modeshape.jcr.api.JcrTools.Variablenode| Constructor and Description |
|---|
FedoraObjectImpl(javax.jcr.Node node)
Construct a FedoraObject from an existing JCR Node
|
FedoraObjectImpl(javax.jcr.Session session,
String path)
Create or find a FedoraDatastream at the given path
|
FedoraObjectImpl(javax.jcr.Session session,
String path,
String nodeType)
Create or find a FedoraObject at the given path
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static boolean |
hasMixin(javax.jcr.Node node)
Check if the node has a fedora:object mixin
|
addVersionLabel, getBaseVersion, getCreatedDate, getEtagValue, getHierarchyTriples, getLastModifiedDate, getModels, getNode, getPath, getPropertiesDataset, getPropertiesDataset, getSize, getTriples, getVersionHistory, getVersionTriples, hasContent, isNew, replaceProperties, updatePropertiesDatasetfindOrCreateChild, findOrCreateChild, findOrCreateNode, findOrCreateNode, findOrCreateNode, findOrCreateNode, getNode, getReadable, getStringValue, importContent, importContent, importContent, importContent, importContent, importContent, importContent, isDebug, onEachNode, onEachNodeBelow, print, printNode, printQuery, printQuery, printQuery, printQuery, printSubgraph, printSubgraph, printSubgraph, registerNodeTypes, removeAllChildren, removeAllChildren, repeatedlyWithSession, resourceUrl, uploadFile, uploadFile, uploadFile, uploadFileAndBlock, uploadFileAndBlock, uploadFileAndBlock, uploadFilesAndBlock, var, vars, withSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddVersionLabel, getBaseVersion, getCreatedDate, getEtagValue, getHierarchyTriples, getLastModifiedDate, getModels, getNode, getPath, getPropertiesDataset, getPropertiesDataset, getSize, getTriples, getVersionHistory, getVersionTriples, hasContent, isNew, replaceProperties, updatePropertiesDatasetpublic FedoraObjectImpl(javax.jcr.Node node)
node - an existing JCR node to treat as an fcrepo objectpublic FedoraObjectImpl(javax.jcr.Session session,
String path,
String nodeType)
throws javax.jcr.RepositoryException
session - the JCR session to use to retrieve the objectpath - the absolute path to the objectnodeType - primary type to assign to created objectjavax.jcr.RepositoryExceptionpublic FedoraObjectImpl(javax.jcr.Session session,
String path)
throws javax.jcr.RepositoryException
session - the JCR session to use to retrieve the objectpath - the absolute path to the objectjavax.jcr.RepositoryExceptionpublic String getName() throws javax.jcr.RepositoryException
getName in interface org.fcrepo.kernel.FedoraObjectjavax.jcr.RepositoryExceptionpublic static boolean hasMixin(javax.jcr.Node node)
node - Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.