br.com.jarch.faces.parameter.JArchParametersViewConfig Maven / Gradle / Ivy
package br.com.jarch.faces.parameter;
import br.com.jarch.core.crud.parameter.IParameter;
import br.com.jarch.core.model.IIdentity;
import br.com.jarch.faces.controller.BaseFilterSelectController;
import javax.faces.convert.Converter;
import javax.faces.validator.Validator;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PACKAGE, ElementType.TYPE})
@Inherited
public @interface JArchParametersViewConfig {
ViewConfig[] viewsConfig();
@interface ViewConfig {
Class extends IParameter>> parameter();
Class extends Converter>> converter() default DefaultConverter.class;
Class extends Validator>> validator() default DefaultValidator.class;
Class extends BaseFilterSelectController extends IIdentity>> filterSelection() default DefaultBaseFilterSelectController.class;
boolean rendered() default true;
boolean disabled() default false;
boolean hideCode() default false;
int size() default 0;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy