public class JcrFolder extends JcrNode
Node
.JcrNode.PropertyUpdater
DATE_UNKNOWN, pathManager, typeHandlerManager, typeManager, USER_UNKNOWN
Constructor and Description |
---|
JcrFolder(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrTypeHandlerManager typeHandlerManager) |
Modifier and Type | Method and Description |
---|---|
JcrNode |
addNodeFromSource(JcrDocument source,
Properties properties)
See CMIS 1.0 section 2.2.4.2 createDocumentFromSource
|
protected Set<Action> |
compileAllowableActions(Set<Action> aas)
Compile the allowed actions on the CMIS object represented by this instance
See CMIS 1.0 section 2.2.4.6 getAllowableActions
|
protected void |
compileProperties(PropertiesImpl properties,
Set<String> filter,
ObjectInfoImpl objectInfo)
Compile the properties of the CMIS object represented by this instance.
|
void |
delete(boolean allVersions,
boolean isPwc)
See CMIS 1.0 section 2.2.4.14 deleteObject
|
FailedToDeleteDataImpl |
deleteTree()
See CMIS 1.0 section 2.2.4.15 deleteTree
|
protected BaseTypeId |
getBaseTypeId() |
protected javax.jcr.Node |
getContextNode()
Retrieve the context node of the CMIS object represented by this instance.
|
Iterator<JcrNode> |
getNodes()
See CMIS 1.0 section 2.2.3.1 getChildren
|
protected String |
getObjectId() |
protected String |
getTypeIdInternal() |
static void |
setProperties(javax.jcr.Node node,
TypeDefinition type,
Properties properties) |
addPropertyBoolean, addPropertyDateTime, addPropertyId, addPropertyInteger, addPropertyList, addPropertyString, asDocument, asFolder, asVersion, checkAddProperty, compileObjectType, create, getAllowableActions, getBaseVersion, getChangeToken, getCreated, getCreatedBy, getId, getLastModified, getLastModifiedBy, getName, getNode, getNode, getNodeName, getParent, getPropertyLength, getPropertyOrElse, getPropertyOrElse, getTypeId, getVersionHistory, getVersionManager, getVersionSeriesId, isDocument, isFolder, isRoot, isVersionable, move, setAction, toString, updateProperties, updateProperties
public JcrFolder(javax.jcr.Node node, JcrTypeManager typeManager, PathManager pathManager, JcrTypeHandlerManager typeHandlerManager)
public Iterator<JcrNode> getNodes()
JcrNode
. Children which are created in the checked out
state are left out from the iterator.CmisRuntimeException
public JcrNode addNodeFromSource(JcrDocument source, Properties properties)
CmisStorageException
public void delete(boolean allVersions, boolean isPwc)
delete
in class JcrNode
CmisRuntimeException
public FailedToDeleteDataImpl deleteTree()
protected void compileProperties(PropertiesImpl properties, Set<String> filter, ObjectInfoImpl objectInfo) throws javax.jcr.RepositoryException
JcrNode
compileProperties
in class JcrNode
properties
- compilation of propertiesjavax.jcr.RepositoryException
protected Set<Action> compileAllowableActions(Set<Action> aas)
JcrNode
compileAllowableActions
in class JcrNode
aas
- compilation of allowed actionsprotected javax.jcr.Node getContextNode()
JcrNode
getContextNode
in class JcrNode
protected String getObjectId() throws javax.jcr.RepositoryException
getObjectId
in class JcrNode
javax.jcr.RepositoryException
protected BaseTypeId getBaseTypeId()
getBaseTypeId
in class JcrNode
cmis:baseTypeId
propertyprotected String getTypeIdInternal()
getTypeIdInternal
in class JcrNode
cmis:objectTypeId
propertypublic static void setProperties(javax.jcr.Node node, TypeDefinition type, Properties properties)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.