Class MacroContext
java.lang.Object
org.qubership.atp.dataset.service.jpa.impl.macro.MacroContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAtpDataSetContext(String jsonString) voidfillAtpDataSetContext(DataSet dataSet) Set to atp context data set attribute name and value.getAttributeName(UUID attributeId) getCachedDslTextParameter(PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId) For REF_DSL.getDataSetIdByNameAndDataSetList(String name, UUID dataSetListId) getDataSetList(UUID visibilityAreaId, PathStep dataSetList) getDataSetListName(UUID dataSetListId) getDataSetName(UUID dataSetId) getDslTextParameter(UUID visibilityAreaId, PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId) For REF_DSL.getTextParameter(PathStep dataSet, List<PathStep> attributeGroups, PathStep attribute) For REF.getTextParameterFromCachedContextByNamesPath(ParameterPositionContext parameterPositionContext, List<PathStep> attributeGroupsPath, PathStep attribute) For REF_THIS.getValueFromAtpContext(String variable) voidsetDataSetListContext(DataSetListContext dataSetListContext) voidstoreCachedDslTextParameter(PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId, String value) Cache method For REF_DSL.
-
Constructor Details
-
MacroContext
public MacroContext()
-
-
Method Details
-
getCachedDslTextParameter
public CachedDslMacroResult getCachedDslTextParameter(PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId) throws DataSetServiceException For REF_DSL.- Throws:
DataSetServiceException
-
storeCachedDslTextParameter
public void storeCachedDslTextParameter(PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId, String value) throws DataSetServiceException Cache method For REF_DSL.- Throws:
DataSetServiceException
-
getDslTextParameter
public String getDslTextParameter(UUID visibilityAreaId, PathStep dataSetList, PathStep dataSetId, List<PathStep> attributeGroups, PathStep attributeId) throws DataSetServiceException For REF_DSL.- Throws:
DataSetServiceException
-
getTextParameter
public String getTextParameter(PathStep dataSet, List<PathStep> attributeGroups, PathStep attribute) For REF. -
getTextParameterFromCachedContextByNamesPath
public String getTextParameterFromCachedContextByNamesPath(ParameterPositionContext parameterPositionContext, List<PathStep> attributeGroupsPath, PathStep attribute) For REF_THIS. -
getValueFromAtpContext
-
addAtpDataSetContext
-
fillAtpDataSetContext
Set to atp context data set attribute name and value. -
setDataSetListContext
-
getDataSetListName
- Throws:
DataSetServiceException
-
getDataSetName
- Throws:
DataSetServiceException
-
getAttributeName
- Throws:
DataSetServiceException
-
getDataSetIdByNameAndDataSetList
-
getDataSetList
public DataSetList getDataSetList(UUID visibilityAreaId, PathStep dataSetList) throws DataSetServiceException - Throws:
DataSetServiceException
-