Package fr.becpg.repo.entity.comparison
Class CompositeComparableItem
java.lang.Object
fr.becpg.repo.entity.comparison.AbstractComparableItem
fr.becpg.repo.entity.comparison.CompositeComparableItem
- All Implemented Interfaces:
Comparable
Comparable item that have children.
- Version:
- $Id: $Id
- Author:
- querephi
-
Field Summary
FieldsFields inherited from class fr.becpg.repo.entity.comparison.AbstractComparableItem
depthLevel, nodeRef, pivot -
Constructor Summary
ConstructorsConstructorDescriptionCompositeComparableItem(int depthLevel, String pivot, org.alfresco.service.cmr.repository.NodeRef nodeRef) Instantiates a new composite comparable item. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(String pivot, AbstractComparableItem item) Adds the.Gets the.Gets the item list.voidremove(String pivot, AbstractComparableItem item) Removes the.voidsetItemList(Map<String, AbstractComparableItem> itemList) Sets the item list.Methods inherited from class fr.becpg.repo.entity.comparison.AbstractComparableItem
getDepthLevel, getNodeRef, getPivot, setDepthLevel, setNodeRef, setPivot
-
Field Details
-
itemList
The item list.
-
-
Constructor Details
-
CompositeComparableItem
public CompositeComparableItem(int depthLevel, String pivot, org.alfresco.service.cmr.repository.NodeRef nodeRef) Instantiates a new composite comparable item.- Parameters:
depthLevel- the depth levelpivot- the pivotnodeRef- the node ref
-
-
Method Details
-
getItemList
Gets the item list.- Returns:
- the item list
-
setItemList
Sets the item list.- Parameters:
itemList- the item list
-
add
Adds the.- Parameters:
pivot- the pivotitem- the item
-
remove
Removes the.- Parameters:
pivot- the pivotitem- the item
-
get
Gets the.- Parameters:
pivot- the pivot- Returns:
- the abstract comparable item
-