Package icc.util

Class CustomObjectUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static sailpoint.object.Custom getOrCreateCustom​(sailpoint.api.SailPointContext context, java.lang.String name)
      Returns the sailpoint.object.Custom object for the given name.
      static sailpoint.object.Custom getOrCreateCustom​(sailpoint.api.SailPointContext context, java.lang.String name, boolean persistEmpty)
      Returns the sailpoint.object.Custom object for the given name.
      • Methods inherited from class java.lang.Object

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

      • CustomObjectUtil

        public CustomObjectUtil()
    • Method Detail

      • getOrCreateCustom

        public static sailpoint.object.Custom getOrCreateCustom​(sailpoint.api.SailPointContext context,
                                                                java.lang.String name,
                                                                boolean persistEmpty)
                                                         throws sailpoint.tools.GeneralException
        Returns the sailpoint.object.Custom object for the given name. Creates a new custom object if the object does not exist.
        Parameters:
        context -
        name - Name of the object
        persistEmpty - Determines if a newly created object should be persisted right away, else it is up to the caller to save the object.
        Returns:
        custom object
        Throws:
        sailpoint.tools.GeneralException
      • getOrCreateCustom

        public static sailpoint.object.Custom getOrCreateCustom​(sailpoint.api.SailPointContext context,
                                                                java.lang.String name)
                                                         throws sailpoint.tools.GeneralException
        Returns the sailpoint.object.Custom object for the given name. Creates a new custom object if the object does not exist.
        Parameters:
        context -
        name - Name of the object
        Returns:
        custom object
        Throws:
        sailpoint.tools.GeneralException