org.springframework.samples.petclinic.owners
Class StubOwnerRepository
java.lang.Object
org.springframework.samples.petclinic.owners.StubOwnerRepository
- All Implemented Interfaces:
- OwnerRepository
@Repository
public class StubOwnerRepository
- extends Object
- implements OwnerRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubOwnerRepository
public StubOwnerRepository()
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.