Developer

isCurrentStateEncrypted() method

Bulk saving of SessionAttributes for the current state in the current session.

Syntax
Syntax
public boolean isCurrentStateEncrypted ()

Parameters

  • attributesMap Key-Value pair. The key should be obtained using the OutputAttribute#getText() method, and the value from the OutputAttribute#getHoldValue(). For example,attributesMap.put(outAttrib.getText(), outAttrib.getHoldValue());
  • attribKey session attribute key
  • attribKey session attribute key
  • attribValue session attribute value
  • attribKey session attribute key
  • attribValue session attribute value
  • encrypt True/False whether encryption is needed or not, respectively.
  • attrs session attributes in Map
  • languageId
  • transitionLog

Returns

list of session attributes for the current sessionthe session attribute valueHashMap of session attributesTrue or false for encrypted or not, respectively.

Exceptions

  • DBException Exception while accessing or saving the session variable from database Get the session attributes for the current state in the current session.
  • DBException Exception while accessing the session variable from database Get the value of session attribute (SessionAttribute) in the current state based on the specified key from the current session.
  • DBException Exception while accessing the session variable from database Get session attributes for the current state in the current session.
  • DBException Exception while accessing the session variable from database
  • CryptoException Encryption exception while decrypting the session attribute Save the input parameters to the session attribute (SessionAttribute) of the current session.
  • DBException Exception while saving the session variable from database
  • CryptoException Exception during encryption. Save the input parameters to the session attribute (SessionAttribute) to the current session. Encrypt the value prior to saving, if needed (encrypt = true).
  • DBException Exception while saving the session variable from database
  • CryptoException Exception during encryption. Save the session attributes in the Map of the current state in the current session to database.
  • DBException Exception while saving the session variable from database
  • CryptoException Exception during encryption. Get language. No longer supported.
  • DBException Insert into Transition log or database table: M_SMAPP_TRANSITION_LOG
  • DBException Indicate whether the current state is encrypted. This flag can be set in the state editor.

Remarks

This method is designed to be used in state implementation that produces multiple { OutputAttribute}s, and it minimize the database roundtrip.