public interface FacesOperations
| Modifier and Type | Method and Description |
|---|---|
org.jboss.forge.roaster.model.source.MethodSource<org.jboss.forge.roaster.model.source.JavaClassSource> |
addValidatorMethod(JavaResource target,
String name)
Adds a
Validator method to the given JavaResource. |
JavaResource |
newBackingBean(DirectoryResource target,
String backingBeanName,
String backingBeanPackage)
Creates a new
JavaResource in the specified target. |
JavaResource |
newBackingBean(Project project,
String backingBeanName,
String backingBeanPackage)
Creates a new
JavaResource in the specified project. |
JavaResource |
newConverter(DirectoryResource target,
String converterName,
String converterPackage)
Creates a new
JavaResource in the specified target. |
JavaResource |
newConverter(Project project,
String converterName,
String converterPackage)
Creates a new
JavaResource in the specified project. |
JavaResource |
newValidator(DirectoryResource target,
String validatorName,
String validatorPackage)
Creates a new
JavaResource in the specified target. |
JavaResource |
newValidator(Project project,
String validatorName,
String validatorPackage)
Creates a new
JavaResource in the specified project. |
JavaResource newBackingBean(Project project, String backingBeanName, String backingBeanPackage) throws FileNotFoundException
JavaResource in the specified project. If no project is available, use
newBackingBean(DirectoryResource, String, String)project - the current project to create the backing bean. Must not be nullbackingBeanName - the name of the backing beanbackingBeanPackage - the package of the backing bean to be createdJavaResourceFileNotFoundExceptionJavaResource newBackingBean(DirectoryResource target, String backingBeanName, String backingBeanPackage)
JavaResource in the specified target. If a project is available, use
newBackingBean(Project, String, String)target - the target directory resource to create the backing beanbackingBeanName - the name of the backing beanbackingBeanPackage - the package of the backing bean to be createdJavaResourceJavaResource newConverter(Project project, String converterName, String converterPackage) throws FileNotFoundException
JavaResource in the specified project. If no project is available, use
newConverter(DirectoryResource, String, String)project - the current project to create the converter. Must not be nullconverterName - the name of the converterconverterPackage - the package of the converter to be createdJavaResourceFileNotFoundExceptionJavaResource newConverter(DirectoryResource target, String converterName, String converterPackage)
JavaResource in the specified target. If a project is available, use
newConverter(Project, String, String)target - the target directory resource to create this classconverterName - the name of the converterconverterPackage - the package of the converter to be createdJavaResourceJavaResource newValidator(Project project, String validatorName, String validatorPackage) throws FileNotFoundException
JavaResource in the specified project. If no project is available, use
newValidator(DirectoryResource, String, String)project - the current project to create the validator. Must not be nullvalidatorName - the name of the validatorvalidatorPackage - the package of the validator to be createdJavaResourceFileNotFoundExceptionJavaResource newValidator(DirectoryResource target, String validatorName, String validatorPackage)
JavaResource in the specified target. If a project is available, use
newConverter(Project, String, String)target - the target directory resource to create the validator. Must not be nullvalidatorName - the name of the validatorvalidatorPackage - the package of the validator to be createdJavaResourceorg.jboss.forge.roaster.model.source.MethodSource<org.jboss.forge.roaster.model.source.JavaClassSource> addValidatorMethod(JavaResource target, String name) throws FileNotFoundException
Validator method to the given JavaResource.FileNotFoundExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.