|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseballCardCollectionService
JAX-RS annotated interface for a baseball card collection service which might track the cards in a collection.
Method Summary | |
---|---|
Integer |
add(BaseballCard card)
Add a card to the collection. |
void |
delete(Integer id)
delete the card with the given identifier. |
BaseballCard |
get(Integer id)
gets a card by it's (arbitrary) identifier |
List<BaseballCard> |
get(String playerName)
gets all the cards in the collection with the given player name |
List<BaseballCard> |
getAll()
|
void |
unannotatedMethod()
This method lacks JAX-RS annotations |
void |
update(Integer id,
BaseballCard card)
update the card for the given identifier. |
Method Detail |
---|
List<BaseballCard> getAll()
BaseballCard get(Integer id)
List<BaseballCard> get(String playerName)
Integer add(BaseballCard card)
void update(Integer id, BaseballCard card)
void delete(Integer id)
void unannotatedMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |