public class DefaultDocumentTypeHandler extends AbstractJcrTypeHandler implements JcrDocumentTypeHandler
pathManager, typeHandlerManager, typeManager| Constructor and Description |
|---|
DefaultDocumentTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContentNodeMixins(javax.jcr.Node contentNode) |
protected void |
addFileNodeMixins(javax.jcr.Node fileNode,
VersioningState versioningState) |
boolean |
canHandle(javax.jcr.Node node) |
JcrNode |
createDocument(JcrFolder parentFolder,
String name,
Properties properties,
ContentStream contentStream,
VersioningState versioningState)
See CMIS 1.0 section 2.2.4.1 createDocument
|
IdentifierMap |
getIdentifierMap()
Used by QueryTranslator to translate CMIS queries to JCR queries.
|
JcrDocument |
getJcrNode(javax.jcr.Node node) |
protected JcrNode |
getJcrNode(javax.jcr.Node fileNode,
VersioningState versioningState) |
TypeDefinition |
getTypeDefinition() |
String |
getTypeId() |
protected void |
setContentNodeProperties(javax.jcr.Node contentNode,
Properties properties) |
protected String |
supportedVersioningType(javax.jcr.Node node) |
protected void |
updateContentNode(ContentStream contentStream,
javax.jcr.Node contentNode) |
initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic String getTypeId()
getTypeId in interface JcrTypeHandlerpublic TypeDefinition getTypeDefinition()
getTypeDefinition in interface JcrTypeHandlerpublic IdentifierMap getIdentifierMap()
JcrTypeHandlerpublic JcrDocument getJcrNode(javax.jcr.Node node) throws javax.jcr.RepositoryException
getJcrNode in interface JcrDocumentTypeHandlergetJcrNode in interface JcrTypeHandlerjavax.jcr.RepositoryExceptionpublic boolean canHandle(javax.jcr.Node node)
throws javax.jcr.RepositoryException
canHandle in interface JcrTypeHandlerjavax.jcr.RepositoryExceptionprotected String supportedVersioningType(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic JcrNode createDocument(JcrFolder parentFolder, String name, Properties properties, ContentStream contentStream, VersioningState versioningState)
JcrDocumentTypeHandlercreateDocument in interface JcrDocumentTypeHandlerprotected JcrNode getJcrNode(javax.jcr.Node fileNode, VersioningState versioningState) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected void updateContentNode(ContentStream contentStream, javax.jcr.Node contentNode) throws IOException, javax.jcr.RepositoryException
IOExceptionjavax.jcr.RepositoryExceptionprotected void setContentNodeProperties(javax.jcr.Node contentNode,
Properties properties)
protected void addContentNodeMixins(javax.jcr.Node contentNode)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected void addFileNodeMixins(javax.jcr.Node fileNode,
VersioningState versioningState)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.