Package icc.util

Class IdentityAttributeHelper


  • public class IdentityAttributeHelper
    extends java.lang.Object
    • 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 names
      java.lang.String getIdentityAttributeValue​(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden, java.lang.String attributeName)
      Calculate the IdentityAttribute value
      static IdentityAttributeHelper getInstance()  
      java.lang.String getPrimaryHrAccount​(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
      Calculates the HR link ID with the highest priority
      java.util.List<java.lang.String> getPrioritizedHrAccounts​(sailpoint.api.SailPointContext context, sailpoint.object.Identity iden)
      Calculates a list of HR link IDs ordered by priority
      java.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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentityAttributeHelper

        public IdentityAttributeHelper()
    • Method Detail

      • 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 identity
        attributeName - 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