Class CustomUiUserQueryConfigBean

java.lang.Object
edu.internet2.middleware.grouper.ui.customUi.CustomUiUserQueryConfigBean

public class CustomUiUserQueryConfigBean extends Object
config of one query
  • Field Details

    • FIELD_ATTRIBUTE_DEF_ID

      public static final String FIELD_ATTRIBUTE_DEF_ID
      constant for field name for: attributeDefId
      See Also:
    • FIELD_AZURE_GROUP_ID

      public static final String FIELD_AZURE_GROUP_ID
      constant for field name for: azureGroupId
      See Also:
    • FIELD_BIND_VAR0

      public static final String FIELD_BIND_VAR0
      constant for field name for: bindVar0
      See Also:
    • FIELD_BIND_VAR0TYPE

      public static final String FIELD_BIND_VAR0TYPE
      constant for field name for: bindVar0type
      See Also:
    • FIELD_BIND_VAR1

      public static final String FIELD_BIND_VAR1
      constant for field name for: bindVar1
      See Also:
    • FIELD_BIND_VAR1TYPE

      public static final String FIELD_BIND_VAR1TYPE
      constant for field name for: bindVar1type
      See Also:
    • FIELD_BIND_VAR2

      public static final String FIELD_BIND_VAR2
      constant for field name for: bindVar2
      See Also:
    • FIELD_BIND_VAR2TYPE

      public static final String FIELD_BIND_VAR2TYPE
      constant for field name for: bindVar2type
      See Also:
    • FIELD_CONFIG_ID

      public static final String FIELD_CONFIG_ID
      constant for field name for: configId
      See Also:
    • FIELD_ENABLED

      public static final String FIELD_ENABLED
      constant for field name for: enabled
      See Also:
    • FIELD_ERROR_LABEL

      public static final String FIELD_ERROR_LABEL
      constant for field name for: error label
      See Also:
    • FIELD_FIELD_NAMES

      public static final String FIELD_FIELD_NAMES
      constant for field name for: fieldNames
      See Also:
    • FIELD_GROUP_ID

      public static final String FIELD_GROUP_ID
      constant for field name for: groupId
      See Also:
    • FIELD_FOR_LOGGED_IN_USER

      public static final String FIELD_FOR_LOGGED_IN_USER
      constant for field name for: forLoggedInUser
      See Also:
    • FIELD_GROUP_NAME

      public static final String FIELD_GROUP_NAME
      constant for field name for: groupName
      See Also:
    • FIELD_LABEL

      public static final String FIELD_LABEL
      constant for field name for: label
      See Also:
    • FIELD_LDAP_ATTRIBUTE_TO_RETRIEVE

      public static final String FIELD_LDAP_ATTRIBUTE_TO_RETRIEVE
      constant for field name for: ldapAttributeToRetrieve
      See Also:
    • FIELD_LDAP_FILTER

      public static final String FIELD_LDAP_FILTER
      constant for field name for: ldapFilter
      See Also:
    • FIELD_LDAP_SEARCH_DN

      public static final String FIELD_LDAP_SEARCH_DN
      constant for field name for: ldapSearchDn
      See Also:
    • FIELD_LIST_NAME

      public static final String FIELD_LIST_NAME
      constant for field name for: listName
      See Also:
    • FIELD_NAME_OF_ATTRIBUTE_DEF

      public static final String FIELD_NAME_OF_ATTRIBUTE_DEF
      constant for field name for: nameOfAttributeDef
      See Also:
    • FIELD_ORDER

      public static final String FIELD_ORDER
      constant for field name for: order
      See Also:
    • FIELD_QUERY

      public static final String FIELD_QUERY
      constant for field name for: query
      See Also:
    • FIELD_SCRIPT

      public static final String FIELD_SCRIPT
      constant for field name for: script
      See Also:
    • FIELD_STEM_ID

      public static final String FIELD_STEM_ID
      constant for field name for: stemId
      See Also:
    • FIELD_STEM_NAME

      public static final String FIELD_STEM_NAME
      constant for field name for: stemName
      See Also:
    • FIELD_USER_QUERY_TYPE

      public static final String FIELD_USER_QUERY_TYPE
      constant for field name for: userQueryType
      See Also:
    • FIELD_VARIABLE_TO_ASSIGN

      public static final String FIELD_VARIABLE_TO_ASSIGN
      constant for field name for: variableToAssign
      See Also:
    • FIELD_VARIABLE_TO_ASSIGN_ON_ERROR

      public static final String FIELD_VARIABLE_TO_ASSIGN_ON_ERROR
      constant for field name for: variableToAssignOnError
      See Also:
    • FIELD_VARIABLE_TO_ASSIGN_ON_ACCOUNT_VALID

      public static final String FIELD_VARIABLE_TO_ASSIGN_ON_ACCOUNT_VALID
      constant for field name for: variableToAssignOnAccountValid
      See Also:
    • FIELD_VARIABLE_TYPE

      public static final String FIELD_VARIABLE_TYPE
      constant for field name for: variableType
      See Also:
  • Constructor Details

    • CustomUiUserQueryConfigBean

      public CustomUiUserQueryConfigBean()
  • Method Details

    • main

      public static void main(String[] args)
      Parameters:
      args -
    • printRequiredAndOptionalFields

      public static void printRequiredAndOptionalFields()
    • getOrder

      public Integer getOrder()
      order to display on screen
      Returns:
      the order
    • setOrder

      public void setOrder(Integer order1)
      order to display on screen
      Parameters:
      order1 - the order to set
    • getLabel

      public String getLabel()
      label on screen
      Returns:
      the label
    • setLabel

      public void setLabel(String label1)
      label on screen
      Parameters:
      label1 - the label to set
    • getErrorLabel

      public String getErrorLabel()
      label if error
      Returns:
      the errorLabel
    • setErrorLabel

      public void setErrorLabel(String errorLabel1)
      label if error
      Parameters:
      errorLabel1 - the errorLabel to set
    • getQuery

      public String getQuery()
      e.g. sql query
      Returns:
      the query
    • setQuery

      public void setQuery(String query)
      e.g. sql query
      Parameters:
      query - the query to set
    • getBindVar0

      public String getBindVar0()
      bind var script 0
      Returns:
      the bindVar0
    • setBindVar0

      public void setBindVar0(String bindVar0)
      bind var script 0
      Parameters:
      bindVar0 - the bindVar0 to set
    • getBindVar0type

      public String getBindVar0type()
      CustomUiVariableType
      Returns:
      the bindVar0type
    • setBindVar0type

      public void setBindVar0type(String bindVar0type)
      CustomUiVariableType
      Parameters:
      bindVar0type - the bindVar0type to set
    • getBindVar1

      public String getBindVar1()
      Returns:
      the bindVar1
    • setBindVar1

      public void setBindVar1(String bindVar1)
      Parameters:
      bindVar1 - the bindVar1 to set
    • getBindVar1type

      public String getBindVar1type()
      CustomUiVariableType
      Returns:
      the bindVar1type
    • setBindVar1type

      public void setBindVar1type(String bindVar1type)
      CustomUiVariableType
      Parameters:
      bindVar1type - the bindVar1type to set
    • getBindVar2

      public String getBindVar2()
      Returns:
      the bindVar2
    • setBindVar2

      public void setBindVar2(String bindVar2)
      Parameters:
      bindVar2 - the bindVar2 to set
    • getBindVar2type

      public String getBindVar2type()
      CustomUiVariableType type of bind var2
      Returns:
      the bindVar2type
    • setBindVar2type

      public void setBindVar2type(String bindVar2type1)
      CustomUiVariableType type of bind var2
      Parameters:
      bindVar2type1 - the bindVar2type to set
    • getStemId

      public String getStemId()
      stem id
      Returns:
      the stemId
    • setStemId

      public void setStemId(String stemId)
      stem id
      Parameters:
      stemId - the stemId to set
    • getStemName

      public String getStemName()
      stem name
      Returns:
      the stemName
    • setStemName

      public void setStemName(String stemName)
      stem name
      Parameters:
      stemName - the stemName to set
    • getAttributeDefId

      public String getAttributeDefId()
      attribute def id
      Returns:
      the attributeDefId
    • setAttributeDefId

      public void setAttributeDefId(String attributeDefId)
      attribute def id
      Parameters:
      attributeDefId - the attributeDefId to set
    • getNameOfAttributeDef

      public String getNameOfAttributeDef()
      name of attribute def
      Returns:
      the nameOfAttributeDef
    • setNameOfAttributeDef

      public void setNameOfAttributeDef(String nameOfAttributeDef)
      name of attribute def
      Parameters:
      nameOfAttributeDef - the nameOfAttributeDef to set
    • getFieldNames

      public String getFieldNames()
      members, readers, updaters, something from grouper_fields.name database column, comma separated
      Returns:
      the fieldName
    • setFieldNames

      public void setFieldNames(String fieldNames)
      members, readers, updaters, something from grouper_fields.name database column, comma separated
      Parameters:
      fieldNames - the fieldName to set
    • getScript

      public String getScript()
      if this uses a script like EL
      Returns:
      the script
    • setScript

      public void setScript(String script1)
      if this uses a script like EL
      Parameters:
      script1 - the script to set
    • getGroupId

      public String getGroupId()
      Returns:
      the groupId
    • setGroupId

      public void setGroupId(String groupId)
      Parameters:
      groupId - the groupId to set
    • getGroupName

      public String getGroupName()
      if this involves a group, this is the group name
      Returns:
      the groupName
    • setGroupName

      public void setGroupName(String groupName)
      if this involves a group, this is the group name
      Parameters:
      groupName - the groupName to set
    • getAzureGroupId

      public String getAzureGroupId()
      if hard coding the azure group id put it here
      Returns:
      the azureGroupId
    • setAzureGroupId

      public void setAzureGroupId(String azureGroupId)
      if hard coding the azure group id put it here
      Parameters:
      azureGroupId - the azureGroupId to set
    • getEnabled

      public Boolean getEnabled()
      if this config is enabled
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
      if this config is enabled
      Parameters:
      enabled - the enabled to set
    • getUserQueryType

      public String getUserQueryType()
      must be one of the enum CustomUiUserQueryType
      Returns:
      the userQueryType
    • setUserQueryType

      public void setUserQueryType(String userQueryType)
      must be one of the enum CustomUiUserQueryType
      Parameters:
      userQueryType - the userQueryType to set
    • getForLoggedInUser

      public Boolean getForLoggedInUser()
      if this is for the logged in user instead of the user being operated on
      Returns:
      for logged in user
    • setForLoggedInUser

      public void setForLoggedInUser(Boolean forLoggedInUser1)
      Parameters:
      forLoggedInUser1 -
    • getVariableToAssign

      public String getVariableToAssign()
      some variable name to be used in display logic
      Returns:
      the variableToAssign
    • setVariableToAssign

      public void setVariableToAssign(String variableToAssign)
      some variable name to be used in display logic
      Parameters:
      variableToAssign - the variableToAssign to set
    • getVariableType

      public String getVariableType()
      one of CustomUiVariableType
      Returns:
      the variableType
    • setVariableType

      public void setVariableType(String variableType)
      one of CustomUiVariableType
      Parameters:
      variableType - the variableType to set
    • getVariableToAssignOnError

      public String getVariableToAssignOnError()
      variable name to set if there is an error in the query
      Returns:
      the variableToAssignOnError
    • setVariableToAssignOnError

      public void setVariableToAssignOnError(String variableToAssignOnError)
      variable name to set if there is an error in the query
      Parameters:
      variableToAssignOnError - the variableToAssignOnError to set
    • getLdapFilter

      public String getLdapFilter()
      ldap filter to run
      Returns:
      the ldapFilter
    • setLdapFilter

      public void setLdapFilter(String ldapFilter)
      ldap filter to run
      Parameters:
      ldapFilter - the ldapFilter to set
    • getLdapSearchDn

      public String getLdapSearchDn()
      ldap base dn to run filter on
      Returns:
      the ldapBaseDn
    • setLdapSearchDn

      public void setLdapSearchDn(String ldapBaseDn)
      ldap base dn to run filter on
      Parameters:
      ldapBaseDn - the ldapBaseDn to set
    • getLdapAttributeToRetrieve

      public String getLdapAttributeToRetrieve()
      attribute to retrieve
      Returns:
      the ldapAttributeToRetrieve
    • setLdapAttributeToRetrieve

      public void setLdapAttributeToRetrieve(String ldapAttributeToRetrieve)
      attribute to retrieve
      Parameters:
      ldapAttributeToRetrieve - the ldapAttributeToRetrieve to set
    • getConfigId

      public String getConfigId()
      config id in config file
      Returns:
      the configId
    • setConfigId

      public void setConfigId(String configId)
      config id in config file
      Parameters:
      configId - the configId to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: