Interface TransientItemStateFactory
-
- All Superinterfaces:
ItemStateFactory
- All Known Implementing Classes:
TransientISFactory
public interface TransientItemStateFactory extends ItemStateFactory
TransientItemStateFactoryextends 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 NodeStatecreateNewNodeState(NodeEntry entry, Name nodeTypeName, QNodeDefinition definition)Creates a transient childNodeStatewith the givenname.PropertyStatecreateNewPropertyState(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 childNodeStatewith 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
-
-