|
Spring Framework example source code file (PetService.java)
The Spring Framework PetService.java source codepackage org.springframework.samples.petportal.service; import java.util.Date; import java.util.SortedSet; import org.springframework.samples.petportal.domain.Pet; /** * The PetService interface. * * @author John A. Lewis * @author Mark Fisher * @author Juergen Hoeller */ public interface PetService { public final static String DEFAULT_DATE_FORMAT = "MM/dd/yyyy"; public Pet getPet(Integer key); public Pet getPet(int key); public int getPetCount(); public SortedSet getAllPets(); public int addPet(Pet pet); public int addPet(String species, String breed, String name, Date birthdate); public void savePet(Pet pet); public void deletePet(Integer key); public void deletePet(Pet pet); public void deletePet(int key); } Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework PetService.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.