public class PromotionConverter
extends atg.scenario.xref.converter.ReferenceTargetConverterImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
PROMOTION_TOOLS_PATH
Component path for promotion tools
|
Constructor and Description |
---|
PromotionConverter() |
PromotionConverter(java.lang.String pReferenceType)
Constructs an instanceof PromotionConverter
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getXrefItemValue(java.lang.String pString)
Takes a given promotion id and returns the
name of the promotion
|
public static java.lang.String CLASS_VERSION
public static final java.lang.String PROMOTION_TOOLS_PATH
public PromotionConverter()
public PromotionConverter(java.lang.String pReferenceType)
pReferenceType
- the reference type that this
converter converts values forpublic java.lang.Object getXrefItemValue(java.lang.String pString) throws ScenarioException
getXrefItemValue
in interface atg.scenario.xref.converter.ReferenceTargetConverter
getXrefItemValue
in class atg.scenario.xref.converter.ReferenceTargetConverterImpl
pString
- the promotion idScenarioException
- if null is passed in
or a RepositoryException occurs