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 Detail

      • createNewNodeState

        NodeState createNewNodeState​(NodeEntry entry,
                                     org.apache.jackrabbit.spi.Name nodeTypeName,
                                     org.apache.jackrabbit.spi.QNodeDefinition definition)
        Creates a transient child NodeState with the given name.
        Parameters:
        entry -
        nodeTypeName -
        definition -
        Returns:
        the created NodeState
      • createNewPropertyState

        PropertyState createNewPropertyState​(PropertyEntry entry,
                                             org.apache.jackrabbit.spi.QPropertyDefinition definition,
                                             org.apache.jackrabbit.spi.QValue[] values,
                                             int propertyType)
                                      throws RepositoryException
        Creates a transient PropertyState.
        Parameters:
        entry -
        definition -
        values -
        propertyType -
        Returns:
        the created PropertyState.
        Throws:
        RepositoryException