public interface WebFinderOperations
| Modifier and Type | Method and Description |
|---|---|
void |
createOrUpdateSearchControllerForAllEntities(ControllerMVCResponseService responseType,
org.springframework.roo.model.JavaPackage controllerPackage,
String pathPrefix)
Creates or updates all controllers with it's associated entities query methods.
|
void |
createOrUpdateSearchControllerForEntity(org.springframework.roo.model.JavaType entity,
List<String> queryMethods,
ControllerMVCResponseService responseType,
org.springframework.roo.model.JavaPackage controllerPackage,
String pathPrefix)
Creates or updates the controller associated to specified entity with the specified
query methods.
|
List<String> |
getFindersWhichCanBePublish(org.springframework.roo.model.JavaType entity,
ControllerMVCResponseService responseType)
Returns finders names which can be publish
|
List<String> |
getFindersWhichCanBePublish(org.springframework.roo.addon.layers.repository.jpa.addon.RepositoryJpaMetadata repositoryMetadata,
ControllerMVCResponseService responseType)
Returns finders names which can be publish
|
boolean |
isWebFinderInstallationPossible() |
boolean isWebFinderInstallationPossible()
void createOrUpdateSearchControllerForEntity(org.springframework.roo.model.JavaType entity,
List<String> queryMethods,
ControllerMVCResponseService responseType,
org.springframework.roo.model.JavaPackage controllerPackage,
String pathPrefix)
entity - the JavaType representing the entity which associated repository
has the finders to publish in web layer.queryMethods - the ListresponseType - the ControllerMVCResponseService to be used by generated
controller.controllerPackage - the JavaPackage where controller should be generated.pathPrefix - the String with the default controller path for finder requests.void createOrUpdateSearchControllerForAllEntities(ControllerMVCResponseService responseType, org.springframework.roo.model.JavaPackage controllerPackage, String pathPrefix)
responseType - the ControllerMVCResponseService to be used by generated
controllers.controllerPackage - the JavaPackage where controllers should be generated.pathPrefix - the String with the default controller paths for finder requests.List<String> getFindersWhichCanBePublish(org.springframework.roo.model.JavaType entity, ControllerMVCResponseService responseType)
entity - responseType - (optional, can be null)List<String> getFindersWhichCanBePublish(org.springframework.roo.addon.layers.repository.jpa.addon.RepositoryJpaMetadata repositoryMetadata, ControllerMVCResponseService responseType)
repositoryMetadata - responseType - Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.