public class FedoraTimeMapImpl extends FedoraResourceImpl implements FedoraTimeMap
FedoraResourceImpl.RdfGenerator
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.Variable
CONTAINER_WEBAC_ACL, contextMap, node
CONTENT_DIGEST, CONTENT_SIZE, DEFAULT_DIGEST_ALGORITHM, FCR_ACL, FCR_FIXITY, FCR_METADATA, FCR_VERSIONS, FEDORA_BINARY, FEDORA_CONTAINER, FEDORA_CREATED, FEDORA_CREATEDBY, FEDORA_LASTMODIFIED, FEDORA_LASTMODIFIEDBY, FEDORA_NON_RDF_SOURCE_DESCRIPTION, FEDORA_PAIRTREE, FEDORA_REPOSITORY_ROOT, FEDORA_RESOURCE, FEDORA_SKOLEM, FEDORA_TIME_MAP, FEDORA_TOMBSTONE, FEDORA_WEBAC_ACL, FILENAME, HAS_MIME_TYPE, LDP_BASIC_CONTAINER, LDP_CONTAINER, LDP_DIRECT_CONTAINER, LDP_HAS_MEMBER_RELATION, LDP_INDIRECT_CONTAINER, LDP_INSERTED_CONTENT_RELATION, LDP_IS_MEMBER_OF_RELATION, LDP_MEMBER_RESOURCE, LDP_NON_RDF_SOURCE, LDP_RDF_SOURCE, MEMENTO, MEMENTO_DATETIME, MEMENTO_ORIGINAL, PROXY_FOR, REDIRECTS_TO
Constructor and Description |
---|
FedoraTimeMapImpl(javax.jcr.Node node)
Construct a
FedoraResource from an existing JCR Node |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this resource, and any inbound references to it
|
FedoraResource |
getOriginalResource()
Get the Original Resource for which this resource is a memento.
|
static boolean |
hasMixin(javax.jcr.Node node)
Check if the JCR node has a fedora:TimeMap mixin
|
boolean |
isOriginalResource()
Check if a resource is an original resource
(ie versionable, as opposed to non-versionable resources
like mementos, timemaps, and acls).
|
addType, convertMementoReferences, equals, findMementoByDatetime, findOrCreateAcl, fixDatesIfNecessary, getAcl, getChild, getChildren, getContainer, getCreatedDate, getDescribedResource, getDescription, getDescriptionNode, getEtagValue, getLastModifiedDate, getMementoDatetime, getNode, getPath, getProperty, getSession, getTimeMap, getTriples, getTriples, getTypes, hashCode, hasProperty, hasType, isAcl, isMemento, isNew, removeReferences, replaceProperties, toString, touch, updateProperties
findOrCreateChild, 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, setDebug, uploadFile, uploadFile, uploadFile, uploadFileAndBlock, uploadFileAndBlock, uploadFileAndBlock, uploadFilesAndBlock, var, vars, withSession
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addType, findMementoByDatetime, findOrCreateAcl, getAcl, getChild, getChildren, getChildren, getContainer, getCreatedDate, getDescribedResource, getDescription, getEtagValue, getLastModifiedDate, getMementoDatetime, getPath, getTimeMap, getTriples, getTriples, getTypes, hasProperty, hasType, isAcl, isMemento, isNew, replaceProperties, updateProperties
public FedoraTimeMapImpl(javax.jcr.Node node)
FedoraResource
from an existing JCR Nodenode
- an existing JCR node to be treated as a fcrepo objectpublic boolean isOriginalResource()
FedoraResource
isOriginalResource
in interface FedoraResource
isOriginalResource
in class FedoraResourceImpl
public void delete()
FedoraResource
delete
in interface FedoraResource
delete
in class FedoraResourceImpl
public static boolean hasMixin(javax.jcr.Node node)
node
- the JCR nodepublic FedoraResource getOriginalResource()
FedoraResource
getOriginalResource
in interface FedoraResource
getOriginalResource
in interface FedoraTimeMap
getOriginalResource
in class FedoraResourceImpl
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.