Class ResourceBrowserMappingExtension
java.lang.Object
com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
com.axemble.vdp.mapping.extensions.ResourceBrowserMappingExtension
- All Implemented Interfaces:
Serializable
- Author:
- vlygeros
- See Also:
-
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
LOGGER -
Constructor Summary
Constructors -
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 actionKeygetAverage(Collection<?> resourceLines, String propertyName) intgetFirstBracketIndex(String actionKey) intgetLastBracketIndex(String actionKey) getMapValue(Map map, String key) getTotal(Collection<?> resourceLines, String propertyName) voidvoidprotected ObjectMethods inherited from class com.axemble.vdoc.sdk.mapping.extensions.BaseMappingExtension
getDirectoryModule, getPortalModule, getProjectModule, getResource, getWorkflowInstance, getWorkflowModule, isOnLoadEvent, updateLocalDocument
-
Field Details
-
objectValue
-
-
Constructor Details
-
ResourceBrowserMappingExtension
public ResourceBrowserMappingExtension()
-
-
Method Details
-
onChange
- Specified by:
onChangein classBaseMappingExtension
-
onLoad
- Specified by:
onLoadin 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.
-
trunc
- Parameters:
endIndex-theValue-- Returns:
-
getTotal
-
getAverage
-
getMapValue
-
concat
-
toString
-
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 :
-