Skip navigation links
oracle.iam.platform.authopss.api
Class BasicDependentDataProvider
java.lang.Object
oracle.iam.platform.authopss.api.BasicDependentDataProvider
- All Implemented Interfaces:
- java.io.Serializable, IDependentDataProvider
-
public class BasicDependentDataProvider
- extends java.lang.Object
- implements IDependentDataProvider, java.io.Serializable
The basic in-memory implementation of the IDependentDataProvider interface. This class relies on the caller class to populate the dependency data. For complex scenarios the callers can provide their own implementation by implementing the IDependentDataProvider interface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicDependentDataProvider
public BasicDependentDataProvider()
getDependentData
public java.util.Map getDependentData(java.util.List parentEntityIds)
- Description copied from interface:
IDependentDataProvider
- Method to return the Map of entity-ids mapped to dependent data. The entity publication service will use this interface to get the dependent data and to automatically publish it when the parent entity is being published.
-
- Specified by:
getDependentData
in interface IDependentDataProvider
-
- Returns:
- Map of parent-id and set of child ids as key-value pair.
getDependentData
public java.util.Set getDependentData(java.lang.String parentEntityId)
- Description copied from interface:
IDependentDataProvider
- Method to resolve the dependent data based on passed entity-id. The Entity-publication service will use this method to get the Set of dependent entity-ids.
-
- Specified by:
getDependentData
in interface IDependentDataProvider
-
- Returns:
- set of child ids.
getDependentEntityType
public PolicyConstants.Resources getDependentEntityType()
- Description copied from interface:
IDependentDataProvider
- Method to get the entity type for the published dependent entity.
-
- Specified by:
getDependentEntityType
in interface IDependentDataProvider
-
- Returns:
setDependentData
public void setDependentData(java.util.Map dependentData)
-
- Parameters:
dependentData
- - the dependent data to set
setDependentEntityType
public final void setDependentEntityType(PolicyConstants.Resources dependentEntityType)
-
- Parameters:
dependentEntityType
- the dependentEntityType to set
Skip navigation links
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.