@Path(value="/") public interface BaseballCardCollectionService
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
List<BaseballCard> getAll()
@Path(value="/BaseballCard/id/{id}")
BaseballCard get(Integer id)
@Path(value="/BaseballCard/playerName/{playerName}")
List<BaseballCard> get(String playerName)
@Path(value="/BaseballCard") Integer add(BaseballCard card)
@Path(value="/BaseballCard/id/{id}")
void update(Integer id,
                                                 BaseballCard card)
@Path(value="/BaseballCard/id/{id}")
void delete(Integer id)
void unannotatedMethod()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.