Class TreeStorageNodeInstance<V extends AbstractEntity>
- java.lang.Object
- 
- org.keycloak.models.map.storage.tree.DefaultTreeNode<TreeStorageNodeInstance<V>>
- 
- org.keycloak.models.map.storage.tree.TreeStorageNodeInstance<V>
 
 
- 
- All Implemented Interfaces:
- TreeNode<TreeStorageNodeInstance<V>>
 
 public class TreeStorageNodeInstance<V extends AbstractEntity> extends DefaultTreeNode<TreeStorageNodeInstance<V>> Instance of the tree storage that is based on a prescription (TreeStorageNodePrescription), i.e. it provides a map storage instance that can be used for accessing data.- Author:
- hmlnarik
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classTreeStorageNodeInstance.WithEntity- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.storage.tree.TreeNodeTreeNode.PathOrientation
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.storage.tree.DefaultTreeNodeedgeProperties, nodeProperties, treeProperties
 
- 
 - 
Constructor SummaryConstructors Constructor Description TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodeInstance<V> original)TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodePrescription prescription)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeStorageNodeInstance<V>cloneNodeOnly()StringgetId()Returns ID of the node, which could match e.g.TreeStorageNodePrescription.FieldContainedStatusisCacheFor(EntityField<V> field, Object parameter)TreeStorageNodePrescription.FieldContainedStatusisPrimarySourceFor(Enum<? extends EntityField<V>> field, Object parameter)booleanisReadOnly()- 
Methods inherited from class org.keycloak.models.map.storage.tree.DefaultTreeNodeaddChild, addChild, cloneTree, equals, findFirstBfs, findFirstBottommostDfs, findFirstDfs, forEachParent, getChild, getChildren, getEdgeProperties, getEdgeProperty, getLabel, getNodeProperties, getNodeProperty, getParent, getParentsStream, getPathToRoot, getTreeProperties, getTreeProperty, hasChildren, hashCode, hasNoChildren, removeChild, removeChild, setEdgeProperty, setId, setNodeProperty, setParent, toString, walkBfs, walkDfs
 
- 
 
- 
- 
- 
Constructor Detail- 
TreeStorageNodeInstancepublic TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodeInstance<V> original) 
 - 
TreeStorageNodeInstancepublic TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodePrescription prescription) 
 
- 
 - 
Method Detail- 
cloneNodeOnlypublic TreeStorageNodeInstance<V> cloneNodeOnly() 
 - 
getIdpublic String getId() Description copied from interface:TreeNodeReturns ID of the node, which could match e.g. ID of the component with storage definition.- Specified by:
- getIdin interface- TreeNode<V extends AbstractEntity>
- Overrides:
- getIdin class- DefaultTreeNode<TreeStorageNodeInstance<V extends AbstractEntity>>
- Returns:
- Node ID
 
 - 
isReadOnlypublic boolean isReadOnly() 
 - 
isCacheForpublic TreeStorageNodePrescription.FieldContainedStatus isCacheFor(EntityField<V> field, Object parameter) 
 - 
isPrimarySourceForpublic TreeStorageNodePrescription.FieldContainedStatus isPrimarySourceFor(Enum<? extends EntityField<V>> field, Object parameter) 
 
- 
 
-