Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
O
P
R
S
T
V
W
A
addPet(Pet)
- Method in interface org.springframework.samples.petportal.service.
PetService
addPet(String, String, String, Date)
- Method in interface org.springframework.samples.petportal.service.
PetService
addPet(Pet)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
addPet(String, String, String, Date)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
afterPropertiesSet()
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
C
changePreference(PortletPreferences, String)
- Method in class org.springframework.samples.petportal.portlet.
DateFormatController
In the action phase, the dateFormat preference is modified.
compareTo(Object)
- Method in class org.springframework.samples.petportal.domain.
Pet
D
DateFormatController
- Class in
org.springframework.samples.petportal.portlet
This controller provides a simple example of modifying portlet preferences.
DateFormatController()
- Constructor for class org.springframework.samples.petportal.portlet.
DateFormatController
DEFAULT_DATE_FORMAT
- Static variable in interface org.springframework.samples.petportal.service.
PetService
deletePet(int, ActionResponse)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
deletePet(Integer)
- Method in interface org.springframework.samples.petportal.service.
PetService
deletePet(Pet)
- Method in interface org.springframework.samples.petportal.service.
PetService
deletePet(int)
- Method in interface org.springframework.samples.petportal.service.
PetService
deletePet(Integer)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
deletePet(Pet)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
deletePet(int)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
doRedirect(String, ActionResponse)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesRedirectController
doView(RenderRequest, RenderResponse)
- Method in class org.springframework.samples.petportal.portlet.
WelcomePortlet
E
equals(Object)
- Method in class org.springframework.samples.petportal.domain.
Pet
G
getAllPets()
- Method in interface org.springframework.samples.petportal.service.
PetService
getAllPets()
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
getBirthdate()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's birthdate.
getBreed()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's breed.
getDateFormat(PortletPreferences)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
For the page where the 'birthdate' is to be entered, the dateFormat is provided so that it may be displayed to the user.
getDescription()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's description
getFile()
- Method in class org.springframework.samples.petportal.domain.
PetDescription
Return the file as a byte array.
getKey()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's key.
getName()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's name.
getName()
- Method in class org.springframework.samples.petportal.domain.
PetSite
getPet(Integer)
- Method in interface org.springframework.samples.petportal.service.
PetService
getPet(int)
- Method in interface org.springframework.samples.petportal.service.
PetService
getPet(Integer)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
getPet(int)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
getPetCount()
- Method in interface org.springframework.samples.petportal.service.
PetService
getPetCount()
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
getPets()
- Method in class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
getPetSites()
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
getPetSites()
- Method in class org.springframework.samples.petportal.portlet.
PetSitesRedirectController
getSpecies()
- Method in class org.springframework.samples.petportal.domain.
Pet
Get the Pet's species.
getUrl()
- Method in class org.springframework.samples.petportal.domain.
PetSite
H
hashCode()
- Method in class org.springframework.samples.petportal.domain.
Pet
I
initBinder(PortletRequestDataBinder, PortletPreferences)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
Registers a PropertyEditor with the data binder for handling Dates using the format as currently specified in the PortletPreferences.
InvalidFileTypeException
- Exception in
org.springframework.samples.petportal.domain
This exception is used to demonstrate an exception mapping in the "customExceptionHandler" of upload-portlet.xml.
InvalidFileTypeException(String)
- Constructor for exception org.springframework.samples.petportal.domain.
InvalidFileTypeException
L
listPets(ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
O
org.springframework.samples.petportal.domain
- package org.springframework.samples.petportal.domain
org.springframework.samples.petportal.portlet
- package org.springframework.samples.petportal.portlet
org.springframework.samples.petportal.service
- package org.springframework.samples.petportal.service
org.springframework.samples.petportal.validation
- package org.springframework.samples.petportal.validation
P
Pet
- Class in
org.springframework.samples.petportal.domain
A simple domain object representing a Pet.
Pet()
- Constructor for class org.springframework.samples.petportal.domain.
Pet
Pet(String, String, String, Date)
- Constructor for class org.springframework.samples.petportal.domain.
Pet
PetDescription
- Class in
org.springframework.samples.petportal.domain
The PetDescription stores a file's contents as an array of bytes.
PetDescription()
- Constructor for class org.springframework.samples.petportal.domain.
PetDescription
PetDescription(byte[])
- Constructor for class org.springframework.samples.petportal.domain.
PetDescription
PetDescriptionUploadController
- Class in
org.springframework.samples.petportal.portlet
This Controller demonstrates multipart file uploads.
PetDescriptionUploadController()
- Constructor for class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
PetHelpController
- Class in
org.springframework.samples.petportal.portlet
PetHelpController()
- Constructor for class org.springframework.samples.petportal.portlet.
PetHelpController
PetsController
- Class in
org.springframework.samples.petportal.portlet
This is a simple Controller which delegates to the
PetService
and then populates the model with all returned Pets.
PetsController(PetService)
- Constructor for class org.springframework.samples.petportal.portlet.
PetsController
PetService
- Interface in
org.springframework.samples.petportal.service
The PetService interface.
PetServiceImpl
- Class in
org.springframework.samples.petportal.service
The PetService implementation.
PetServiceImpl()
- Constructor for class org.springframework.samples.petportal.service.
PetServiceImpl
PetSite
- Class in
org.springframework.samples.petportal.domain
A PetSite stores the url of a website that is external to the portlet as well as a user-supplied name for the site.
PetSite()
- Constructor for class org.springframework.samples.petportal.domain.
PetSite
PetSitesEditController
- Class in
org.springframework.samples.petportal.portlet
This Controller simply populates the model with the current map of 'petSites' and then forwards to the view from which a user can add to or delete from the sites.
PetSitesEditController()
- Constructor for class org.springframework.samples.petportal.portlet.
PetSitesEditController
PetSitesRedirectController
- Class in
org.springframework.samples.petportal.portlet
This Controller demonstrates a redirect to a website that is external to the portlet.
PetSitesRedirectController()
- Constructor for class org.springframework.samples.petportal.portlet.
PetSitesRedirectController
PetSiteValidator
- Class in
org.springframework.samples.petportal.validation
A validator for
PetSite
objects.
PetSiteValidator()
- Constructor for class org.springframework.samples.petportal.validation.
PetSiteValidator
PetValidator
- Class in
org.springframework.samples.petportal.validation
A validator for
Pet
objects.
PetValidator()
- Constructor for class org.springframework.samples.petportal.validation.
PetValidator
populateSite(PetSite, BindingResult, SessionStatus, ActionResponse)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
processUpload(PetDescription, int)
- Method in class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
On submit, set the description property for the selected Pet as a String.
R
registerMultipartEditor(WebDataBinder)
- Method in class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
Register the PropertyEditor for converting from a MultipartFile to an array of bytes.
removeSite(String, ActionResponse)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
S
savePet(Pet)
- Method in interface org.springframework.samples.petportal.service.
PetService
savePet(Pet)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
setBirthdate(Date)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's birthdate.
setBreed(String)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's breed.
setDescription(String)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's description.
setFile(byte[])
- Method in class org.springframework.samples.petportal.domain.
PetDescription
Set the file as a byte array.
setInitPets(int)
- Method in class org.springframework.samples.petportal.service.
PetServiceImpl
setKey(Integer)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's key.
setName(String)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's name.
setName(String)
- Method in class org.springframework.samples.petportal.domain.
PetSite
setPetService(PetService)
- Method in class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
setPetSites(Properties)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
setPetSites(Properties)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesRedirectController
setSpecies(String)
- Method in class org.springframework.samples.petportal.domain.
Pet
Set the Pet's species.
setUrl(URL)
- Method in class org.springframework.samples.petportal.domain.
PetSite
showHelp()
- Method in class org.springframework.samples.petportal.portlet.
PetHelpController
showPetForm(ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
showPetSites()
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
showPetSites()
- Method in class org.springframework.samples.petportal.portlet.
PetSitesRedirectController
showPreferences(PortletPreferences, ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
DateFormatController
In the render phase, the current format and available formats will be exposed to the 'dateFormat' view via the model.
showSiteForm(ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
PetSitesEditController
showUploadForm()
- Method in class org.springframework.samples.petportal.portlet.
PetDescriptionUploadController
If there are no Pets, display the 'noPetsForUpload' view.
submitPage(ActionRequest, ActionResponse, Pet, BindingResult, int, ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
T
toString()
- Method in class org.springframework.samples.petportal.domain.
Pet
V
validate(PetSite, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetSiteValidator
validate(Pet, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetValidator
validateBirthdate(Pet, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetValidator
validateBreed(Pet, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetValidator
validateName(Pet, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetValidator
validateSpecies(Pet, Errors)
- Method in class org.springframework.samples.petportal.validation.
PetValidator
viewPet(int, ModelMap)
- Method in class org.springframework.samples.petportal.portlet.
PetsController
W
WelcomePortlet
- Class in
org.springframework.samples.petportal.portlet
An example of a pre-existing JSR-168 compliant portlet which is used in the demonstration of Spring's PortletWrappingController.
WelcomePortlet()
- Constructor for class org.springframework.samples.petportal.portlet.
WelcomePortlet
A
C
D
E
G
H
I
L
O
P
R
S
T
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
John A. Lewis, Mark Fisher, Juergen Hoeller - 2007.