public class CatalogGroupSelectionChainEntry
extends java.lang.Object
CatalogGroupSelectionChainEntry
is a wrapper for CatalogGroupSelection
with
some additional information such as direct ancestor chain entry and direct descendant chain
entry list.Constructor and Description |
---|
CatalogGroupSelectionChainEntry(CatalogGroupSelectionChain chain,
CatalogGroupSelection catGroupSelection)
The constructor of
CatalogGroupSelectionChainEntry . |
Modifier and Type | Method and Description |
---|---|
void |
addDirectDescendantChainEntry(CatalogGroupSelectionChainEntry chainEntry)
Add a direct descendant chain entry into list.
|
CatalogGroupSelection |
getCatalogGroupSelection()
Get catalog group of the chain entry.
|
CatalogGroupSelectionChain |
getChain()
Get catalog group selection chain.
|
CatalogGroupSelectionChainEntry |
getDirectAncestorChainEntry()
Get direct ancestor chain entry
|
java.util.List<CatalogGroupSelectionChainEntry> |
getDirectDescendantChainEntryList()
Get the direct descendant chain entry list.
|
java.util.List<java.lang.Long> |
getRelativeCatalogNavigationPath()
Get the relative catalog navigation path.
|
void |
setDirectAncestorChainEntry(CatalogGroupSelectionChainEntry directAncestorChainEntry)
Set direct ancestor chain entry
|
void |
setDirectDescendantChainEntryList(java.util.List<CatalogGroupSelectionChainEntry> directDescendantChainEntryList)
Set the direct descendant chain entry list.
|
void |
setRelativeCatalogNavigationPath(java.util.List<java.lang.Long> relativeCatalogNavigationPath)
Set the relative catalog navigation path.
|
public CatalogGroupSelectionChainEntry(CatalogGroupSelectionChain chain, CatalogGroupSelection catGroupSelection)
CatalogGroupSelectionChainEntry
.chain
- The catalog group selection chain.catGroupSelection
- The catalog group selection.public CatalogGroupSelection getCatalogGroupSelection()
public CatalogGroupSelectionChainEntry getDirectAncestorChainEntry()
public void setDirectAncestorChainEntry(CatalogGroupSelectionChainEntry directAncestorChainEntry)
directAncestorChainEntry
- The direct ancestor chain entry.public void setDirectDescendantChainEntryList(java.util.List<CatalogGroupSelectionChainEntry> directDescendantChainEntryList)
directDescendantChainEntryList
- The direct descendant chain entry list.public java.util.List<CatalogGroupSelectionChainEntry> getDirectDescendantChainEntryList()
public void addDirectDescendantChainEntry(CatalogGroupSelectionChainEntry chainEntry)
chainEntry
- A chain entrypublic CatalogGroupSelectionChain getChain()
public java.util.List<java.lang.Long> getRelativeCatalogNavigationPath()
The relative catalog navigation path begins from ancestor, the absolute catalog navigation path should recursively combine the absolute catalog navigation paths of ancestors and its relative one.
public void setRelativeCatalogNavigationPath(java.util.List<java.lang.Long> relativeCatalogNavigationPath)
relativeCatalogNavigationPath
- The relative catalog navigation path.