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, removeCreationListener
NodeState createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)
NodeState
with the given
name
.entry
- nodeTypeName
- definition
- NodeState
PropertyState createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType) throws RepositoryException
PropertyState
.entry
- definition
- values
- propertyType
- PropertyState
.RepositoryException
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.