Class ManagedAttributeUtilities

    • Constructor Detail

      • ManagedAttributeUtilities

        public ManagedAttributeUtilities​(sailpoint.api.SailPointContext context)
        Constructs a new utility object
        Parameters:
        context - The IIQ context
    • Method Detail

      • buildForm

        public sailpoint.object.Form buildForm​(Map<String,​Object> map,
                                               ManagedAttributeUtilities.BuildForm.Option... options)
                                        throws sailpoint.tools.GeneralException
        Builds a form for the given ManagedAttribute based on the input Map.

        It will be derived from the existing Update or Create forms on the relevant Application.

        The input must be a Map containing metadata under the key sys, similar to the Maps produced for Form Models by IdentityTransformer. The sys map should contain these keys:

        • nativeIdentity: The native ID of the entitlement, if we are updating and not creating it
        • application: The application name
        • type: The schema name (e.g., group); will be used to look up the existing form

        You can build these maps with getCreateManagedAttributeMap(String, String) and getUpdateManagedAttributeMap(ManagedAttribute).

        The resulting Form may be used in a workflow.

        Parameters:
        map -
        options -
        Returns:
        Throws:
        sailpoint.tools.GeneralException