@Service public class ServiceCommands extends Object implements org.springframework.roo.shell.CommandMarker
| Constructor and Description |
|---|
ServiceCommands() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
boolean |
areIterfaceAndClassVisible(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
arePackageParametersMandatory(org.springframework.roo.shell.ShellContext context)
This indicator says if --apiPackage and --implPackage parameters should be mandatory or not
If --all parameter has been specified, --apiPackage and --implPackage parameters will be mandatory.
|
boolean |
arePackageParametersVisible(org.springframework.roo.shell.ShellContext context)
This indicator says if --apiPackage and --implPackage parameters are visible.
|
List<String> |
getClassPossibleResults(org.springframework.roo.shell.ShellContext shellContext) |
List<String> |
getEntityPossibleResults(org.springframework.roo.shell.ShellContext shellContext) |
List<String> |
getInterfacePossibleResults(org.springframework.roo.shell.ShellContext shellContext) |
org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> |
getJavaTypeConverter() |
boolean |
isAllParameterVisible(org.springframework.roo.shell.ShellContext context)
This indicator says if --all parameter is visible.
|
boolean |
isEntityParameterVisible(org.springframework.roo.shell.ShellContext context)
This indicator says if --entity parameter is visible.
|
boolean |
isInterfaceParameterMandatory(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isRepositoryParameterMandatory(org.springframework.roo.shell.ShellContext shellContext) |
boolean |
isServiceCommandAvailable() |
List<String> |
returnRepositories(org.springframework.roo.shell.ShellContext shellContext) |
void |
service(boolean all,
org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType repositoryType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType,
org.springframework.roo.model.JavaPackage apiPackage,
org.springframework.roo.model.JavaPackage implPackage) |
protected void activate(org.osgi.service.component.ComponentContext context)
public boolean isServiceCommandAvailable()
public boolean areIterfaceAndClassVisible(org.springframework.roo.shell.ShellContext shellContext)
public boolean isInterfaceParameterMandatory(org.springframework.roo.shell.ShellContext shellContext)
public boolean isRepositoryParameterMandatory(org.springframework.roo.shell.ShellContext shellContext)
public List<String> returnRepositories(org.springframework.roo.shell.ShellContext shellContext)
public List<String> getEntityPossibleResults(org.springframework.roo.shell.ShellContext shellContext)
public List<String> getInterfacePossibleResults(org.springframework.roo.shell.ShellContext shellContext)
public List<String> getClassPossibleResults(org.springframework.roo.shell.ShellContext shellContext)
public boolean arePackageParametersMandatory(org.springframework.roo.shell.ShellContext context)
context - ShellContextpublic boolean arePackageParametersVisible(org.springframework.roo.shell.ShellContext context)
context - ShellContextpublic boolean isAllParameterVisible(org.springframework.roo.shell.ShellContext context)
context - ShellContextpublic boolean isEntityParameterVisible(org.springframework.roo.shell.ShellContext context)
context - ShellContextpublic void service(boolean all,
org.springframework.roo.model.JavaType domainType,
org.springframework.roo.model.JavaType repositoryType,
org.springframework.roo.model.JavaType interfaceType,
org.springframework.roo.model.JavaType implType,
org.springframework.roo.model.JavaPackage apiPackage,
org.springframework.roo.model.JavaPackage implPackage)
public org.springframework.roo.shell.Converter<org.springframework.roo.model.JavaType> getJavaTypeConverter()
Copyright © 2009–2016. All rights reserved.