|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.ajaxtags.demo.CarService
public class CarService
This class simulate a Car Service. It's not intended to be used as a good example (we recomend that you use interfaces, etc).
Constructor Summary | |
---|---|
CarService()
Constructor for CarService. |
Method Summary | |
---|---|
List<Car> |
getAllCars()
Get all cars. |
List<Car> |
getModelsByMake(String make)
Get all models for a particular car maker. |
List<Car> |
getModelsByName(String name)
Get all models that start with name. |
List<Character> |
getModelsFirstChar()
Read the first char of the model and return a sorted List. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CarService()
Method Detail |
---|
public List<Car> getModelsByMake(String make)
make
- the make of the car
List
of org.ajaxtags.demo.Car
objectspublic List<Car> getModelsByName(String name)
name
- the name of the car model
List
of org.ajaxtags.demo.Car
objectspublic List<Car> getAllCars()
List
of org.ajaxtags.demo.Car
objectspublic List<Character> getModelsFirstChar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |