class NewTemplatePresenter implements WizardPage {

    public boolean isCapabilityValid() {
        if (view.isPlanningCapabilityChecked() && view.isRuleCapabilityChecked()) {
            return true;
        }

        if (view.isProcessCapabilityChecked() || view.isRuleCapabilityChecked()) {
            return true;
        }

        return false;
    }

    @Inject public  NewTemplatePresenter(final View view,
                                final Caller<SpecManagementService> specManagementService,
                                final Event<WizardPageStatusChangeEvent> wizardPageStatusChangeEvent);

}