Each of the following handle methods calls the corresponding method in the MultiProfileForm
class and extends that method. The handleCancel
method does not call any method in the MultiProfileForm
class. The handle methods in the MultiProfileUpdateForm
class do the following:
handleUpdate
The handleUpdate
method loops through a list of repositoryIds
and modifies the associated profile properties for each update submitted by calling the RepositoryFormHandler.handleUpd
ate method for each of the IDs. The preprocessing and post-processing methods preUpdateUser
() and postUpdateUser
() are provided to extend the functionality of the MultiProfileUpdateForm
class.
handleDelete
The handleDelete
method loops through a list of repositoryIds
and modifies the associated profile properties for each update submitted by calling the RepositoryFormHandler.handleUpdate
method for each of the IDs. The preprocessing and postprocessing methods preDeleteItem
() and postDeleteItem
() are provided to extend the functionality of the MultiProfileUpdateForm
class.
handleCancel
The handleCancel
method clears out the current contents of the value
Dictionary for each of the repositoryIds
.
handleClear
The handleClear
method is identical to the handleCancel
method: it clear the current contents of the value
Dictionary for each of the repositoryIds
You can use handleClear()
for greater readability within a form.