Interface TransientItemStateFactory
-
- All Superinterfaces:
ItemStateFactory
- All Known Implementing Classes:
TransientISFactory
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeState
createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)
Creates a transient childNodeState
with the givenname
.PropertyState
createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType)
Creates a transientPropertyState
.-
Methods inherited from interface org.apache.jackrabbit.jcr2spi.state.ItemStateFactory
addCreationListener, createDeepNodeState, createDeepPropertyState, createNodeState, createPropertyState, createRootState, getChildNodeInfos, getNodeReferences, removeCreationListener
-
-
-
-
Method Detail
-
createNewNodeState
NodeState createNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)
Creates a transient childNodeState
with the givenname
.- Parameters:
entry
-nodeTypeName
-definition
-- Returns:
- the created
NodeState
-
createNewPropertyState
PropertyState createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType) throws RepositoryException
Creates a transientPropertyState
.- Parameters:
entry
-definition
-values
-propertyType
-- Returns:
- the created
PropertyState
. - Throws:
RepositoryException
-
-