Package com.identityworksllc.iiq.common
Class CommonConstants
- java.lang.Object
-
- com.identityworksllc.iiq.common.CommonConstants
-
public final class CommonConstants extends Object
Some constants that will be useful in many IIQ scenarios.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARG_STRING_FALSE
A constant so we don’t misspell ‘false’ anywherestatic String
ARG_STRING_TRUE
A constant so we don’t misspell ‘true’ anywherestatic long
EPOCH_1900
The Unix timestamp value in milliseconds of January 1 1900, midnight, UTCstatic long
EPOCH_1950
The Unix timestamp value in milliseconds of January 1 1950, midnight, UTCstatic String
FILTER_ATTR
The common attribute name to use for filtersstatic Function<String,List<String>>
FUNC_CSV_PARSER
The CSV parser API as a functionstatic Function<String,Boolean>
FUNC_STR_EMPTY
The null or empty API as a functionstatic Function<String,Boolean>
FUNC_STR_NOT_EMPTY
The not null or empty API as a functionstatic List<String>
SEARCH_ID
A List intended to be passed to context.search to retrieve ID onlystatic List<String>
SEARCH_ID_NAME
A List intended to be passed to context.search to retrieve id and name onlystatic int
SEARCH_LINK_FIELD_APP_ID
The field number in theSEARCH_LINK_FIELDS
indicating the application IDstatic int
SEARCH_LINK_FIELD_ID
The field number in theSEARCH_LINK_FIELDS
indicating the Link IDstatic int
SEARCH_LINK_FIELD_IDENTITY
The field number in theSEARCH_LINK_FIELDS
indicating the owning Identity IDstatic int
SEARCH_LINK_FIELD_NATIVE_ID
The field number in theSEARCH_LINK_FIELDS
indicating the Link Native Identitystatic List<String>
SEARCH_LINK_FIELDS
A List intended to be passed to context.search to retrieve useful fields specific to Linksstatic List<String>
SEARCH_NAME
A List intended to be passed to context.search to retrieve name onlystatic String
STANDARD_TIMESTAMP
A standard timestamp formatstatic String
THREADS_ATTR
The common attribute used for threading across multiple requests and tasks
-
-
-
Field Detail
-
ARG_STRING_FALSE
public static final String ARG_STRING_FALSE
A constant so we don’t misspell ‘false’ anywhere- See Also:
- Constant Field Values
-
ARG_STRING_TRUE
public static final String ARG_STRING_TRUE
A constant so we don’t misspell ‘true’ anywhere- See Also:
- Constant Field Values
-
EPOCH_1900
public static final long EPOCH_1900
The Unix timestamp value in milliseconds of January 1 1900, midnight, UTC- See Also:
- Constant Field Values
-
EPOCH_1950
public static final long EPOCH_1950
The Unix timestamp value in milliseconds of January 1 1950, midnight, UTC- See Also:
- Constant Field Values
-
STANDARD_TIMESTAMP
public static final String STANDARD_TIMESTAMP
A standard timestamp format- See Also:
- Constant Field Values
-
FUNC_CSV_PARSER
public static final Function<String,List<String>> FUNC_CSV_PARSER
The CSV parser API as a function
-
FUNC_STR_EMPTY
public static final Function<String,Boolean> FUNC_STR_EMPTY
The null or empty API as a function
-
FUNC_STR_NOT_EMPTY
public static final Function<String,Boolean> FUNC_STR_NOT_EMPTY
The not null or empty API as a function
-
SEARCH_ID
public static final List<String> SEARCH_ID
A List intended to be passed to context.search to retrieve ID only
-
SEARCH_ID_NAME
public static final List<String> SEARCH_ID_NAME
A List intended to be passed to context.search to retrieve id and name only
-
SEARCH_LINK_FIELDS
public static final List<String> SEARCH_LINK_FIELDS
A List intended to be passed to context.search to retrieve useful fields specific to Links
-
SEARCH_LINK_FIELD_APP_ID
public static final int SEARCH_LINK_FIELD_APP_ID
The field number in theSEARCH_LINK_FIELDS
indicating the application ID- See Also:
- Constant Field Values
-
SEARCH_LINK_FIELD_ID
public static final int SEARCH_LINK_FIELD_ID
The field number in theSEARCH_LINK_FIELDS
indicating the Link ID- See Also:
- Constant Field Values
-
SEARCH_LINK_FIELD_IDENTITY
public static final int SEARCH_LINK_FIELD_IDENTITY
The field number in theSEARCH_LINK_FIELDS
indicating the owning Identity ID- See Also:
- Constant Field Values
-
SEARCH_LINK_FIELD_NATIVE_ID
public static final int SEARCH_LINK_FIELD_NATIVE_ID
The field number in theSEARCH_LINK_FIELDS
indicating the Link Native Identity- See Also:
- Constant Field Values
-
SEARCH_NAME
public static final List<String> SEARCH_NAME
A List intended to be passed to context.search to retrieve name only
-
THREADS_ATTR
public static final String THREADS_ATTR
The common attribute used for threading across multiple requests and tasks- See Also:
- Constant Field Values
-
FILTER_ATTR
public static final String FILTER_ATTR
The common attribute name to use for filters- See Also:
- Constant Field Values
-
-