|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ksb.testclient1.BaseballCardCollectionServiceImpl
public class BaseballCardCollectionServiceImpl
Implementation for BaseballCardCollectionService
Field Summary | |
---|---|
private Map<Integer,BaseballCard> |
cards
|
private AtomicInteger |
nextId
|
Constructor Summary | |
---|---|
BaseballCardCollectionServiceImpl()
|
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 in the BaseballCardCollectionService interface |
void |
update(Integer id,
BaseballCard card)
update the card for the given identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Map<Integer,BaseballCard> cards
private AtomicInteger nextId
Constructor Detail |
---|
public BaseballCardCollectionServiceImpl()
Method Detail |
---|
public Integer add(BaseballCard card)
BaseballCardCollectionService
add
in interface BaseballCardCollectionService
BaseballCardCollectionService.add(org.kuali.rice.ksb.messaging.remotedservices.BaseballCard)
public void delete(Integer id)
BaseballCardCollectionService
delete
in interface BaseballCardCollectionService
BaseballCardCollectionService.delete(java.lang.Integer)
public BaseballCard get(Integer id)
BaseballCardCollectionService
get
in interface BaseballCardCollectionService
BaseballCardCollectionService.get(java.lang.Integer)
public List<BaseballCard> get(String playerName)
BaseballCardCollectionService
get
in interface BaseballCardCollectionService
BaseballCardCollectionService.get(java.lang.String)
public List<BaseballCard> getAll()
getAll
in interface BaseballCardCollectionService
BaseballCardCollectionService.getAll()
public void update(Integer id, BaseballCard card)
BaseballCardCollectionService
update
in interface BaseballCardCollectionService
BaseballCardCollectionService.update(java.lang.Integer, org.kuali.rice.ksb.messaging.remotedservices.BaseballCard)
public void unannotatedMethod()
BaseballCardCollectionService
interface
unannotatedMethod
in interface BaseballCardCollectionService
BaseballCardCollectionService.unannotatedMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |