public class FedoraObject extends FedoraResource
org.modeshape.jcr.api.JcrTools.BasicOperation, org.modeshape.jcr.api.JcrTools.BrowseContent, org.modeshape.jcr.api.JcrTools.CountNodes, org.modeshape.jcr.api.JcrTools.Operation, org.modeshape.jcr.api.JcrTools.PrintNodes, org.modeshape.jcr.api.JcrTools.VariableDEFAULT_SUBJECT_FACTORY, nodeCONTENT_DIGEST, CONTENT_SIZE, FCR_CONTENT, FEDORA_BINARY, FEDORA_DATASTREAM, FEDORA_OBJECT, FEDORA_RESOURCE, JCR_CREATED, JCR_CREATEDBY, JCR_LASTMODIFIED, ROOT| Constructor and Description |
|---|
FedoraObject(javax.jcr.Node node)
Construct a FedoraObject from an existing JCR Node
|
FedoraObject(javax.jcr.Session session,
String path)
Create or find a FedoraDatastream at the given path
|
FedoraObject(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, getCreatedDate, getDatasetProblems, getLastModifiedDate, getModels, getNode, getPath, getPropertiesDataset, getPropertiesDataset, getPropertiesDataset, getSize, getVersionDataset, getVersionDataset, hasContent, isNew, updatePropertiesDataset, updatePropertiesDatasetfindOrCreateChild, findOrCreateChild, findOrCreateNode, findOrCreateNode, findOrCreateNode, findOrCreateNode, getNode, getReadable, getStringValue, importContent, importContent, importContent, importContent, importContent, importContent, importContent, isDebug, print, printNode, printQuery, printQuery, printQuery, printQuery, printSubgraph, printSubgraph, printSubgraph, registerNodeTypes, removeAllChildren, removeAllChildren, repeatedlyWithSession, resourceUrl, uploadFile, uploadFile, uploadFile, uploadFileAndBlock, uploadFileAndBlock, uploadFileAndBlock, uploadFilesAndBlock, var, vars, withSessionpublic FedoraObject(javax.jcr.Node node)
node - an existing JCR node to treat as an fcrepo objectpublic FedoraObject(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 objectjavax.jcr.RepositoryExceptionpublic FedoraObject(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
javax.jcr.RepositoryExceptionpublic static boolean hasMixin(javax.jcr.Node node)
throws javax.jcr.RepositoryException
node - javax.jcr.RepositoryExceptionCopyright © 2013 DuraSpace, Inc.. All Rights Reserved.