Bulk saving of SessionAttributes for the current state in the current session.
Syntaxboolean isCurrentStateEncrypted()
ParametersattributesMap 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());
ParametersattribKey session attribute key
ParametersattribKey session attribute key
attribValue session attribute value
ParametersattribKey session attribute key
attribValue session attribute value
encrypt True/False whether encryption is needed or not, respectively.
Parametersattrs session attributes in Map
ParameterslanguageId
ParameterstransitionLog
Returnslist of session attributes for the current session
Returnsthe session attribute value
ReturnsHashMap of session attributes
Returns
ReturnsTrue or false for encrypted or not, respectively.
ExceptionsDBException Exception while accessing or saving the session variable from database Get the session attributes for the current state in the current session.
ExceptionsDBException 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.
ExceptionsDBException Exception while accessing the session variable from database Get session attributes for the current state in the current session.
ExceptionsDBException 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.
ExceptionsDBException 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).
ExceptionsDBException 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.
ExceptionsDBException Exception while saving the session variable from database
CryptoException Exception during encryption. Get language. No longer supported.
ExceptionsDBException Insert into Transition log or database table: M_SMAPP_TRANSITION_LOG
ExceptionsDBException Indicate whether the current state is encrypted. This flag can be set in the state editor.
RemarksThis method is designed to be used in state implementation that produces multiple { OutputAttribute}s, and it minimize the database roundtrip.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, Sybase, Inc. - Brand Mobiliser API 1.3.0 - October 24, 2012 |
