public interface IIntegrityChecker
Modifier and Type | Field and Description |
---|---|
static String |
DANGER |
static int |
DANGER_LEVEL |
static String |
INFO |
static int |
INFO_LEVEL |
static String[] |
LEVEL_LABEL |
static String |
SUCCESS |
static int |
SUCCESS_LEVEL |
static String |
WARNING |
static int |
WARNING_LEVEL |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPage(ContentContext ctx,
MenuElement page)
check a integrity of the page.
|
String |
getArea(ContentContext ctx) |
String |
getComponentId(ContentContext ctx)
the component where the problem found.
|
int |
getErrorCount(ContentContext ctx) |
String |
getErrorMessage(ContentContext ctx) |
int |
getLevel(ContentContext ctx) |
String |
getLevelLabel(ContentContext ctx) |
boolean |
isApplicableForMailing(ContentContext ctx) |
static final String SUCCESS
static final String INFO
static final String WARNING
static final String DANGER
static final String[] LEVEL_LABEL
static final int SUCCESS_LEVEL
static final int INFO_LEVEL
static final int WARNING_LEVEL
static final int DANGER_LEVEL
boolean checkPage(ContentContext ctx, MenuElement page) throws Exception
ctx
- page
- Exception
String getErrorMessage(ContentContext ctx)
String getComponentId(ContentContext ctx)
ctx
- String getArea(ContentContext ctx)
int getErrorCount(ContentContext ctx)
String getLevelLabel(ContentContext ctx)
int getLevel(ContentContext ctx)
boolean isApplicableForMailing(ContentContext ctx)
Copyright © 2012-2018. All Rights Reserved.