public class ResourceBrowserMappingExtension extends BaseMappingExtension
| Modifier and Type | Field and Description |
|---|---|
protected Object |
objectValue |
LOGGER| Constructor and Description |
|---|
ResourceBrowserMappingExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
concat(String[] params) |
static String[] |
cutParams(String param)
Cut param on comma but not in brackets
|
Object |
evaluateFormula(String actionKey)
Evaluate a given formula
|
String |
getActionKeyParam(String actionKey)
Return param string of a actionKey
|
String[] |
getActionKeyParams(String actionKey)
Return param strings array of a actionKey
|
Object |
getAverage(Collection<?> resourceLines,
String propertyName) |
int |
getFirstBracketIndex(String actionKey) |
int |
getLastBracketIndex(String actionKey) |
Object |
getMapValue(Map map,
String key) |
Object |
getTotal(Collection<?> resourceLines,
String propertyName) |
Object |
getValue(String actionKey) |
void |
onChange(IProperty property,
Element element) |
void |
onLoad(Element element) |
String |
toString(String param) |
protected Object |
trunc(String value,
String endIndex) |
getDirectoryModule, getPortalModule, getProjectModule, getResource, getWorkflowInstance, getWorkflowModule, isOnLoadEvent, updateLocalDocumentprotected Object objectValue
public void onChange(IProperty property, Element element)
onChange in class BaseMappingExtensionpublic void onLoad(Element element)
onLoad in class BaseMappingExtensionpublic Object evaluateFormula(String actionKey)
actionKey - The formula to evaluateprotected Object trunc(String value, String endIndex)
theValue - endIndex - public Object getTotal(Collection<?> resourceLines, String propertyName)
public Object getAverage(Collection<?> resourceLines, String propertyName)
public int getFirstBracketIndex(String actionKey)
public int getLastBracketIndex(String actionKey)
public String getActionKeyParam(String actionKey)
actionKey - The actionKey. Must look like :public String[] getActionKeyParams(String actionKey)
actionKey - The actionKey. Must look like :Copyright © 2021 Visiativ Software. All rights reserved.