Modifier and Type | Method and Description |
---|---|
protected ItemState |
ItemImpl.getItemState()
Returns the item-state associated with this
Item . |
Modifier and Type | Method and Description |
---|---|
boolean |
WorkspaceManager.canRead(ItemState itemState) |
boolean |
WorkspaceManager.canRemove(ItemState itemState) |
void |
ItemManagerImpl.created(ItemState state) |
Item |
ItemCacheImpl.getItem(ItemState state) |
Item |
ItemCache.getItem(ItemState state)
Returns the cached
Item that belongs to the given
ItemState or null if the cache does not
contain that Item . |
boolean |
WorkspaceManager.isGranted(ItemState itemState,
String[] actions) |
void |
ItemManagerImpl.statusChanged(ItemState state,
int previousStatus) |
void |
ItemImpl.statusChanged(ItemState state,
int previousStatus) |
Constructor and Description |
---|
ItemImpl(SessionImpl session,
ItemState state,
ItemLifeCycleListener[] listeners) |
Modifier and Type | Method and Description |
---|---|
ItemState |
HierarchyEntry.getItemState()
If this
HierarchyEntry has already been resolved before
(see HierarchyEntry.isAvailable() ), that ItemState is returned. |
Modifier and Type | Method and 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
|
Modifier and Type | Field and Description |
---|---|
protected ItemState |
Remove.removeState |
protected ItemState |
AbstractRemove.removeState |
Modifier and Type | Method and Description |
---|---|
ItemState |
Remove.getRemoveState() |
Modifier and Type | Method and Description |
---|---|
List<ItemState> |
AddNode.getAddedStates() |
Collection<ItemState> |
Operation.getAffectedItemStates()
A collection of
ItemState s that are affected by this operation. |
Collection<ItemState> |
AbstractOperation.getAffectedItemStates() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOperation.addAffectedItemState(ItemState affectedState)
Adds an affected
ItemState . |
static Operation |
Remove.create(ItemState state) |
static Operation |
Remove.create(ItemState state,
int options) |
Modifier and Type | Method and Description |
---|---|
void |
AddNode.addedState(List<ItemState> newStates) |
Constructor and Description |
---|
AbstractRemove(ItemState removeState,
NodeState parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
AccessManager.canRead(ItemState itemState)
Returns true if the existing item with the given
ItemId 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 specified
permissions are granted
on the item with the specified path. |
Modifier and Type | Class and Description |
---|---|
class |
NodeState
NodeState represents the state of a Node . |
class |
PropertyState
PropertyState represents the state of a Property . |
Modifier and Type | Method and Description |
---|---|
ItemState |
ChangeLog.getTarget() |
Modifier and Type | Method and Description |
---|---|
Set<ItemState> |
ChangeLog.getAffectedStates() |
Modifier and Type | Method and Description |
---|---|
void |
ItemStateValidator.checkRemoveItem(ItemState targetState,
int options)
Checks if removing the given target state is allowed in the current context.
|
void |
TransientItemStateManager.created(ItemState state) |
void |
TransientISFactory.created(ItemState state) |
void |
ItemStateCreationListener.created(ItemState state) |
ItemState.MergeResult |
PropertyState.merge(ItemState another,
boolean keepChanges)
If
keepChanges 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. |
ItemState.MergeResult |
NodeState.merge(ItemState another,
boolean keepChanges) |
abstract ItemState.MergeResult |
ItemState.merge(ItemState another,
boolean keepChanges)
Merge all data from the given state into this state.
|
void |
SessionItemStateManager.save(ItemState state)
This will save
state and all descendants items of
state that are transiently modified in a single step. |
void |
TransientItemStateManager.statusChanged(ItemState state,
int previousStatus)
Depending on status of the given state adapt change log.
|
void |
TransientISFactory.statusChanged(ItemState state,
int previousStatus) |
void |
ItemStateLifeCycleListener.statusChanged(ItemState state,
int previousStatus)
Called after an
ItemState has changed its status. |
void |
SessionItemStateManager.undo(ItemState itemState)
This will undo all changes made to
state and descendant
items of state inside this item state manager. |
Modifier and Type | Method and Description |
---|---|
static String |
LogUtil.safeGetJCRPath(ItemState itemState,
PathResolver pathResolver)
Failsafe conversion of an
ItemState to JCR path for use in
error messages etc. |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.