public class NonRdfSourceDescriptionImpl extends FedoraResourceImpl implements NonRdfSourceDescription
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
node
CONTENT_DIGEST, CONTENT_SIZE, DEFAULT_DIGEST_ALGORITHM, 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_TOMBSTONE, 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
Constructor and Description |
---|
NonRdfSourceDescriptionImpl(javax.jcr.Node n)
The JCR node for this datastream
|
Modifier and Type | Method and Description |
---|---|
FedoraResource |
getBaseVersion()
Get the base version for the node
|
FedoraResource |
getDescribedResource()
Get the resource described by this resource
|
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.
|
delete, disableVersioning, enableVersioning, equals, fixDatesIfNecessary, getChild, getChildren, getContainer, getCreatedDate, getDescription, getEtagValue, getLastModifiedDate, getNode, getPath, getProperty, getSession, getTriples, getTriples, getTypes, getUnfrozenResource, getVersion, getVersionedAncestor, getVersionLabelOfFrozenResource, getVersionManager, getVersions, hashCode, hasProperty, hasType, isFrozenResource, isNew, isVersioned, replaceProperties, toString, 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
delete, disableVersioning, enableVersioning, getChild, getChildren, getChildren, getContainer, getCreatedDate, getDescription, getEtagValue, getLastModifiedDate, getPath, getTriples, getTriples, getTypes, getUnfrozenResource, getVersion, getVersionedAncestor, getVersionLabelOfFrozenResource, getVersions, hasProperty, hasType, isFrozenResource, isNew, isVersioned, replaceProperties, updateProperties
public NonRdfSourceDescriptionImpl(javax.jcr.Node n)
n
- an existing Node
public FedoraResource getDescribedResource()
FedoraResource
getDescribedResource
in interface FedoraResource
getDescribedResource
in class FedoraResourceImpl
public FedoraResource getBaseVersion()
FedoraResource
getBaseVersion
in interface FedoraResource
getBaseVersion
in class FedoraResourceImpl
public 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 FedoraResourceImpl
includeMembershipResource
- 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–2017 DuraSpace, Inc.. All rights reserved.