Package org.javlo.service.integrity
Class CheckTitle
- java.lang.Object
-
- org.javlo.service.integrity.AbstractIntegrityChecker
-
- org.javlo.service.integrity.CheckTitle
-
- All Implemented Interfaces:
IIntegrityChecker
public class CheckTitle extends AbstractIntegrityChecker
-
-
Field Summary
-
Fields inherited from interface org.javlo.service.integrity.IIntegrityChecker
DANGER, DANGER_LEVEL, INFO, INFO_LEVEL, LEVEL_LABEL, SUCCESS, SUCCESS_LEVEL, WARNING, WARNING_LEVEL
-
-
Constructor Summary
Constructors Constructor Description CheckTitle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkPage(ContentContext ctx, MenuElement page)
check a integrity of the page.boolean
isApplicableForMailing(ContentContext ctx)
-
Methods inherited from class org.javlo.service.integrity.AbstractIntegrityChecker
getArea, getComponentId, getErrorCount, getErrorMessage, getLevel, getLevelLabel, setComponentId, setErrorCount, setErrorMessage, setLevel
-
-
-
-
Method Detail
-
checkPage
public boolean checkPage(ContentContext ctx, MenuElement page) throws Exception
Description copied from interface:IIntegrityChecker
check a integrity of the page.- Returns:
- true if checker have found no problem.
- Throws:
Exception
-
isApplicableForMailing
public boolean isApplicableForMailing(ContentContext ctx)
- Specified by:
isApplicableForMailing
in interfaceIIntegrityChecker
- Overrides:
isApplicableForMailing
in classAbstractIntegrityChecker
-
-