public class DbHierarchy extends Hierarchy
| Constructor and Description |
|---|
DbHierarchy(String code,
short levels,
short sectionSize) |
DbHierarchy(String code,
short levels,
short sectionSize,
DbHierarchyStorage storage) |
canEqual, equals, getAllChildItems, getChildItems, getCode, getItem, getLeafItems, getLevels, getParentItem, getParentItems, getRootItems, getSectionSize, getStorage, hashCode, printTree, toStringpublic DbHierarchy(String code, short levels, short sectionSize)
public DbHierarchy(String code, short levels, short sectionSize, DbHierarchyStorage storage)
public void setStorage(HierarchyStorage storage)
setStorage in class Hierarchy@Nonnull public HierarchyItem createRootItem(@Nonnull String externalId) throws SectionExhausted
createRootItem in class HierarchySectionExhausted@Nonnull public HierarchyItem createRootItem(@Nonnull String externalId, String before) throws PivotHierarchyNodeNotFound, SectionExhausted
createRootItem in class HierarchyPivotHierarchyNodeNotFoundSectionExhausted@Nonnull public HierarchyItem createItem(@Nonnull String externalId, @Nonnull String withParent) throws PivotHierarchyNodeNotFound, SectionExhausted, MaxLevelExceeded
createItem in class HierarchyPivotHierarchyNodeNotFoundSectionExhaustedMaxLevelExceeded@Nonnull public HierarchyItem createItem(@Nonnull String externalId, @Nonnull String withParent, String before) throws PivotHierarchyNodeNotFound, SectionExhausted, MaxLevelExceeded
createItem in class HierarchyPivotHierarchyNodeNotFoundSectionExhaustedMaxLevelExceededpublic void removeItem(@Nonnull String externalId) throws PivotHierarchyNodeNotFound
removeItem in class HierarchyPivotHierarchyNodeNotFoundpublic void moveItemBetweenLevelsBefore(@Nonnull String externalId, @Nonnull String withParent, @Nonnull String before)
moveItemBetweenLevelsBefore in class Hierarchypublic void moveItemBetweenLevelsBefore(@Nonnull String externalId, @Nonnull String before)
moveItemBetweenLevelsBefore in class Hierarchypublic void moveItemBetweenLevelsAfter(@Nonnull String externalId, @Nonnull String withParent, @Nonnull String after)
moveItemBetweenLevelsAfter in class Hierarchypublic void moveItemBetweenLevelsAfter(@Nonnull String externalId, @Nonnull String after)
moveItemBetweenLevelsAfter in class Hierarchypublic void moveItemBetweenLevelsFirst(@Nonnull String externalId)
moveItemBetweenLevelsFirst in class Hierarchypublic void moveItemBetweenLevelsFirst(@Nonnull String externalId, @Nonnull String withParent)
moveItemBetweenLevelsFirst in class Hierarchypublic void moveItemBetweenLevelsLast(@Nonnull String externalId, @Nonnull String withParent)
moveItemBetweenLevelsLast in class Hierarchypublic void moveItemBetweenLevelsLast(@Nonnull String externalId)
moveItemBetweenLevelsLast in class Hierarchypublic void moveItemBefore(@Nonnull String externalId, @Nonnull String before) throws PivotHierarchyNodeNotFound
moveItemBefore in class HierarchyPivotHierarchyNodeNotFoundpublic void moveItemAfter(@Nonnull String externalId, @Nonnull String after) throws PivotHierarchyNodeNotFound
moveItemAfter in class HierarchyPivotHierarchyNodeNotFoundpublic void moveItemToFirst(@Nonnull String externalId) throws PivotHierarchyNodeNotFound
moveItemToFirst in class HierarchyPivotHierarchyNodeNotFoundpublic void moveItemToLast(@Nonnull String externalId) throws PivotHierarchyNodeNotFound
moveItemToLast in class HierarchyPivotHierarchyNodeNotFoundCopyright © 2022 FG Forrest, a.s.. All rights reserved.