org.springframework.samples.petclinic.owners
Class StubOwnerRepository

java.lang.Object
  extended by org.springframework.samples.petclinic.owners.StubOwnerRepository
All Implemented Interfaces:
OwnerRepository

@Repository
public class StubOwnerRepository
extends Object
implements OwnerRepository


Constructor Summary
StubOwnerRepository()
           
 
Method Summary
 Collection<OwnerSummary> findOwnersByLastName(String lastName)
           
 OwnerForm getOwner(Long id)
           
 Long saveOwner(OwnerForm owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StubOwnerRepository

public StubOwnerRepository()
Method Detail

findOwnersByLastName

public Collection<OwnerSummary> findOwnersByLastName(String lastName)
Specified by:
findOwnersByLastName in interface OwnerRepository

getOwner

public OwnerForm getOwner(Long id)
Specified by:
getOwner in interface OwnerRepository

saveOwner

public Long saveOwner(OwnerForm owner)
Specified by:
saveOwner in interface OwnerRepository


Copyright © 2009 SpringSource, Inc. All Rights Reserved.