Package icc.util
Class IdentityAttributeHelper
- java.lang.Object
-
- icc.util.IdentityAttributeHelper
-
public class IdentityAttributeHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IdentityAttributeHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getHRApplicationNames(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
Calculates a list of HR application namesjava.lang.String
getIdentityAttributeValue(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden, java.lang.String attributeName)
Calculate the IdentityAttribute valuestatic IdentityAttributeHelper
getInstance()
java.lang.String
getPrimaryHrAccount(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
Calculates the HR link ID with the highest priorityjava.util.List<java.lang.String>
getPrioritizedHrAccounts(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
Calculates a list of HR link IDs ordered by priorityjava.util.List<java.util.List<java.lang.Object[]>>
getPrioritizedHrAccountsLists(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
Calculates a list containing lists for each HR application with the ID, siEntryDate, IIQLocked, IIQDisabled of the links ordered by priority
-
-
-
Method Detail
-
getInstance
public static IdentityAttributeHelper getInstance()
-
getIdentityAttributeValue
public java.lang.String getIdentityAttributeValue(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden, java.lang.String attributeName) throws sailpoint.tools.GeneralException
Calculate the IdentityAttribute value- Parameters:
iden
- Name of the identityattributeName
- Name of the attribute- Returns:
- The IdentityAttribute value from the highest priority source
- Throws:
sailpoint.tools.GeneralException
-
getPrioritizedHrAccounts
public java.util.List<java.lang.String> getPrioritizedHrAccounts(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden) throws sailpoint.tools.GeneralException
Calculates a list of HR link IDs ordered by priority- Parameters:
iden
- Name of the identity- Returns:
- A list of HR link IDs ordered by priority
- Throws:
sailpoint.tools.GeneralException
-
getPrioritizedHrAccountsLists
public java.util.List<java.util.List<java.lang.Object[]>> getPrioritizedHrAccountsLists(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden) throws sailpoint.tools.GeneralException
Calculates a list containing lists for each HR application with the ID, siEntryDate, IIQLocked, IIQDisabled of the links ordered by priority- Parameters:
iden
- Name of the identity- Returns:
- A list containing lists for each HR application with the link IDs ordered by priority
- Throws:
sailpoint.tools.GeneralException
-
getPrimaryHrAccount
public java.lang.String getPrimaryHrAccount(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden) throws sailpoint.tools.GeneralException
Calculates the HR link ID with the highest priority- Parameters:
iden
- Name of the identity- Returns:
- The active HR link ID with the highest priority or the inactive if only inactive links exist
- Throws:
sailpoint.tools.GeneralException
-
getHRApplicationNames
public java.util.List<java.lang.String> getHRApplicationNames(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden) throws sailpoint.tools.GeneralException
Calculates a list of HR application names- Parameters:
iden
- Name of the Idenity- Returns:
- A list of names of HR applications for the given identity
- Throws:
sailpoint.tools.GeneralException
-
-