Author: fdesbois Date: 2010-05-21 13:59:50 +0200 (Fri, 21 May 2010) New Revision: 3010 Url: http://chorem.org/repositories/revision/pollen/3010 Log: Replace 'Handler' by 'Callback' in javadoc for onSomething methods Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsCreate.java trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsUpdate.java trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/admin/AdminUsers.java trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/poll/PollForm.java trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/user/UserLists.java Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsCreate.java =================================================================== --- trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsCreate.java 2010-05-21 11:56:38 UTC (rev 3009) +++ trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsCreate.java 2010-05-21 11:59:50 UTC (rev 3010) @@ -57,7 +57,7 @@ private Form createList; /** - * SETUP_RENDER :: Handler method called when the component is rendered. + * SETUP_RENDER :: Callback method called when the component is rendered. * Will clean errors from {@code createList} form. */ void setupRender() { @@ -65,7 +65,7 @@ } /** - * ON_PREPARE :: Handler method for both prepareRender and prepareSubmit + * ON_PREPARE :: Callback method for both prepareRender and prepareSubmit * events of {@code createList} form. Will instantiate a new instance * of FavoriteList using {@code serviceFavorite} and user connected. * @@ -82,7 +82,7 @@ } /** - * ON_VALIDATE_FORM :: Handler method for validateForm event of the + * ON_VALIDATE_FORM :: Callback method for validateForm event of the * {@code createList} form. The {@code newFavoriteList} will be created * using {@code serviceFavorite}. Errors from service will be recorded * into the {@code createList} form. @@ -108,7 +108,7 @@ } /** - * ON_SUCCESS :: Handler method for success event of the {@code createList} + * ON_SUCCESS :: Callback method for success event of the {@code createList} * form. Will display a success message and refresh the {@code page} * container. */ @@ -119,7 +119,7 @@ } /** - * ON_FAILURE :: Handler method for failure event of the {@code createList} + * ON_FAILURE :: Callback method for failure event of the {@code createList} * form. Will refresh the form (included in a zone} to display errors. */ Object onFailureFromCreateList() { Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsUpdate.java =================================================================== --- trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsUpdate.java 2010-05-21 11:56:38 UTC (rev 3009) +++ trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/components/UserListsUpdate.java 2010-05-21 11:59:50 UTC (rev 3010) @@ -132,7 +132,7 @@ } /** - * ON_ACTION :: Handler method for action on editParticipant actionLink. The + * ON_ACTION :: Callback method for action on editParticipant actionLink. The * participantEdited will be set to the participant selected in the Grid * with {@code id}. * @@ -148,7 +148,7 @@ } /** - * ON_ACTION :: Handler method for action on cancelEdition actionLink. + * ON_ACTION :: Callback method for action on cancelEdition actionLink. * Simply refresh the zone will change edition mode. * * @return the updateZone content to refresh @@ -158,7 +158,7 @@ } /** - * ON_ACTION :: Handler method for action on removeParticipant actionLink. + * ON_ACTION :: Callback method for action on removeParticipant actionLink. * The selected id from the Grid will be used to delete the participant. * * @param id used to delete the participant @@ -195,7 +195,7 @@ } /** - * ON_VALIDATE_FORM :: Handler method for validateForm event of the + * ON_VALIDATE_FORM :: Callback method for validateForm event of the * participantsForm. The participantEdited will be updated using * serviceFavorite. Errors from service will be recorded into the * participantsForm. @@ -217,7 +217,7 @@ } /** - * ON_SUCCESS :: Handler method for success event of the participantsForm. + * ON_SUCCESS :: Callback method for success event of the participantsForm. * Clean form data (participantEdited) and display a success message. {@link * #onSubmitFromParticipantsForm()} will be called after it to refresh the * updateZone. @@ -239,7 +239,7 @@ } /** - * ON_SUBMIT :: Handler method for submit event called after succes or + * ON_SUBMIT :: Callback method for submit event called after succes or * failure of the participantsForm. Will refresh the updateZone to display * errors or Grid updated. * @@ -258,7 +258,7 @@ private Form addParticipant; /** - * ON_PREPARE :: Handler method for both prepareSubmit and prepareRender + * ON_PREPARE :: Callback method for both prepareSubmit and prepareRender * events of the participantsForm. Will instantiate a new * FavoriteParticipant to render or saved with form data. * @@ -272,7 +272,7 @@ } /** - * ON_VALIDATE_FORM :: Handler method for validateForm event of the + * ON_VALIDATE_FORM :: Callback method for validateForm event of the * addParticipant form. The newParticipant will be created using * serviceFavorite. Errors from service will be recorded into the * addParticipant form. @@ -293,7 +293,7 @@ } /** - * ON_SUCCESS :: Handler method for success event of the addParticipant + * ON_SUCCESS :: Callback method for success event of the addParticipant * form. Will display a success message. {@link #onSubmitFromAddParticipant()} * will be called after it to refresh the updateZone. */ @@ -304,7 +304,7 @@ } /** - * ON_SUBMIT :: Handler method for submit event called after succes or + * ON_SUBMIT :: Callback method for submit event called after succes or * failure of the addParticipant form. Will refresh the updateZone to * display errors or Grid updated. * Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/admin/AdminUsers.java =================================================================== --- trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/admin/AdminUsers.java 2010-05-21 11:56:38 UTC (rev 3009) +++ trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/admin/AdminUsers.java 2010-05-21 11:59:50 UTC (rev 3010) @@ -147,7 +147,7 @@ } /** - * ON_ACTION :: Handler method for action on editAccount actionLink. The + * ON_ACTION :: Callback method for action on editAccount actionLink. The * accountEdited will be set to the user selected in the Grid with {@code * login}. * @@ -163,7 +163,7 @@ } /** - * ON_ACTION :: Handler method for action on deletedAccount actionLink. The + * ON_ACTION :: Callback method for action on deletedAccount actionLink. The * selected login from the Grid will be used to delete the user. * * @param login used to delete the user @@ -174,7 +174,7 @@ } /** - * ON_PREPARE_FOR_SUBMIT :: Handler method for prepareSubmit event of the + * ON_PREPARE_FOR_SUBMIT :: Callback method for prepareSubmit event of the * usersForm. The accountEdited will be initialized to properly be saved in * {@link #onValidateFormFromUsersForm()} */ @@ -185,7 +185,7 @@ } /** - * ON_VALIDATE_FORM :: Handler method for validateForm event of the + * ON_VALIDATE_FORM :: Callback method for validateForm event of the * usersForm. The accountEdited will be updated using serviceUser. Errors * from service will be recorded into the usersForm. * @@ -202,7 +202,7 @@ } /** - * ON_SUCCESS :: Handler method for success event of the usersForm. No error + * ON_SUCCESS :: Callback method for success event of the usersForm. No error * occurs from validation, a message will be displayed to client. * * @return the current page to refresh @@ -213,7 +213,7 @@ } /** - * ON_FAILURE :: Handler method for failure event of the usersForm. Errors + * ON_FAILURE :: Callback method for failure event of the usersForm. Errors * were recorded into the usersForm. The usersForm will be refresh to * display error messages. * @@ -243,7 +243,7 @@ private String newPassword; /** - * ON_PREPARE :: Handler method for prepare events of the newUserForm. The + * ON_PREPARE :: Callback method for prepare events of the newUserForm. The * newUser will be initialized if needed before render and before submit. */ public void onPrepareFromNewUserForm() { @@ -253,7 +253,7 @@ } /** - * ON_VALIDATE_FORM :: Handler method for validateForm event of the + * ON_VALIDATE_FORM :: Callback method for validateForm event of the * newUserForm. The newUser will be created using serviceUser. Errors from * service will be recorded into the newUserForm. The password will be * generated if an email is set into the form. Otherwise the password will @@ -292,7 +292,7 @@ } /** - * ON_SUCCESS :: Handler method for success event of the newUserForm. No + * ON_SUCCESS :: Callback method for success event of the newUserForm. No * error occurs from validation, success message is displayed to client and * an email is sent to the newUser created if it's defined. The persist * fields of the page will be discarded to refresh the grid with no order or @@ -335,7 +335,7 @@ } /** - * ON_FAILURE :: Handler method for failure event of the newUserForm. Errors + * ON_FAILURE :: Callback method for failure event of the newUserForm. Errors * were recorded into the newUserForm. The newUserForm will be refresh to * display error messages. * Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/poll/PollForm.java =================================================================== --- trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/poll/PollForm.java 2010-05-21 11:56:38 UTC (rev 3009) +++ trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/poll/PollForm.java 2010-05-21 11:59:50 UTC (rev 3010) @@ -590,7 +590,7 @@ private ServicePollUri servicePollUri; /** - * ON_SELECTED:: Handler method for all submit actions. Will reset refreshing + * ON_SELECTED:: Callback method for all submit actions. Will reset refreshing * zones flags used for subForm components. */ @Log @@ -600,7 +600,7 @@ } /** - * ON_SELECTED:: Handler method for action on choiceStep submit button. Will + * ON_SELECTED:: Callback method for action on choiceStep submit button. Will * change the view and display the choice formFragment of the pollForm. * Note : maybe validations will be needed in this case (use edited flag). */ @@ -611,7 +611,7 @@ } /** - * ON_SELECTED:: Handler method for action on mainStep submit button. Will + * ON_SELECTED:: Callback method for action on mainStep submit button. Will * change the view and display the main formFragment of the pollForm. * This is a previous action after being on choices. */ Modified: trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/user/UserLists.java =================================================================== --- trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/user/UserLists.java 2010-05-21 11:56:38 UTC (rev 3009) +++ trunk/pollen-ui/src/main/java/org/chorem/pollen/ui/pages/user/UserLists.java 2010-05-21 11:59:50 UTC (rev 3010) @@ -149,7 +149,7 @@ } /** - * ON_ACTION :: Handler method for action on {@code deleteList} actionLink. + * ON_ACTION :: Callback method for action on {@code deleteList} actionLink. * Check is done using {@link #canDeleteList()}, then the {@code * serviceFavorite} is called to execute the delete on {@code * favoriteListSelected}.