Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
buildCacheKey(java.lang.String type, java.lang.String label, java.lang.String precision = null) |
|
protected java.lang.String |
findCAMAttributeId(java.lang.String label) |
|
protected java.lang.String |
findCXAM(java.lang.String cxName, java.lang.String label) |
|
protected java.lang.String |
findMLTVM(java.lang.String lookupTableId, java.lang.String label) |
|
protected java.lang.String |
findPAMAttributeId(java.lang.String label) |
|
protected java.lang.String |
findPGIM(java.lang.String priceGridId, java.lang.String labelOrElementName) |
|
protected java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
findPGIMBatched(java.lang.String priceGridId, java.util.List labelsOrElementNames) |
|
protected java.lang.String |
findPLIM(java.lang.String priceGridId, java.lang.String labelOrElementName) |
|
protected java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
findPLIMBatched(java.lang.String priceGridId, java.util.List labelsOrElementNames) |
|
protected java.lang.String |
findPXAM(java.lang.String pxName, java.lang.String label) |
|
java.lang.String |
getAttributeIdFromLabel(java.lang.String type, java.lang.String containerIdOrName, java.lang.String label) Function used as dynamical way to call - getLTVAttributeId - getPXAttributeId - getPGIAttributeId - getPLIAttributeId - getPAttributeId |
|
java.lang.String |
getCAttributeId(java.lang.String label) Function used for finding id of Customer column, based on label from metadata(name in GUI) Results use cache in api.global - api.retainGlobal() should improve performance |
|
java.lang.String |
getCXAttributeId(java.lang.String cxName, java.lang.String label) Function used for finding id of a CX column, based on label from metadata (name in GUI). |
|
java.lang.String |
getLTVAttributeId(java.lang.String lookupTableIdOrName, java.lang.String label) Function used for finding id of a PP column, based on label from metadata (name in GUI). |
|
java.lang.String |
getPAttributeId(java.lang.String label) Function used for finding id of Product collum, based on label from metadata(name in GUI) Results use cache in api.global - api.retainGlobal() should improve performance |
|
java.lang.String |
getPGIAttributeId(java.lang.String priceGridId, java.lang.String elementNameOrLabel) Function used for finding id of a PGI column, based on label from metadata (name in GUI). |
|
java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
getPGIAttributeIdBatched(java.lang.String priceGridId, java.util.List elementNamesOrLabels) Function used for finding ids of a PGI columns, based on labels from metadata (names in GUI). |
|
java.lang.String |
getPLIAttributeId(java.lang.String priceListId, java.lang.String elementNameOrLabel) Function used for finding id of a PLI column, based on label from metadata (name in GUI). |
|
java.util.List<java.util.Map<java.lang.String, java.lang.String>> |
getPLIAttributeIdBatched(java.lang.String priceListId, java.util.List elementNamesOrLabels) Function used for finding ids of a PLI columns, based on labels from metadata (names in GUI). |
|
java.lang.String |
getPPIdFromName(java.lang.String ppName) To look through records of PP, it's ID is needed. |
|
java.lang.String |
getPXAttributeId(java.lang.String pxName, java.lang.String label) Function used for finding id of a PX column, based on label from metadata (name in GUI). |
null |
static void |
main(java.lang.String[] args) Implicit main method for Groovy Scripts |
Methods inherited from class | Name |
---|---|
class groovy.lang.Script |
groovy.lang.Script#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.Script#evaluate(java.lang.String), groovy.lang.Script#evaluate(java.io.File), groovy.lang.Script#getBinding(), groovy.lang.Script#setBinding(groovy.lang.Binding), groovy.lang.Script#println(), groovy.lang.Script#println(java.lang.Object), groovy.lang.Script#run(java.io.File, [Ljava.lang.String;), groovy.lang.Script#run(), groovy.lang.Script#setProperty(java.lang.String, java.lang.Object), groovy.lang.Script#getProperty(java.lang.String), groovy.lang.Script#print(java.lang.Object), groovy.lang.Script#printf(java.lang.String, java.lang.Object), groovy.lang.Script#printf(java.lang.String, [Ljava.lang.Object;), groovy.lang.Script#getMetaClass(), groovy.lang.Script#setMetaClass(groovy.lang.MetaClass), groovy.lang.Script#wait(long, int), groovy.lang.Script#wait(long), groovy.lang.Script#wait(), groovy.lang.Script#equals(java.lang.Object), groovy.lang.Script#toString(), groovy.lang.Script#hashCode(), groovy.lang.Script#getClass(), groovy.lang.Script#notify(), groovy.lang.Script#notifyAll() |
class groovy.lang.GroovyObjectSupport |
groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
Function used as dynamical way to call - getLTVAttributeId - getPXAttributeId - getPGIAttributeId - getPLIAttributeId - getPAttributeId
type
- - type of data, which attribute you want to translatecontainerIdOrName
- - The first input parameter for methods listed abovelabel
- - The second input parameter for methods listed aboveFunction used for finding id of Customer column, based on label from metadata(name in GUI) Results use cache in api.global - api.retainGlobal() should improve performance
label
- - label of column in in customer metadataFunction used for finding id of a CX column, based on label from metadata (name in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
cxName
- - function supports calling it with Customer Extension name. CX label is not supported currentlylabel
- - label of column in metadataFunction used for finding id of a PP column, based on label from metadata (name in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
lookupTableIdOrName
- - function supports calling it with ID of PP or its namelabel
- - label of column in metadataFunction used for finding id of Product collum, based on label from metadata(name in GUI) Results use cache in api.global - api.retainGlobal() should improve performance
label
- - label of column in in product metadataFunction used for finding id of a PGI column, based on label from metadata (name in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
priceGridId
- - function supports calling it with price grid id. Price grid name is not unique and shall never be supportedelementNameOrLabel
- - label of column in metadata or element name in logicFunction used for finding ids of a PGI columns, based on labels from metadata (names in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
priceGridtId
- - function supports calling it with price grid id. Price grid name is not unique and shall never be supportedelementNamesOrLabels
- - labels of columns in metadata or element names in logic (may be mixed)Function used for finding id of a PLI column, based on label from metadata (name in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
priceListId
- - function supports calling it with price list id. Price list name is not unique and shall never be supportedelementNameOrLabel
- - label of column in metadata or element name in logicFunction used for finding ids of a PLI columns, based on labels from metadata (names in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
priceListId
- - function supports calling it with price list id. Price list name is not unique and shall never be supportedelementNamesOrLabels
- - labels of columns in metadata or element names in logic (may be mixed)To look through records of PP, it's ID is needed. In configuration files, we need to fetch this id. Results use cache in api.global - api.retainGlobal() should improve performance
ppName
- Name of Price ParameterFunction used for finding id of a PX column, based on label from metadata (name in GUI). Results use cache in api.global - api.retainGlobal() should improve performance
pxName
- - function supports calling it with Product Extension name. PX label is not supported currentlylabel
- - label of column in metadataImplicit main method for Groovy Scripts