Uses of Class
org.apache.jackrabbit.jcr2spi.state.ItemState
-
-
Uses of ItemState in org.apache.jackrabbit.jcr2spi
Methods in org.apache.jackrabbit.jcr2spi that return ItemState Modifier and Type Method Description protected ItemState
ItemImpl. getItemState()
Returns the item-state associated with thisItem
.Methods in org.apache.jackrabbit.jcr2spi with parameters of type ItemState Modifier and Type Method Description boolean
WorkspaceManager. canRead(ItemState itemState)
boolean
WorkspaceManager. canRemove(ItemState itemState)
void
ItemManagerImpl. created(ItemState state)
Item
ItemCache. getItem(ItemState state)
Returns the cachedItem
that belongs to the givenItemState
ornull
if the cache does not contain thatItem
.Item
ItemCacheImpl. getItem(ItemState state)
boolean
WorkspaceManager. isGranted(ItemState itemState, String[] actions)
void
ItemImpl. statusChanged(ItemState state, int previousStatus)
void
ItemManagerImpl. statusChanged(ItemState state, int previousStatus)
Constructors in org.apache.jackrabbit.jcr2spi with parameters of type ItemState Constructor Description ItemImpl(SessionImpl session, ItemState state, ItemLifeCycleListener[] listeners)
-
Uses of ItemState in org.apache.jackrabbit.jcr2spi.hierarchy
Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return ItemState Modifier and Type Method Description ItemState
HierarchyEntry. getItemState()
If thisHierarchyEntry
has already been resolved before (seeHierarchyEntry.isAvailable()
), thatItemState
is returned.Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type ItemState Modifier and Type Method Description void
UniqueIdResolver. created(ItemState state)
Nothing to do.void
HierarchyEntry. setItemState(ItemState state)
Set the ItemState this hierarchyEntry will be resolved to.void
UniqueIdResolver. statusChanged(ItemState state, int previousStatus)
Updates the internal id-lookup if the given state - is identify by a uniqueID and got removed - was modified and now is identified by a uniqueID - was modified and is not identified by a uniqueID any more -
Uses of ItemState in org.apache.jackrabbit.jcr2spi.operation
Fields in org.apache.jackrabbit.jcr2spi.operation declared as ItemState Modifier and Type Field Description protected ItemState
AbstractRemove. removeState
protected ItemState
Remove. removeState
Methods in org.apache.jackrabbit.jcr2spi.operation that return ItemState Modifier and Type Method Description ItemState
Remove. getRemoveState()
Methods in org.apache.jackrabbit.jcr2spi.operation that return types with arguments of type ItemState Modifier and Type Method Description List<ItemState>
AddNode. getAddedStates()
Collection<ItemState>
AbstractOperation. getAffectedItemStates()
Collection<ItemState>
Operation. getAffectedItemStates()
A collection ofItemState
s that are affected by this operation.Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type ItemState Modifier and Type Method Description protected void
AbstractOperation. addAffectedItemState(ItemState affectedState)
Adds an affectedItemState
.static Operation
Remove. create(ItemState state)
static Operation
Remove. create(ItemState state, int options)
Method parameters in org.apache.jackrabbit.jcr2spi.operation with type arguments of type ItemState Modifier and Type Method Description void
AddNode. addedState(List<ItemState> newStates)
Constructors in org.apache.jackrabbit.jcr2spi.operation with parameters of type ItemState Constructor Description AbstractRemove(ItemState removeState, NodeState parent)
-
Uses of ItemState in org.apache.jackrabbit.jcr2spi.security
Methods in org.apache.jackrabbit.jcr2spi.security with parameters of type ItemState Modifier and Type Method Description boolean
AccessManager. canRead(ItemState itemState)
Returns true if the existing item with the givenItemId
can be read.boolean
AccessManager. canRemove(ItemState itemState)
Returns true if the existing item state can be removed.boolean
AccessManager. isGranted(ItemState itemState, String[] actions)
Determines whether the specifiedpermissions
are granted on the item with the specified path. -
Uses of ItemState in org.apache.jackrabbit.jcr2spi.state
Subclasses of ItemState in org.apache.jackrabbit.jcr2spi.state Modifier and Type Class Description class
NodeState
NodeState
represents the state of aNode
.class
PropertyState
PropertyState
represents the state of aProperty
.Methods in org.apache.jackrabbit.jcr2spi.state that return ItemState Modifier and Type Method Description ItemState
ChangeLog. getTarget()
Methods in org.apache.jackrabbit.jcr2spi.state that return types with arguments of type ItemState Modifier and Type Method Description Set<ItemState>
ChangeLog. getAffectedStates()
Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type ItemState Modifier and Type Method Description void
ItemStateValidator. checkRemoveItem(ItemState targetState, int options)
Checks if removing the given target state is allowed in the current context.void
ItemStateCreationListener. created(ItemState state)
void
TransientISFactory. created(ItemState state)
void
TransientItemStateManager. created(ItemState state)
abstract ItemState.MergeResult
ItemState. merge(ItemState another, boolean keepChanges)
Merge all data from the given state into this state.ItemState.MergeResult
NodeState. merge(ItemState another, boolean keepChanges)
ItemState.MergeResult
PropertyState. merge(ItemState another, boolean keepChanges)
IfkeepChanges
is true, this method only compares the existing values with the values from 'another' and returns true, if the underlying persistent state is different to the stored persistent values.void
SessionItemStateManager. save(ItemState state)
This will savestate
and all descendants items ofstate
that are transiently modified in a single step.void
ItemStateLifeCycleListener. statusChanged(ItemState state, int previousStatus)
Called after anItemState
has changed its status.void
TransientISFactory. statusChanged(ItemState state, int previousStatus)
void
TransientItemStateManager. statusChanged(ItemState state, int previousStatus)
Depending on status of the given state adapt change log.void
SessionItemStateManager. undo(ItemState itemState)
This will undo all changes made tostate
and descendant items ofstate
inside this item state manager. -
Uses of ItemState in org.apache.jackrabbit.jcr2spi.util
Methods in org.apache.jackrabbit.jcr2spi.util with parameters of type ItemState Modifier and Type Method Description static String
LogUtil. safeGetJCRPath(ItemState itemState, PathResolver pathResolver)
Failsafe conversion of anItemState
to JCR path for use in error messages etc.
-