Package icc.util

Class LeanixHelper


  • public class LeanixHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.HashSet<java.lang.String> getFpvNames​(sailpoint.api.SailPointContext context, java.lang.String nameOrAlias)
      get fPv names from a LeanIx ManagedAttribute identified by either id, name or alias
      java.util.HashSet<java.lang.String> getFpvNames​(sailpoint.api.SailPointContext context, sailpoint.object.ManagedAttribute manAttr)
      get fPv names from a LeanIx ManagedAttribute
      static LeanixHelper getInstance()  
      java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppFromDisplayName​(sailpoint.api.SailPointContext context, java.lang.String name)
      Search for LeanIX applications oder itComponents by a given id.
      sailpoint.object.ManagedAttribute getLeanIxAppFromEnt​(sailpoint.api.SailPointContext context, sailpoint.object.ManagedAttribute manAttr)
      Get the LeanIx ManagedAttribute linked on another ManagedAttribute
      sailpoint.object.ManagedAttribute getLeanIxAppFromId​(sailpoint.api.SailPointContext context, java.lang.String id)
      Search for LeanIX applications oder itComponents by a given id
      java.lang.String getLeanIxAppNames​(sailpoint.api.SailPointContext context, java.lang.String id)
      Get names and aliases for a LeanIx ManagedAtribute identified by the given value
      java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppsFromAlias​(sailpoint.api.SailPointContext context, java.lang.String alias)
      Search for LeanIX applications oder itComponents by a given alias.
      java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppsFromName​(sailpoint.api.SailPointContext context, java.lang.String nameOrAlias)
      Search for LeanIX applications oder itComponents by a given name, id, or alias. returns all fitting objects
      java.util.HashSet<java.lang.String> getTpvNames​(sailpoint.api.SailPointContext context, java.lang.String nameOrAlias)
      get tPv names from a LeanIx ManagedAttribute identified by either id, name or alias
      java.util.HashSet<java.lang.String> getTpvNames​(sailpoint.api.SailPointContext context, sailpoint.object.ManagedAttribute manAttr)
      get tPv names from a LeanIx ManagedAttribute
      • Methods inherited from class java.lang.Object

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

      • getLeanIxAppsFromName

        public java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppsFromName​(sailpoint.api.SailPointContext context,
                                                                                          java.lang.String nameOrAlias)
                                                                                   throws sailpoint.tools.GeneralException
        Search for LeanIX applications oder itComponents by a given name, id, or alias. returns all fitting objects
        Parameters:
        context -
        nameOrAlias - ID, displayName or alias of a LeanIx ManagedAttributes
        Returns:
        HashSet of found ManagedAttributes, may be empty
        Throws:
        sailpoint.tools.GeneralException
      • getLeanIxAppFromId

        public sailpoint.object.ManagedAttribute getLeanIxAppFromId​(sailpoint.api.SailPointContext context,
                                                                    java.lang.String id)
                                                             throws sailpoint.tools.GeneralException
        Search for LeanIX applications oder itComponents by a given id
        Parameters:
        context -
        id - LeanIX ManagedAttribute value
        Returns:
        ManagedAttribute or null
        Throws:
        sailpoint.tools.GeneralException
      • getLeanIxAppFromDisplayName

        public java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppFromDisplayName​(sailpoint.api.SailPointContext context,
                                                                                                java.lang.String name)
                                                                                         throws sailpoint.tools.GeneralException
        Search for LeanIX applications oder itComponents by a given id. Can Return multiple Objects, because displayName may not be unique
        Parameters:
        context -
        name - LeanIX ManagedAttribute displayName
        Returns:
        HashSet of found ManagedAttributes, may be empty
        Throws:
        sailpoint.tools.GeneralException
      • getLeanIxAppsFromAlias

        public java.util.HashSet<sailpoint.object.ManagedAttribute> getLeanIxAppsFromAlias​(sailpoint.api.SailPointContext context,
                                                                                           java.lang.String alias)
                                                                                    throws sailpoint.tools.GeneralException
        Search for LeanIX applications oder itComponents by a given alias. Can Return multiple Objects, because alias may not be unique
        Parameters:
        context -
        alias - part of LeanIX ManagedAttribute leanIxAliases
        Returns:
        HashSet of found ManagedAttributes, may be empty
        Throws:
        sailpoint.tools.GeneralException
      • getLeanIxAppNames

        public java.lang.String getLeanIxAppNames​(sailpoint.api.SailPointContext context,
                                                  java.lang.String id)
                                           throws sailpoint.tools.GeneralException
        Get names and aliases for a LeanIx ManagedAtribute identified by the given value
        Parameters:
        context -
        id - LeanIX ManagedAttribute value
        Returns:
        ManagedAttribute.leanIxAliases, may be null
        Throws:
        sailpoint.tools.GeneralException
      • getLeanIxAppFromEnt

        public sailpoint.object.ManagedAttribute getLeanIxAppFromEnt​(sailpoint.api.SailPointContext context,
                                                                     sailpoint.object.ManagedAttribute manAttr)
                                                              throws sailpoint.tools.GeneralException
        Get the LeanIx ManagedAttribute linked on another ManagedAttribute
        Parameters:
        context -
        manAttr - The ManagedAttribut the leanIX Application should be found for
        Returns:
        LeanIx ManagedAttribute, may be null
        Throws:
        sailpoint.tools.GeneralException
      • getFpvNames

        public java.util.HashSet<java.lang.String> getFpvNames​(sailpoint.api.SailPointContext context,
                                                               java.lang.String nameOrAlias)
                                                        throws sailpoint.tools.GeneralException
        get fPv names from a LeanIx ManagedAttribute identified by either id, name or alias
        Parameters:
        context -
        nameOrAlias - ID, displayName or alias of a LeanIx ManagedAttributes
        Returns:
        HashSet of identity names
        Throws:
        sailpoint.tools.GeneralException - if more than one LeanIX Object was found
      • getFpvNames

        public java.util.HashSet<java.lang.String> getFpvNames​(sailpoint.api.SailPointContext context,
                                                               sailpoint.object.ManagedAttribute manAttr)
                                                        throws sailpoint.tools.GeneralException
        get fPv names from a LeanIx ManagedAttribute
        Parameters:
        context -
        manAttr - The ManagedAttribut the fPvs should be returned for
        Returns:
        HashSet of identity names
        Throws:
        sailpoint.tools.GeneralException
      • getTpvNames

        public java.util.HashSet<java.lang.String> getTpvNames​(sailpoint.api.SailPointContext context,
                                                               java.lang.String nameOrAlias)
                                                        throws sailpoint.tools.GeneralException
        get tPv names from a LeanIx ManagedAttribute identified by either id, name or alias
        Parameters:
        context -
        nameOrAlias - ID, displayName or alias of a LeanIx ManagedAttributes
        Returns:
        HashSet of identity names
        Throws:
        sailpoint.tools.GeneralException - if more than one LeanIX Object was found
      • getTpvNames

        public java.util.HashSet<java.lang.String> getTpvNames​(sailpoint.api.SailPointContext context,
                                                               sailpoint.object.ManagedAttribute manAttr)
                                                        throws sailpoint.tools.GeneralException
        get tPv names from a LeanIx ManagedAttribute
        Parameters:
        context -
        manAttr - The ManagedAttribut the tPvs should be returned for
        Returns:
        HashSet of identity names
        Throws:
        sailpoint.tools.GeneralException