|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.commerce.promotion.template.PromotionTemplateValidator
public class PromotionTemplateValidator
Determines if the promotions template is valid for the ui by ensuring all
place holders in the
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PromotionTemplateValidator()
|
Method Summary | |
---|---|
atg.repository.editingtemplate.PlaceholderReplacementService |
getPlaceholderReplacementService()
Gets the PlaceholderReplacementService |
void |
setPlaceholderReplacementService(atg.repository.editingtemplate.PlaceholderReplacementService pPlaceholderReplacementService)
Sets the PlaceholderReplacementService |
boolean |
validate(org.w3c.dom.Document pDocument)
Performs basic validation on a template ensuring that place holders from the promotion templates |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PromotionTemplateValidator()
Method Detail |
---|
public void setPlaceholderReplacementService(atg.repository.editingtemplate.PlaceholderReplacementService pPlaceholderReplacementService)
public atg.repository.editingtemplate.PlaceholderReplacementService getPlaceholderReplacementService()
public boolean validate(org.w3c.dom.Document pDocument)
Performs basic validation on a template ensuring that place holders from
the promotion templates
validate
in interface TemplateValidator
pDocument
- A DOM Document representation of a promotions template
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |