com.ibm.itim.policy.join
Class PrecedenceSequence
java.lang.Object
|
+--com.ibm.itim.policy.join.PrecedenceSequence
- All Implemented Interfaces:
- JoinInterface
- public class PrecedenceSequence
- extends java.lang.Object
- implements JoinInterface
This class is to be used on snglevalued attributes which contain
a fixed list of allowable values.
select method will choose a value based on ordered
list of all allowable values. Items in list are ordered by decreasing importance.
Constructor Summary |
PrecedenceSequence()
default constructor necessary for using reflections to instantiate |
Method Summary |
com.ibm.itim.dataservices.model.policy.ServiceAttributeParameter |
join(java.util.Collection policyEntitlementPairs,
com.ibm.itim.dataservices.model.policy.JoinDirectiveInfo joinInfo)
Method will join all values from all provisioning parameters. |
void |
setContext(java.util.Map attributeValues,
ServiceEntity service,
PersonEntity person)
Method will set context inforamtion which may be helpful in determining custom joining logic. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrecedenceSequence
public PrecedenceSequence()
- default constructor necessary for using reflections to instantiate
setContext
public void setContext(java.util.Map attributeValues,
ServiceEntity service,
PersonEntity person)
- Method will set context inforamtion which may be helpful in determining custom joining logic.
- Specified by:
setContext
in interface JoinInterface
- Parameters:
attributeValues
- Map of all existing account attributes values. Value will be non-null
when the method is called in the context of validating of an existing account.service
- ServiceEntity representitng service instance for which the parameters are being joined together.person
- PersonEntity representitng the person for whose account the parameters are being joined together.
AttributeValue object corresponding to the provisioning parameter being joined.
When method called in the context of account creation, the value is null.
join
public com.ibm.itim.dataservices.model.policy.ServiceAttributeParameter join(java.util.Collection policyEntitlementPairs,
com.ibm.itim.dataservices.model.policy.JoinDirectiveInfo joinInfo)
- Method will join all values from all provisioning parameters.
- Specified by:
join
in interface JoinInterface
- Parameters:
policyEntitlementPairs
- Collection of EntitlementInProvisioningPolicy objectsjoinInfo
- JoinDirectiveInfo objects- Returns:
- ServiceAttributeParameter including joined attribute values