public void revert() { DialPlanContext manager = getDialPlanContext(); manager.resetToFactoryDefault();
public IPage revert(IRequestCycle cycle) { ResetDialPlan reset = (ResetDialPlan) cycle.getPage(ResetDialPlan.PAGE); reset.setReturnPage(PAGE); return reset;
    public void revert() {        DialPlanContext manager = getDialPlanContext();        manager.resetToFactoryDefault();    }