public class JcrFolder extends JcrNode
Node.JcrNode.PropertyUpdaterDATE_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, 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, updatePropertiespublic 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.CmisRuntimeExceptionpublic JcrNode addNodeFromSource(JcrDocument source, Properties properties)
CmisStorageExceptionpublic void delete(boolean allVersions,
boolean isPwc)
delete in class JcrNodeCmisRuntimeExceptionpublic FailedToDeleteDataImpl deleteTree()
protected void compileProperties(PropertiesImpl properties, Set<String> filter, ObjectInfoImpl objectInfo) throws javax.jcr.RepositoryException
JcrNodecompileProperties in class JcrNodeproperties - compilation of propertiesjavax.jcr.RepositoryExceptionprotected Set<Action> compileAllowableActions(Set<Action> aas)
JcrNodecompileAllowableActions in class JcrNodeaas - compilation of allowed actionsprotected javax.jcr.Node getContextNode()
JcrNodegetContextNode in class JcrNodeprotected String getObjectId() throws javax.jcr.RepositoryException
getObjectId in class JcrNodejavax.jcr.RepositoryExceptionprotected BaseTypeId getBaseTypeId()
getBaseTypeId in class JcrNodecmis:baseTypeId propertyprotected String getTypeIdInternal()
getTypeIdInternal in class JcrNodecmis:objectTypeId propertypublic static void setProperties(javax.jcr.Node node,
TypeDefinition type,
Properties properties)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.