public class NonRdfSourceDescriptionImpl extends FedoraResourceImpl implements NonRdfSourceDescription
FedoraResourceImpl.RdfGeneratororg.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.VariableCONTAINER_WEBAC_ACL, contextMap, LDPCV_TIME_MAP, nodeCONTENT_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 |
|---|
NonRdfSourceDescriptionImpl(javax.jcr.Node n)
The JCR node for this datastream
|
| Modifier and Type | Method and Description |
|---|---|
FedoraResource |
getDescribedResource()
Get the resource described by this resource
|
RdfStream |
getTriples(IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Set<? extends TripleCategory> contexts)
Return the RDF properties of this object using the provided contexts
|
static boolean |
hasMixin(javax.jcr.Node node)
Check if the node has a fedora:datastream mixin
|
void |
touch(boolean includeMembershipResource,
Calendar createdDate,
String createdUser,
Calendar modifiedDate,
String modifyingUser)
Overrides the superclass to propagate updates to certain properties to the binary if explicitly set.
|
addType, convertMementoReferences, delete, equals, findMementoByDatetime, findOrCreateAcl, fixDatesIfNecessary, getAcl, getChild, getChildren, getContainer, getCreatedDate, getDescription, getDescriptionNode, getEtagValue, getLastModifiedDate, getMementoDatetime, getNode, getOriginalResource, getPath, getProperty, getSession, getTimeMap, getTriples, getTypes, hashCode, hasProperty, hasType, isAcl, isMemento, isNew, isOriginalResource, removeReferences, replaceProperties, toString, updatePropertiesfindOrCreateChild, 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, withSessionclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddType, delete, findMementoByDatetime, findOrCreateAcl, getAcl, getChild, getChildren, getChildren, getContainer, getCreatedDate, getDescription, getEtagValue, getLastModifiedDate, getMementoDatetime, getOriginalResource, getPath, getTimeMap, getTriples, getTypes, hasProperty, hasType, isAcl, isMemento, isNew, isOriginalResource, replaceProperties, updatePropertiespublic NonRdfSourceDescriptionImpl(javax.jcr.Node n)
n - an existing Nodepublic FedoraResource getDescribedResource()
FedoraResourcegetDescribedResource in interface FedoraResourcegetDescribedResource in class FedoraResourceImplpublic RdfStream getTriples(IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator, Set<? extends TripleCategory> contexts)
FedoraResourcegetTriples in interface FedoraResourcegetTriples in class FedoraResourceImplidTranslator - the property of idTranslatorcontexts - the provided contextspublic static boolean hasMixin(javax.jcr.Node node)
node - node to checkpublic void touch(boolean includeMembershipResource, Calendar createdDate, String createdUser, Calendar modifiedDate, String modifyingUser) throws javax.jcr.RepositoryException
touch in class FedoraResourceImplincludeMembershipResource - true if this touch should propagate through to
ldp membership resourcescreatedDate - the date to which the created date should be set or null to leave it unchangedcreatedUser - the user to which the created by should be set or null to leave it unchangedmodifiedDate - the date to which the modified date should be set or null to use nowmodifyingUser - the user making the modification or null to use the current userjavax.jcr.RepositoryException - an error occurs while updating the repositoryCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.