|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.jcr.JcrNode
org.apache.chemistry.opencmis.jcr.JcrFolder
public class JcrFolder
Instances of this class represent a cmis:folder backed by an underlying JCR Node
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.chemistry.opencmis.jcr.JcrNode |
---|
JcrNode.PropertyUpdater |
Field Summary |
---|
Fields inherited from class org.apache.chemistry.opencmis.jcr.JcrNode |
---|
DATE_UNKNOWN, pathManager, typeManager, USER_UNKNOWN |
Constructor Summary | |
---|---|
JcrFolder(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrNodeFactory nodeFactory)
|
Method Summary | |
---|---|
JcrNode |
addFolder(String name,
String typeId,
Properties properties)
See CMIS 1.0 section 2.2.4.3 createFolder |
JcrNode |
addNode(String name,
String typeId,
Properties properties,
ContentStream contentStream,
VersioningState versioningState)
See CMIS 1.0 section 2.2.4.1 createDocument |
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(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl properties,
Set<String> filter,
org.apache.chemistry.opencmis.commons.impl.server.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 |
org.apache.chemistry.opencmis.commons.impl.dataobjects.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()
|
Methods inherited from class org.apache.chemistry.opencmis.jcr.JcrNode |
---|
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, updateProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JcrFolder(javax.jcr.Node node, JcrTypeManager typeManager, PathManager pathManager, JcrNodeFactory nodeFactory)
Method Detail |
---|
public Iterator<JcrNode> getNodes()
JcrNode
. Children which are created in the checked out
state are left out from the iterator.
CmisRuntimeException
public JcrNode addNode(String name, String typeId, Properties properties, ContentStream contentStream, VersioningState versioningState)
CmisStorageException
public JcrNode addNodeFromSource(JcrDocument source, Properties properties)
CmisStorageException
public JcrNode addFolder(String name, String typeId, Properties properties)
CmisStorageException
public void delete(boolean allVersions, boolean isPwc)
delete
in class JcrNode
CmisRuntimeException
public org.apache.chemistry.opencmis.commons.impl.dataobjects.FailedToDeleteDataImpl deleteTree()
protected void compileProperties(org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl properties, Set<String> filter, org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo) throws javax.jcr.RepositoryException
JcrNode
compileProperties
in class JcrNode
properties
- compilation of properties
javax.jcr.RepositoryException
protected Set<Action> compileAllowableActions(Set<Action> aas)
JcrNode
compileAllowableActions
in class JcrNode
aas
- compilation of allowed actions
protected 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
property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |