Class ActorsMappingExtension
java.lang.Object
com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
com.axemble.vdp.mapping.extensions.ActorsMappingExtension
- All Implemented Interfaces:
Serializable
- Author:
- vlygeros
- See Also:
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
Cut param on comma but not in bracketsevaluateFormula
(String actionKey) Evaluate a given formulagetActionKeyParam
(String actionKey) Return param string of a actionKeyString[]
getActionKeyParams
(String actionKey) Return param strings array of a actionKeyint
getFirstBracketIndex
(String actionKey) int
getLastBracketIndex
(String actionKey) void
void
Methods inherited from class com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
getDirectoryModule, getPortalModule, getProjectModule, getResource, getWorkflowInstance, getWorkflowModule, isOnLoadEvent, updateLocalDocument
-
Field Details
-
objectValue
-
-
Constructor Details
-
ActorsMappingExtension
public ActorsMappingExtension()
-
-
Method Details
-
onChange
- Specified by:
onChange
in classBaseMappingExtension
-
onLoad
- Specified by:
onLoad
in classBaseMappingExtension
-
getValue
-
evaluateFormula
Evaluate a given formula- Parameters:
actionKey
- The formula to evaluate- Returns:
- Return a typed value if evalution succeded or null if failed.
-
getFirstBracketIndex
-
getLastBracketIndex
-
getActionKeyParam
Return param string of a actionKey- Parameters:
actionKey
- The actionKey. Must look like :- Returns:
- the param String or null if fail
-
getActionKeyParams
Return param strings array of a actionKey- Parameters:
actionKey
- The actionKey. Must look like :- Returns:
- the param strings array or null if fail
-
cutParams
Cut param on comma but not in brackets- Parameters:
param
- The string to cut- Returns:
- Array of string exemple :
-