Package ru.bgcrm.dao.process

# Class SecretExpression

java.lang.Object
ru.bgcrm.dao.process.SecretExpression

public class SecretExpression extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `PARAM_SECRET`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SecretExpression(String expression)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `check(Process process, DynActionForm form)`
  Checks if no secret set or passed secret correct.
  `String`
  `queryString(Process process)`
  Query string including secret, if configured.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### PARAM_SECRET

    public static final String PARAM_SECRET
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### SecretExpression

    public SecretExpression(String expression)

- ## Method Details

  - ### check

    public boolean check(Process process, DynActionForm form)
    Checks if no secret set or passed secret correct.
    Parameters:
      `process` -
      `form` -
    Returns:

  - ### queryString

    public String queryString(Process process)
    Query string including secret, if configured. Missing secret is generated.
    Parameters:
      `process` -
    Returns:
      '?' starting query string when secret has configured or empty string.