Class CustomUiUserQueryConfigBean
java.lang.Object
edu.internet2.middleware.grouper.ui.customUi.CustomUiUserQueryConfigBean
config of one query
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
constant for field name for: allowAssignFromUrlstatic final String
constant for field name for: attributeDefIdstatic final String
constant for field name for: azureGroupIdstatic final String
constant for field name for: bindVar0static final String
constant for field name for: bindVar0typestatic final String
constant for field name for: bindVar1static final String
constant for field name for: bindVar1typestatic final String
constant for field name for: bindVar2static final String
constant for field name for: bindVar2typestatic final String
constant for field name for: configIdstatic final String
constant for field name for: duoGroupNamestatic final String
constant for field name for: enabledstatic final String
constant for field name for: error labelstatic final String
constant for field name for: fieldNamesstatic final String
constant for field name for: forLoggedInUserstatic final String
constant for field name for: groupIdstatic final String
constant for field name for: groupNamestatic final String
constant for field name for: labelstatic final String
constant for field name for: ldapAttributeToRetrievestatic final String
constant for field name for: ldapFilterstatic final String
constant for field name for: ldapSearchDnstatic final String
constant for field name for: listNamestatic final String
constant for field name for: nameOfAttributeDefstatic final String
constant for field name for: orderstatic final String
constant for field name for: querystatic final String
constant for field name for: scriptstatic final String
constant for field name for: stemIdstatic final String
constant for field name for: stemNamestatic final String
constant for field name for: userQueryTypestatic final String
constant for field name for: variableToAssignstatic final String
constant for field name for: variableToAssignOnAccountValidstatic final String
constant for field name for: variableToAssignOnErrorstatic final String
constant for field name for: variableType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf true, then allow any user to assign this from the URL (e.g.attribute def idif hard coding the azure group id put it herebind var script 0CustomUiVariableTypeCustomUiVariableTypeCustomUiVariableType type of bind var2config id in config filespecify duo group nameif this config is enabledlabel if errormembers, readers, updaters, something from grouper_fields.name database column, comma separatedif this is for the logged in user instead of the user being operated onif this involves a group, this is the group namegetLabel()
label on screenattribute to retrieveldap filter to runldap base dn to run filter onname of attribute defgetOrder()
order to display on screengetQuery()
e.g.if this uses a script like ELstem idstem namemust be one of the enum CustomUiUserQueryTypesome variable name to be used in display logicvariable name to set if there is an error in the queryone of CustomUiVariableTypestatic void
static void
void
setAllowAssignFromUrl
(Boolean allowAssignFromUrl1) If true, then allow any user to assign this from the URL (e.g.void
setAttributeDefId
(String attributeDefId) attribute def idvoid
setAzureGroupId
(String azureGroupId) if hard coding the azure group id put it herevoid
setBindVar0
(String bindVar0) bind var script 0void
setBindVar0type
(String bindVar0type) CustomUiVariableTypevoid
setBindVar1
(String bindVar1) void
setBindVar1type
(String bindVar1type) CustomUiVariableTypevoid
setBindVar2
(String bindVar2) void
setBindVar2type
(String bindVar2type1) CustomUiVariableType type of bind var2void
setConfigId
(String configId) config id in config filevoid
setDuoGroupName
(String duoGroupName1) specify duo group namevoid
setEnabled
(Boolean enabled) if this config is enabledvoid
setErrorLabel
(String errorLabel1) label if errorvoid
setFieldNames
(String fieldNames) members, readers, updaters, something from grouper_fields.name database column, comma separatedvoid
setForLoggedInUser
(Boolean forLoggedInUser1) void
setGroupId
(String groupId) void
setGroupName
(String groupName) if this involves a group, this is the group namevoid
label on screenvoid
setLdapAttributeToRetrieve
(String ldapAttributeToRetrieve) attribute to retrievevoid
setLdapFilter
(String ldapFilter) ldap filter to runvoid
setLdapSearchDn
(String ldapBaseDn) ldap base dn to run filter onvoid
setNameOfAttributeDef
(String nameOfAttributeDef) name of attribute defvoid
order to display on screenvoid
e.g.void
if this uses a script like ELvoid
stem idvoid
setStemName
(String stemName) stem namevoid
setUserQueryType
(String userQueryType) must be one of the enum CustomUiUserQueryTypevoid
setVariableToAssign
(String variableToAssign) some variable name to be used in display logicvoid
setVariableToAssignOnError
(String variableToAssignOnError) variable name to set if there is an error in the queryvoid
setVariableType
(String variableType) one of CustomUiVariableTypetoString()
-
Field Details
-
FIELD_ALLOW_ASSIGN_FROM_URL
constant for field name for: allowAssignFromUrl- See Also:
-
FIELD_ATTRIBUTE_DEF_ID
constant for field name for: attributeDefId- See Also:
-
FIELD_AZURE_GROUP_ID
constant for field name for: azureGroupId- See Also:
-
FIELD_BIND_VAR0
constant for field name for: bindVar0- See Also:
-
FIELD_BIND_VAR0TYPE
constant for field name for: bindVar0type- See Also:
-
FIELD_BIND_VAR1
constant for field name for: bindVar1- See Also:
-
FIELD_BIND_VAR1TYPE
constant for field name for: bindVar1type- See Also:
-
FIELD_BIND_VAR2
constant for field name for: bindVar2- See Also:
-
FIELD_BIND_VAR2TYPE
constant for field name for: bindVar2type- See Also:
-
FIELD_CONFIG_ID
constant for field name for: configId- See Also:
-
FIELD_ENABLED
constant for field name for: enabled- See Also:
-
FIELD_ERROR_LABEL
constant for field name for: error label- See Also:
-
FIELD_FIELD_NAMES
constant for field name for: fieldNames- See Also:
-
FIELD_GROUP_ID
constant for field name for: groupId- See Also:
-
FIELD_FOR_LOGGED_IN_USER
constant for field name for: forLoggedInUser- See Also:
-
FIELD_GROUP_NAME
constant for field name for: groupName- See Also:
-
FIELD_DUO_GROUP_NAME
constant for field name for: duoGroupName- See Also:
-
FIELD_LABEL
constant for field name for: label- See Also:
-
FIELD_LDAP_ATTRIBUTE_TO_RETRIEVE
constant for field name for: ldapAttributeToRetrieve- See Also:
-
FIELD_LDAP_FILTER
constant for field name for: ldapFilter- See Also:
-
FIELD_LDAP_SEARCH_DN
constant for field name for: ldapSearchDn- See Also:
-
FIELD_LIST_NAME
constant for field name for: listName- See Also:
-
FIELD_NAME_OF_ATTRIBUTE_DEF
constant for field name for: nameOfAttributeDef- See Also:
-
FIELD_ORDER
constant for field name for: order- See Also:
-
FIELD_QUERY
constant for field name for: query- See Also:
-
FIELD_SCRIPT
constant for field name for: script- See Also:
-
FIELD_STEM_ID
constant for field name for: stemId- See Also:
-
FIELD_STEM_NAME
constant for field name for: stemName- See Also:
-
FIELD_USER_QUERY_TYPE
constant for field name for: userQueryType- See Also:
-
FIELD_VARIABLE_TO_ASSIGN
constant for field name for: variableToAssign- See Also:
-
FIELD_VARIABLE_TO_ASSIGN_ON_ERROR
constant for field name for: variableToAssignOnError- See Also:
-
FIELD_VARIABLE_TO_ASSIGN_ON_ACCOUNT_VALID
constant for field name for: variableToAssignOnAccountValid- See Also:
-
FIELD_VARIABLE_TYPE
constant for field name for: variableType- See Also:
-
-
Constructor Details
-
CustomUiUserQueryConfigBean
public CustomUiUserQueryConfigBean()
-
-
Method Details
-
main
- Parameters:
args
-
-
printRequiredAndOptionalFields
public static void printRequiredAndOptionalFields() -
getOrder
order to display on screen- Returns:
- the order
-
setOrder
order to display on screen- Parameters:
order1
- the order to set
-
getLabel
label on screen- Returns:
- the label
-
setLabel
label on screen- Parameters:
label1
- the label to set
-
getErrorLabel
label if error- Returns:
- the errorLabel
-
setErrorLabel
label if error- Parameters:
errorLabel1
- the errorLabel to set
-
getQuery
e.g. sql query- Returns:
- the query
-
setQuery
e.g. sql query- Parameters:
query
- the query to set
-
getBindVar0
bind var script 0- Returns:
- the bindVar0
-
setBindVar0
bind var script 0- Parameters:
bindVar0
- the bindVar0 to set
-
getBindVar0type
CustomUiVariableType- Returns:
- the bindVar0type
-
setBindVar0type
CustomUiVariableType- Parameters:
bindVar0type
- the bindVar0type to set
-
getBindVar1
- Returns:
- the bindVar1
-
setBindVar1
- Parameters:
bindVar1
- the bindVar1 to set
-
getBindVar1type
CustomUiVariableType- Returns:
- the bindVar1type
-
setBindVar1type
CustomUiVariableType- Parameters:
bindVar1type
- the bindVar1type to set
-
getBindVar2
- Returns:
- the bindVar2
-
setBindVar2
- Parameters:
bindVar2
- the bindVar2 to set
-
getBindVar2type
CustomUiVariableType type of bind var2- Returns:
- the bindVar2type
-
setBindVar2type
CustomUiVariableType type of bind var2- Parameters:
bindVar2type1
- the bindVar2type to set
-
getStemId
stem id- Returns:
- the stemId
-
setStemId
stem id- Parameters:
stemId
- the stemId to set
-
getStemName
stem name- Returns:
- the stemName
-
setStemName
stem name- Parameters:
stemName
- the stemName to set
-
getAttributeDefId
attribute def id- Returns:
- the attributeDefId
-
setAttributeDefId
attribute def id- Parameters:
attributeDefId
- the attributeDefId to set
-
getNameOfAttributeDef
name of attribute def- Returns:
- the nameOfAttributeDef
-
setNameOfAttributeDef
name of attribute def- Parameters:
nameOfAttributeDef
- the nameOfAttributeDef to set
-
getFieldNames
members, readers, updaters, something from grouper_fields.name database column, comma separated- Returns:
- the fieldName
-
setFieldNames
members, readers, updaters, something from grouper_fields.name database column, comma separated- Parameters:
fieldNames
- the fieldName to set
-
getScript
if this uses a script like EL- Returns:
- the script
-
setScript
if this uses a script like EL- Parameters:
script1
- the script to set
-
getGroupId
- Returns:
- the groupId
-
setGroupId
- Parameters:
groupId
- the groupId to set
-
getGroupName
if this involves a group, this is the group name- Returns:
- the groupName
-
setGroupName
if this involves a group, this is the group name- Parameters:
groupName
- the groupName to set
-
getDuoGroupName
specify duo group name- Returns:
- name
-
setDuoGroupName
specify duo group name- Parameters:
duoGroupName1
-
-
getAzureGroupId
if hard coding the azure group id put it here- Returns:
- the azureGroupId
-
setAzureGroupId
if hard coding the azure group id put it here- Parameters:
azureGroupId
- the azureGroupId to set
-
getEnabled
if this config is enabled- Returns:
- the enabled
-
setEnabled
if this config is enabled- Parameters:
enabled
- the enabled to set
-
getUserQueryType
must be one of the enum CustomUiUserQueryType- Returns:
- the userQueryType
-
setUserQueryType
must be one of the enum CustomUiUserQueryType- Parameters:
userQueryType
- the userQueryType to set
-
getForLoggedInUser
if this is for the logged in user instead of the user being operated on- Returns:
- for logged in user
-
setForLoggedInUser
- Parameters:
forLoggedInUser1
-
-
getVariableToAssign
some variable name to be used in display logic- Returns:
- the variableToAssign
-
setVariableToAssign
some variable name to be used in display logic- Parameters:
variableToAssign
- the variableToAssign to set
-
getAllowAssignFromUrl
If true, then allow any user to assign this from the URL (e.g. when the custom UI is called externally and needs inputs)- Returns:
-
setAllowAssignFromUrl
If true, then allow any user to assign this from the URL (e.g. when the custom UI is called externally and needs inputs)- Parameters:
allowAssignFromUrl1
-
-
getVariableType
one of CustomUiVariableType- Returns:
- the variableType
-
setVariableType
one of CustomUiVariableType- Parameters:
variableType
- the variableType to set
-
getVariableToAssignOnError
variable name to set if there is an error in the query- Returns:
- the variableToAssignOnError
-
setVariableToAssignOnError
variable name to set if there is an error in the query- Parameters:
variableToAssignOnError
- the variableToAssignOnError to set
-
getLdapFilter
ldap filter to run- Returns:
- the ldapFilter
-
setLdapFilter
ldap filter to run- Parameters:
ldapFilter
- the ldapFilter to set
-
getLdapSearchDn
ldap base dn to run filter on- Returns:
- the ldapBaseDn
-
setLdapSearchDn
ldap base dn to run filter on- Parameters:
ldapBaseDn
- the ldapBaseDn to set
-
getLdapAttributeToRetrieve
attribute to retrieve- Returns:
- the ldapAttributeToRetrieve
-
setLdapAttributeToRetrieve
attribute to retrieve- Parameters:
ldapAttributeToRetrieve
- the ldapAttributeToRetrieve to set
-
getConfigId
config id in config file- Returns:
- the configId
-
setConfigId
config id in config file- Parameters:
configId
- the configId to set
-
toString
-