Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Inherits MendixObjectMember< String >.
Classes | |
class | HashStruct |
Public Member Functions | |
MendixHashString (String name) | |
MendixHashString (String name, boolean v, String virtualActionName) | |
String | getValueFromString (String s) |
void | parseValueFromString (IContext context, String s) |
synchronized void | setValue (IContext context, String unhashed) |
synchronized void | setInitialValue (String unhashed) |
synchronized boolean | verifyValue (IContext context, String unhashed) |
synchronized void | setHash (IContext context, String hashedValue) |
synchronized void | setInitialHash (String hashedValue) |
String | getUnhashedValue (IContext context) |
Hash string object member. Can be used for hashed string values such as passwords.
com.mendix.core.objectmanagement.member.MendixHashString.MendixHashString | ( | String | name | ) |
name | the name of the hashstring |
com.mendix.core.objectmanagement.member.MendixHashString.MendixHashString | ( | String | name, |
boolean | v, | ||
String | virtualActionName | ||
) |
Creates MendixHashString with the given virtual settings
name | the name of the hashstring |
v | boolean defining whether this primitive is virtual or not |
virtualActionName | the CoreAction which will be called when using getValue |
String com.mendix.core.objectmanagement.member.MendixHashString.getUnhashedValue | ( | IContext | context | ) |
Used by DataValidation
String com.mendix.core.objectmanagement.member.MendixHashString.getValueFromString | ( | String | s | ) |
void com.mendix.core.objectmanagement.member.MendixHashString.parseValueFromString | ( | IContext | context, |
String | s | ||
) |
Parse value of this ObjectMember from a String
context | |
s |
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setHash | ( | IContext | context, |
String | hashedValue | ||
) |
Set already hashed value
context | |
hashedValue |
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setInitialHash | ( | String | hashedValue | ) |
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setInitialValue | ( | String | unhashed | ) |
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setValue | ( | IContext | context, |
String | unhashed | ||
) |
synchronized boolean com.mendix.core.objectmanagement.member.MendixHashString.verifyValue | ( | IContext | context, |
String | unhashed | ||
) |
Verify a hash value
context | |
unhashed |