Package icc.util
Class CustomObjectUtil
- java.lang.Object
-
- icc.util.CustomObjectUtil
-
public class CustomObjectUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CustomObjectUtil()
-
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.
-
-
-
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 objectpersistEmpty
- 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
-
-