public interface TransientItemStateFactory extends ItemStateFactory
TransientItemStateFactory extends the item state factory and
adds new methods for creating node states and property states that are new.| Modifier and Type | Method and Description |
|---|---|
NodeState |
createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name. |
PropertyState |
createNewPropertyState(PropertyEntry entry,
QPropertyDefinition definition,
QValue[] values,
int propertyType)
Creates a transient
PropertyState. |
addCreationListener, createDeepNodeState, createDeepPropertyState, createNodeState, createPropertyState, createRootState, getChildNodeInfos, getNodeReferences, removeCreationListenerNodeState createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)
NodeState with the given
name.entry - nodeTypeName - definition - NodeStatePropertyState createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType) throws javax.jcr.RepositoryException
PropertyState.entry - definition - values - propertyType - PropertyState.javax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.