de.espirit.firstspirit.storage
Interface ChildrenChangeDetail

All Superinterfaces:
RevisionChangeDetail, Serializable

public interface ChildrenChangeDetail
extends RevisionChangeDetail

Interface indicating a change of a children list of the belonging StoreElement

Since:
4.0.120

Method Summary
 List<BasicElementInfo> getAddedElements()
          Returns an unmodifiable list of elements which were added during the change of the belonging children list.
 List<BasicElementInfo> getRemovedElements()
          Returns an unmodifiable list of elements which were removed during the change of the belonging children list.
 Map<BasicElementInfo,Pair<Integer,Integer>> getReorderedElements()
          Returns an unmodifiable map of elements which were reordered during the change of the belonging children list.
 boolean isRelease()
          Returns true if this children change detail belongs to a release children list, false otherwise.
 
Methods inherited from interface de.espirit.firstspirit.storage.RevisionChangeDetail
getChangeType
 

Method Detail

isRelease

boolean isRelease()
Returns true if this children change detail belongs to a release children list, false otherwise.

Since:
4.0.120

getAddedElements

List<BasicElementInfo> getAddedElements()
Returns an unmodifiable list of elements which were added during the change of the belonging children list.

Since:
4.0.120

getRemovedElements

List<BasicElementInfo> getRemovedElements()
Returns an unmodifiable list of elements which were removed during the change of the belonging children list.

Since:
4.0.120

getReorderedElements

Map<BasicElementInfo,Pair<Integer,Integer>> getReorderedElements()
Returns an unmodifiable map of elements which were reordered during the change of the belonging children list.
The value of the map is a pair of (key=oldPosistionIndex, value=newPositionIndex)

Since:
4.0.120


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480