r3257 - in branches/pollen-1.2.6-struts2: pollen-domain/src/main/java/org/chorem/poll/domain pollen-domain/src/main/java/org/chorem/poll/domain/poll pollen-domain/src/main/java/org/chorem/poll/domain/strategy pollen-domain/src/test/java/org/chorem/poll/domain pollen-domain/src/test/java/org/chorem/poll/domain/strategy pollen-persistence/src/main/java/org/chorem/pollen pollen-persistence/src/main/java/org/chorem/pollen/entities/migration pollen-persistence/src/main/xmi pollen-persistence/src
Author: fdesbois Date: 2012-04-13 13:28:02 +0200 (Fri, 13 Apr 2012) New Revision: 3257 Url: http://chorem.org/repositories/revision/pollen/3257 Log: set version 1.3 (replace @since 1.2.6 and update migration model version) Added: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_3.java Removed: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2_6.java Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/ImportExportService.java branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/PollenDomainFunctions.java branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/VoteCountingService.java branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/poll/I18nAble.java branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/strategy/VoteCountingStrategy.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/ImportExportServiceTest.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/VoteCountingServiceTest.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/CondorcetVoteCountingStrategyTest.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/NumberVoteCountingStrategyTest.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/PercentageVoteCountingStrategyTest.java branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/StandardVoteCountingStrategyTest.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PolleIOUtil.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfiguration.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfigurationOption.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenFunctions.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTechnicalException.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTopiaRootContextFactory.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallback.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_1.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2.java branches/pollen-1.2.6-struts2/pollen-persistence/src/main/xmi/pollen.properties branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/AbstractDAOTest.java branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/PollAccountDAOTest.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollDateChoice.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollImageChoice.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollResult.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollUri.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/DefaultPollenServiceContext.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenNotifierWorker.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenService.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceContext.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFactory.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFunctions.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceSupport.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListAlreadyExistException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotOwnedByUserException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantAlreadyFoundInListException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantExistWithoutMailException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundInListException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAccountNotFound.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyClosedException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyExistException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollChoiceNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollCommentNotFound.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollVoteNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UnauthorizedPollAccessException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserEmailAlreadyUsedException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserInvalidPasswordException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserLoginAlreadyUsedException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteDoubloonException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotAllowedException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotFoundException.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollCommentService.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollFeedService.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollResultsService.java branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PreventRuleService.java branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/EmailServiceTest.java branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/FavoriteServiceTest.java branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/PollServiceTest.java branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/UserServiceTest.java branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/VoteServiceTest.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationContext.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationListener.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenSession.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenTopiaTransactionFilter.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenUIUtils.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupport.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/Confirm.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/DeleteUser.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManagePolls.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManageUsers.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GenerateChart.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GetPollImageChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/AbstractJSONPaginedAction.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetCreatedPolls.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccount.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccounts.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteLists.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetInvitedPolls.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetParticipatedPolls.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPollComments.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPolls.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUser.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUsers.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractDisplayChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractPollUriIdAction.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractVoteAction.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddComment.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ClosePoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteComment.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteVote.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmPollAction.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/CreatedList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteComment.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeletePoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteVote.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayDateChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayImageChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayPersonToList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayTextChoice.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayVotingList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/EditVote.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ExportPoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/GetPollFeed.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ImportPersonListToVotingList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ParticipatedList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ResultForPoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SavePoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SelectPersonListToVotingList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/VoteForPoll.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Confirm.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeleteFavoriteList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeletePollAccount.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Edit.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Login.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Logout.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteList.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteLists.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Register.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Show.java branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/interceptors/PollenFileUploadInterceptor.java branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/common/I18nAble.java branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/ImportExportService.java branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/VoteCountingService.java Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/ImportExportService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/ImportExportService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/ImportExportService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -53,7 +53,7 @@ * Service to import / export a poll to or from his xml representation. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ImportExportService { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/PollenDomainFunctions.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/PollenDomainFunctions.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/PollenDomainFunctions.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -4,7 +4,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenDomainFunctions { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/VoteCountingService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/VoteCountingService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/VoteCountingService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -49,7 +49,7 @@ * Service qui permet le dépouillement d'un sondage. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteCountingService { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/poll/I18nAble.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/poll/I18nAble.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/poll/I18nAble.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * Contract to expose a i18n key. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public interface I18nAble { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/strategy/VoteCountingStrategy.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/strategy/VoteCountingStrategy.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/main/java/org/chorem/poll/domain/strategy/VoteCountingStrategy.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -9,7 +9,7 @@ * Contract of a strategy of a vote countig. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public interface VoteCountingStrategy { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/ImportExportServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/ImportExportServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/ImportExportServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ImportExportServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/VoteCountingServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/VoteCountingServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/VoteCountingServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteCountingServiceTest { @Test Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/CondorcetVoteCountingStrategyTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/CondorcetVoteCountingStrategyTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/CondorcetVoteCountingStrategyTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class CondorcetVoteCountingStrategyTest { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/NumberVoteCountingStrategyTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/NumberVoteCountingStrategyTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/NumberVoteCountingStrategyTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class NumberVoteCountingStrategyTest { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/PercentageVoteCountingStrategyTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/PercentageVoteCountingStrategyTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/PercentageVoteCountingStrategyTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PercentageVoteCountingStrategyTest { Modified: branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/StandardVoteCountingStrategyTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/StandardVoteCountingStrategyTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-domain/src/test/java/org/chorem/poll/domain/strategy/StandardVoteCountingStrategyTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -6,7 +6,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class StandardVoteCountingStrategyTest { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PolleIOUtil.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PolleIOUtil.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PolleIOUtil.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * Some utils IO methods. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PolleIOUtil { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfiguration.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfiguration.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfiguration.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -46,7 +46,7 @@ * Pollen configuration. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenConfiguration { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfigurationOption.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfigurationOption.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenConfigurationOption.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -36,7 +36,7 @@ * All Pollen configuration options. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public enum PollenConfigurationOption implements ApplicationConfig.OptionDef { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenFunctions.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenFunctions.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenFunctions.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -48,7 +48,7 @@ * Usefull pollen functions. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenFunctions { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTechnicalException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTechnicalException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTechnicalException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -25,7 +25,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenTechnicalException extends RuntimeException { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTopiaRootContextFactory.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTopiaRootContextFactory.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/PollenTopiaRootContextFactory.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -41,7 +41,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenTopiaRootContextFactory { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallback.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallback.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallback.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Pollen Migration callback. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenMigrationCallback extends TopiaMigrationCallbackByClass { @@ -42,11 +42,11 @@ public static final Version V_1_2 = VersionUtil.valueOf("1.2"); - public static final Version V_1_2_6 = VersionUtil.valueOf("1.2.6"); + public static final Version V_1_3 = VersionUtil.valueOf("1.3"); /** Les versions de mise à jour disponibles. */ public static final Version[] AVAILABLE_VERSIONS = new Version[]{ - V_1_1, V_1_2, V_1_2_6 + V_1_1, V_1_2, V_1_3 }; public PollenMigrationCallback() { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_1.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_1.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_1.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Migration for version {@code 1.1}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenMigrationCallbackV1_1 extends TopiaMigrationCallbackByClass.MigrationCallBackForVersion { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Migration for version {@code 1.2}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenMigrationCallbackV1_2 extends TopiaMigrationCallbackByClass.MigrationCallBackForVersion { Deleted: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2_6.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2_6.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2_6.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -1,314 +0,0 @@ -/* - * #%L - * Pollen :: Persistence - * - * $Id$ - * $HeadURL$ - * %% - * Copyright (C) 2009 - 2012 CodeLutin, Tony Chemit - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * #L% - */ -package org.chorem.pollen.entities.migration; - -import com.google.common.base.Function; -import com.google.common.collect.Maps; -import org.apache.commons.lang3.tuple.Pair; -import org.chorem.pollen.PollenTechnicalException; -import org.chorem.pollen.common.ChoiceType; -import org.chorem.pollen.common.PollType; -import org.chorem.pollen.common.VoteCountingType; -import org.nuiton.topia.TopiaException; -import org.nuiton.topia.framework.TopiaContextImplementor; -import org.nuiton.topia.framework.TopiaSQLQuery; -import org.nuiton.topia.migration.TopiaMigrationCallbackByClass; - -import java.sql.Connection; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.util.List; -import java.util.Map; - -/** - * Migration for version {@code 1.2.6}. - * - * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 - */ -public class PollenMigrationCallbackV1_2_6 extends TopiaMigrationCallbackByClass.MigrationCallBackForVersion { - - public PollenMigrationCallbackV1_2_6(TopiaMigrationCallbackByClass callBack) { - super(PollenMigrationCallback.V_1_2_6, callBack); - } - - @Override - protected void prepareMigrationScript(TopiaContextImplementor tx, - List<String> queries, - boolean showSql, - boolean showProgression) throws TopiaException { - -// Dialect dialect = -// Dialect.getDialect(tx.getHibernateConfiguration().getProperties()); -// -// if (dialect instanceof PostgreSQLDialect) { -// -// } else if (dialect instanceof H2Dialect) { -// } - - // change choice type to use enumeration - migrateChoiceTypes(tx, queries); - - // change poll type to use enumeration - migratePollTypes(tx, queries); - - // change vote counting type to use enumeration - migrateVoteCountingTypes(tx, queries); - - // change all Boolean properties to boolean - migrateToPrimitiveTypes(queries); - - // add foreign key indexes - addForeignKeyIndexes(queries); - - // add author column for Comment - addCommentAuthorColumn(queries); - } - - private void addCommentAuthorColumn(List<String> queries) { - - queries.add("ALTER TABLE comment ADD COLUMN author VARCHAR(255);"); - - queries.add("UPDATE comment c SET c.author = (SELECT p.votingId FROM pollAccount p WHERE c.pollAccount = p.topiaId);"); - - queries.add("ALTER TABLE comment ALTER COLUMN author VARCHAR(255) NOT NULL;"); - } - - private void addForeignKeyIndexes(List<String> queries) { - - queries.add("CREATE INDEX idx_PollAccount_pollsCreated ON poll(creator);"); - queries.add("CREATE INDEX idx_PollAccount_comment ON comment(pollAccount);"); - queries.add("CREATE INDEX idx_PollAccount_vote ON vote(pollAccount);"); - queries.add("CREATE INDEX idx_Poll_vote ON vote(poll);"); - queries.add("CREATE INDEX idx_Poll_choice ON choice(poll);"); - queries.add("CREATE INDEX idx_Poll_result ON result(poll);"); - queries.add("CREATE INDEX idx_Poll_comment ON comment(poll);"); - queries.add("CREATE INDEX idx_Poll_preventRule ON preventRule(poll);"); - queries.add("CREATE INDEX idx_Poll_votingList ON votingList(poll);"); - queries.add("CREATE INDEX idx_UserAccount_favoriteList ON personList(owner);"); - queries.add("CREATE INDEX idx_UserAccount_pollAccount ON pollAccount(userAccount);"); - queries.add("CREATE INDEX idx_PersonList_pollAccount ON pollAccount(personList);"); - } - - private void migrateToPrimitiveTypes(List<String> queries) throws TopiaException { - - migrateBoolean(queries, "useraccount", "administrator"); - migrateBoolean(queries, "choice", "validate"); - migrateBoolean(queries, "personToList", "hasVoted"); - migrateBoolean(queries, "poll", "closed"); - migrateBoolean(queries, "poll", "choiceAddAllowed"); - migrateBoolean(queries, "poll", "anonymousVoteAllowed"); - migrateBoolean(queries, "poll", "anonymous"); - migrateBoolean(queries, "poll", "publicResults"); - migrateBoolean(queries, "poll", "continuousResults"); - migrateBoolean(queries, "preventRule", "repeated"); - migrateBoolean(queries, "preventRule", "active"); - migrateBoolean(queries, "preventRule", "oneTime"); - migrateBoolean(queries, "result", "byGroup"); - migrateBoolean(queries, "vote", "anonymous"); - - migrateNumber(queries, "poll", "maxChoiceNb"); - migrateNumber(queries, "preventRule", "sensibility"); - - migrateNumber(queries, "PersonToList", "weight"); - migrateNumber(queries, "VotingList", "weight"); - migrateNumber(queries, "Vote", "weight"); - } - - public static final String UPDATE_PRIMITIVE_TO_DEFAULT_VALUE = "UPDATE %1$s SET %2$s = %3$s where %2$s IS NULL;"; - - public static final String ADD_PRIMITIVE_NOT_NULL_CONSTRAINST = "ALTER TABLE %s ALTER COLUMN %s SET NOT NULL;"; - - public static final String ADD_PRIMITIVE_DEFAULT_VALUE = "ALTER TABLE %s ALTER COLUMN %s SET DEFAULT %s;"; - - private void migrateBoolean(List<String> queries, String tableName, String field) { - - Object defaultValue = false; - queries.add(String.format(UPDATE_PRIMITIVE_TO_DEFAULT_VALUE, tableName, field, defaultValue)); - queries.add(String.format(ADD_PRIMITIVE_NOT_NULL_CONSTRAINST, tableName, field)); - queries.add(String.format(ADD_PRIMITIVE_DEFAULT_VALUE, tableName, field, defaultValue)); - - } - - private void migrateNumber(List<String> queries, String tableName, String field) { - - Object defaultValue = 0; - queries.add(String.format(UPDATE_PRIMITIVE_TO_DEFAULT_VALUE, tableName, field, defaultValue)); - queries.add(String.format(ADD_PRIMITIVE_NOT_NULL_CONSTRAINST, tableName, field)); - queries.add(String.format(ADD_PRIMITIVE_DEFAULT_VALUE, tableName, field, defaultValue)); - } - - private void migrateChoiceTypes(TopiaContextImplementor tx, - List<String> queries) throws TopiaException { - - // build the new mapping between old choice type id associated to new choicetype enum ordinal - Map<String, Integer> mapping = getMapping(tx, "choicetype", ChoiceType.values()); - - replaceColumn(tx, - "poll", - "fk3497bf5b0b3601", - "choicetype", - "choicetype", - mapping, - queries); - - // drop choicetype table - queries.add("DROP TABLE choicetype;"); - } - - private void migratePollTypes(TopiaContextImplementor tx, - List<String> queries) throws TopiaException { - - // build the new mapping between old choice type id associated to new choicetype enum ordinal - Map<String, Integer> mapping = getMapping(tx, "polltype", PollType.values()); - - replaceColumn(tx, - "poll", - "fk3497bf978bfd", - "polltype", - "polltype", - mapping, - queries); - - // drop pollType table - queries.add("DROP TABLE polltype;"); - } - - private void migrateVoteCountingTypes(TopiaContextImplementor tx, - List<String> queries) throws TopiaException { - - // build the new mapping between old id associated to new enum ordinal - Map<String, Integer> mapping = getMapping(tx, "votecounting", VoteCountingType.values()); - - replaceColumn(tx, - "poll", - "fk3497bf7d358045", - "votecounting", - "votecountingtype", - mapping, - queries); - - replaceColumn(tx, - "result", - "fkc84dc81d7d358045", - "votecounting", - "votecountingtype", - mapping, - queries); - - // drop votecounting table - queries.add("DROP TABLE votecounting;"); - } - - private <E extends Enum<E>> Map<String, Integer> getMapping(TopiaContextImplementor tx, String tableName, E... enums) throws TopiaException { - - List<Pair<String, String>> entitiesFromDb = - new TopiaIdSQLQueryToPair("select topiaId, name from " + tableName).findMultipleResult(tx); - - Map<String, Pair<String, String>> entityByTopiaIdAndName = - Maps.uniqueIndex(entitiesFromDb, PAIR_TO_VALUE); - - // build the new mapping between old id associated to new enum ordinal - Map<String, Integer> result = Maps.newHashMap(); - - for (Enum choiceType : enums) { - - // find it in existing mapping - String name = choiceType.name(); - Pair<String, String> choiceTypePair = entityByTopiaIdAndName.get(name); - if (choiceTypePair == null) { - - // this can not happen - throw new PollenTechnicalException( - "Could not find in db to migrate choicetype with name " + name); - } - - String id = choiceTypePair.getKey(); - result.put(id, choiceType.ordinal()); - } - return result; - } - - private void replaceColumn(TopiaContextImplementor tx, - String tableName, String fk, - String oldColumn, - String newColum, - Map<String, Integer> mapping, - List<String> queries) throws TopiaException { - - List<Pair<String, String>> rowsToReplace = - new TopiaIdSQLQueryToPair("select topiaId, " + oldColumn + " from " + tableName).findMultipleResult(tx); - - queries.add("ALTER TABLE " + tableName + " DROP CONSTRAINT " + fk + ";"); - queries.add("ALTER TABLE " + tableName + " DROP COLUMN " + oldColumn + ";"); - queries.add("ALTER TABLE " + tableName + " ADD COLUMN " + newColum + " INT NOT NULL DEFAULT 0;"); - queries.add("ALTER TABLE " + tableName + " ALTER COLUMN " + newColum + " DROP NOT NULL;"); - - String updateRequest = "update " + tableName + " set " + newColum + " = %s where topiaid = '%s';"; - for (Pair<String, String> pollByChoice : rowsToReplace) { - - String tableRowId = pollByChoice.getKey(); - String typeId = pollByChoice.getValue(); - - Integer ordinalValue = mapping.get(typeId); - if (ordinalValue == null) { - - // use a 0 value - ordinalValue = 0; - } - String query = String.format(updateRequest, ordinalValue, tableRowId); - queries.add(query); - } - } - - private static class TopiaIdSQLQueryToPair extends TopiaSQLQuery<Pair<String, String>> { - - protected final String request; - - private TopiaIdSQLQueryToPair(String request) { - this.request = request; - } - - @Override - protected PreparedStatement prepareQuery(Connection connection) throws SQLException { - PreparedStatement prepareStatement = connection.prepareStatement(request); - return prepareStatement; - } - - @Override - protected Pair<String, String> prepareResult(ResultSet set) throws SQLException { - Pair<String, String> result = Pair.of(set.getString(1), set.getString(2)); - return result; - } - } - - public static final Function<Pair<String, String>, String> PAIR_TO_VALUE = new Function<Pair<String, String>, String>() { - @Override - public String apply(Pair<String, String> input) { - return input.getValue(); - } - }; - -} Copied: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_3.java (from rev 3256, branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_2_6.java) =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_3.java (rev 0) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/java/org/chorem/pollen/entities/migration/PollenMigrationCallbackV1_3.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -0,0 +1,314 @@ +/* + * #%L + * Pollen :: Persistence + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2009 - 2012 CodeLutin, Tony Chemit + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ +package org.chorem.pollen.entities.migration; + +import com.google.common.base.Function; +import com.google.common.collect.Maps; +import org.apache.commons.lang3.tuple.Pair; +import org.chorem.pollen.PollenTechnicalException; +import org.chorem.pollen.common.ChoiceType; +import org.chorem.pollen.common.PollType; +import org.chorem.pollen.common.VoteCountingType; +import org.nuiton.topia.TopiaException; +import org.nuiton.topia.framework.TopiaContextImplementor; +import org.nuiton.topia.framework.TopiaSQLQuery; +import org.nuiton.topia.migration.TopiaMigrationCallbackByClass; + +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.List; +import java.util.Map; + +/** + * Migration for version {@code 1.2.6}. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.3 + */ +public class PollenMigrationCallbackV1_3 extends TopiaMigrationCallbackByClass.MigrationCallBackForVersion { + + public PollenMigrationCallbackV1_3(TopiaMigrationCallbackByClass callBack) { + super(PollenMigrationCallback.V_1_3, callBack); + } + + @Override + protected void prepareMigrationScript(TopiaContextImplementor tx, + List<String> queries, + boolean showSql, + boolean showProgression) throws TopiaException { + +// Dialect dialect = +// Dialect.getDialect(tx.getHibernateConfiguration().getProperties()); +// +// if (dialect instanceof PostgreSQLDialect) { +// +// } else if (dialect instanceof H2Dialect) { +// } + + // change choice type to use enumeration + migrateChoiceTypes(tx, queries); + + // change poll type to use enumeration + migratePollTypes(tx, queries); + + // change vote counting type to use enumeration + migrateVoteCountingTypes(tx, queries); + + // change all Boolean properties to boolean + migrateToPrimitiveTypes(queries); + + // add foreign key indexes + addForeignKeyIndexes(queries); + + // add author column for Comment + addCommentAuthorColumn(queries); + } + + private void addCommentAuthorColumn(List<String> queries) { + + queries.add("ALTER TABLE comment ADD COLUMN author VARCHAR(255);"); + + queries.add("UPDATE comment c SET c.author = (SELECT p.votingId FROM pollAccount p WHERE c.pollAccount = p.topiaId);"); + + queries.add("ALTER TABLE comment ALTER COLUMN author VARCHAR(255) NOT NULL;"); + } + + private void addForeignKeyIndexes(List<String> queries) { + + queries.add("CREATE INDEX idx_PollAccount_pollsCreated ON poll(creator);"); + queries.add("CREATE INDEX idx_PollAccount_comment ON comment(pollAccount);"); + queries.add("CREATE INDEX idx_PollAccount_vote ON vote(pollAccount);"); + queries.add("CREATE INDEX idx_Poll_vote ON vote(poll);"); + queries.add("CREATE INDEX idx_Poll_choice ON choice(poll);"); + queries.add("CREATE INDEX idx_Poll_result ON result(poll);"); + queries.add("CREATE INDEX idx_Poll_comment ON comment(poll);"); + queries.add("CREATE INDEX idx_Poll_preventRule ON preventRule(poll);"); + queries.add("CREATE INDEX idx_Poll_votingList ON votingList(poll);"); + queries.add("CREATE INDEX idx_UserAccount_favoriteList ON personList(owner);"); + queries.add("CREATE INDEX idx_UserAccount_pollAccount ON pollAccount(userAccount);"); + queries.add("CREATE INDEX idx_PersonList_pollAccount ON pollAccount(personList);"); + } + + private void migrateToPrimitiveTypes(List<String> queries) throws TopiaException { + + migrateBoolean(queries, "useraccount", "administrator"); + migrateBoolean(queries, "choice", "validate"); + migrateBoolean(queries, "personToList", "hasVoted"); + migrateBoolean(queries, "poll", "closed"); + migrateBoolean(queries, "poll", "choiceAddAllowed"); + migrateBoolean(queries, "poll", "anonymousVoteAllowed"); + migrateBoolean(queries, "poll", "anonymous"); + migrateBoolean(queries, "poll", "publicResults"); + migrateBoolean(queries, "poll", "continuousResults"); + migrateBoolean(queries, "preventRule", "repeated"); + migrateBoolean(queries, "preventRule", "active"); + migrateBoolean(queries, "preventRule", "oneTime"); + migrateBoolean(queries, "result", "byGroup"); + migrateBoolean(queries, "vote", "anonymous"); + + migrateNumber(queries, "poll", "maxChoiceNb"); + migrateNumber(queries, "preventRule", "sensibility"); + + migrateNumber(queries, "PersonToList", "weight"); + migrateNumber(queries, "VotingList", "weight"); + migrateNumber(queries, "Vote", "weight"); + } + + public static final String UPDATE_PRIMITIVE_TO_DEFAULT_VALUE = "UPDATE %1$s SET %2$s = %3$s where %2$s IS NULL;"; + + public static final String ADD_PRIMITIVE_NOT_NULL_CONSTRAINST = "ALTER TABLE %s ALTER COLUMN %s SET NOT NULL;"; + + public static final String ADD_PRIMITIVE_DEFAULT_VALUE = "ALTER TABLE %s ALTER COLUMN %s SET DEFAULT %s;"; + + private void migrateBoolean(List<String> queries, String tableName, String field) { + + Object defaultValue = false; + queries.add(String.format(UPDATE_PRIMITIVE_TO_DEFAULT_VALUE, tableName, field, defaultValue)); + queries.add(String.format(ADD_PRIMITIVE_NOT_NULL_CONSTRAINST, tableName, field)); + queries.add(String.format(ADD_PRIMITIVE_DEFAULT_VALUE, tableName, field, defaultValue)); + + } + + private void migrateNumber(List<String> queries, String tableName, String field) { + + Object defaultValue = 0; + queries.add(String.format(UPDATE_PRIMITIVE_TO_DEFAULT_VALUE, tableName, field, defaultValue)); + queries.add(String.format(ADD_PRIMITIVE_NOT_NULL_CONSTRAINST, tableName, field)); + queries.add(String.format(ADD_PRIMITIVE_DEFAULT_VALUE, tableName, field, defaultValue)); + } + + private void migrateChoiceTypes(TopiaContextImplementor tx, + List<String> queries) throws TopiaException { + + // build the new mapping between old choice type id associated to new choicetype enum ordinal + Map<String, Integer> mapping = getMapping(tx, "choicetype", ChoiceType.values()); + + replaceColumn(tx, + "poll", + "fk3497bf5b0b3601", + "choicetype", + "choicetype", + mapping, + queries); + + // drop choicetype table + queries.add("DROP TABLE choicetype;"); + } + + private void migratePollTypes(TopiaContextImplementor tx, + List<String> queries) throws TopiaException { + + // build the new mapping between old choice type id associated to new choicetype enum ordinal + Map<String, Integer> mapping = getMapping(tx, "polltype", PollType.values()); + + replaceColumn(tx, + "poll", + "fk3497bf978bfd", + "polltype", + "polltype", + mapping, + queries); + + // drop pollType table + queries.add("DROP TABLE polltype;"); + } + + private void migrateVoteCountingTypes(TopiaContextImplementor tx, + List<String> queries) throws TopiaException { + + // build the new mapping between old id associated to new enum ordinal + Map<String, Integer> mapping = getMapping(tx, "votecounting", VoteCountingType.values()); + + replaceColumn(tx, + "poll", + "fk3497bf7d358045", + "votecounting", + "votecountingtype", + mapping, + queries); + + replaceColumn(tx, + "result", + "fkc84dc81d7d358045", + "votecounting", + "votecountingtype", + mapping, + queries); + + // drop votecounting table + queries.add("DROP TABLE votecounting;"); + } + + private <E extends Enum<E>> Map<String, Integer> getMapping(TopiaContextImplementor tx, String tableName, E... enums) throws TopiaException { + + List<Pair<String, String>> entitiesFromDb = + new TopiaIdSQLQueryToPair("select topiaId, name from " + tableName).findMultipleResult(tx); + + Map<String, Pair<String, String>> entityByTopiaIdAndName = + Maps.uniqueIndex(entitiesFromDb, PAIR_TO_VALUE); + + // build the new mapping between old id associated to new enum ordinal + Map<String, Integer> result = Maps.newHashMap(); + + for (Enum choiceType : enums) { + + // find it in existing mapping + String name = choiceType.name(); + Pair<String, String> choiceTypePair = entityByTopiaIdAndName.get(name); + if (choiceTypePair == null) { + + // this can not happen + throw new PollenTechnicalException( + "Could not find in db to migrate choicetype with name " + name); + } + + String id = choiceTypePair.getKey(); + result.put(id, choiceType.ordinal()); + } + return result; + } + + private void replaceColumn(TopiaContextImplementor tx, + String tableName, String fk, + String oldColumn, + String newColum, + Map<String, Integer> mapping, + List<String> queries) throws TopiaException { + + List<Pair<String, String>> rowsToReplace = + new TopiaIdSQLQueryToPair("select topiaId, " + oldColumn + " from " + tableName).findMultipleResult(tx); + + queries.add("ALTER TABLE " + tableName + " DROP CONSTRAINT " + fk + ";"); + queries.add("ALTER TABLE " + tableName + " DROP COLUMN " + oldColumn + ";"); + queries.add("ALTER TABLE " + tableName + " ADD COLUMN " + newColum + " INT NOT NULL DEFAULT 0;"); + queries.add("ALTER TABLE " + tableName + " ALTER COLUMN " + newColum + " DROP NOT NULL;"); + + String updateRequest = "update " + tableName + " set " + newColum + " = %s where topiaid = '%s';"; + for (Pair<String, String> pollByChoice : rowsToReplace) { + + String tableRowId = pollByChoice.getKey(); + String typeId = pollByChoice.getValue(); + + Integer ordinalValue = mapping.get(typeId); + if (ordinalValue == null) { + + // use a 0 value + ordinalValue = 0; + } + String query = String.format(updateRequest, ordinalValue, tableRowId); + queries.add(query); + } + } + + private static class TopiaIdSQLQueryToPair extends TopiaSQLQuery<Pair<String, String>> { + + protected final String request; + + private TopiaIdSQLQueryToPair(String request) { + this.request = request; + } + + @Override + protected PreparedStatement prepareQuery(Connection connection) throws SQLException { + PreparedStatement prepareStatement = connection.prepareStatement(request); + return prepareStatement; + } + + @Override + protected Pair<String, String> prepareResult(ResultSet set) throws SQLException { + Pair<String, String> result = Pair.of(set.getString(1), set.getString(2)); + return result; + } + } + + public static final Function<Pair<String, String>, String> PAIR_TO_VALUE = new Function<Pair<String, String>, String>() { + @Override + public String apply(Pair<String, String> input) { + return input.getValue(); + } + }; + +} Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/main/xmi/pollen.properties =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/main/xmi/pollen.properties 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/main/xmi/pollen.properties 2012-04-13 11:28:02 UTC (rev 3257) @@ -25,6 +25,6 @@ #model.tagvalue.dbSchema=Pollen model.tagvalue.constantPrefix=PROPERTY_ model.tagvalue.java.lang.String=text -model.tagvalue.version=1.2.6 +model.tagvalue.version=1.3 model.tagvalue.doNotGenerateBooleanGetMethods=true model.tagvalue.indexForeignKeys=true Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/AbstractDAOTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/AbstractDAOTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/AbstractDAOTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -43,7 +43,7 @@ * Base test for daos. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class AbstractDAOTest { Modified: branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/PollAccountDAOTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/PollAccountDAOTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-persistence/src/test/java/org/chorem/pollen/business/persistence/PollAccountDAOTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * Test the {@link PollAccountDAO}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollAccountDAOTest extends AbstractDAOTest { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollDateChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollDateChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollDateChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * (during poll creation). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollDateChoice extends ChoiceImpl { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollImageChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollImageChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollImageChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -31,7 +31,7 @@ * (during poll creation). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollImageChoice extends ChoiceImpl { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollResult.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollResult.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollResult.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ /** * Classe DTO représentant un résultat de sondage. * - * @since 1.2.6 + * @since 1.3 */ public class PollResult implements Serializable { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollUri.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollUri.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/bean/PollUri.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollUri implements Serializable { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/DefaultPollenServiceContext.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/DefaultPollenServiceContext.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/DefaultPollenServiceContext.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -36,7 +36,7 @@ * Instances of this class will be given to service factory. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DefaultPollenServiceContext implements PollenServiceContext { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenNotifierWorker.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenNotifierWorker.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenNotifierWorker.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -44,7 +44,7 @@ * store in {@link PreventRule}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenNotifierWorker implements Runnable, Closeable { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * * @author tchemit <chemit@codelutin.com> * @see PollenServiceContext - * @since 1.2.6 + * @since 1.3 */ public interface PollenService { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceContext.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceContext.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceContext.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * {@link PollenServiceFactory#newService(Class, PollenServiceContext)} * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public interface PollenServiceContext { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFactory.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFactory.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFactory.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -31,7 +31,7 @@ * Factory of services. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenServiceFactory { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFunctions.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFunctions.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceFunctions.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -43,7 +43,7 @@ * Usefull functions for the service (and higher) layers. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenServiceFunctions { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceSupport.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceSupport.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/PollenServiceSupport.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -39,7 +39,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenServiceSupport implements PollenService { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListAlreadyExistException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListAlreadyExistException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListAlreadyExistException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class FavoriteListAlreadyExistException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class FavoriteListNotFoundException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotOwnedByUserException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotOwnedByUserException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/FavoriteListNotOwnedByUserException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class FavoriteListNotOwnedByUserException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantAlreadyFoundInListException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantAlreadyFoundInListException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantAlreadyFoundInListException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ParticipantAlreadyFoundInListException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantExistWithoutMailException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantExistWithoutMailException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantExistWithoutMailException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ParticipantExistWithoutMailException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ParticipantNotFoundException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundInListException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundInListException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/ParticipantNotFoundInListException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ParticipantNotFoundInListException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAccountNotFound.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAccountNotFound.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAccountNotFound.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollAccountNotFound extends Exception { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyClosedException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyClosedException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyClosedException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollAlreadyClosedException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyExistException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyExistException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollAlreadyExistException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollAlreadyExistException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollChoiceNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollChoiceNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollChoiceNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * When a poll choice not found. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollChoiceNotFoundException extends Exception { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollCommentNotFound.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollCommentNotFound.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollCommentNotFound.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollCommentNotFound extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollNotFoundException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollVoteNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollVoteNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/PollVoteNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * When a pooll vote not found. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollVoteNotFoundException extends Exception { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UnauthorizedPollAccessException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UnauthorizedPollAccessException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UnauthorizedPollAccessException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class UnauthorizedPollAccessException extends Exception { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserEmailAlreadyUsedException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserEmailAlreadyUsedException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserEmailAlreadyUsedException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class UserEmailAlreadyUsedException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserInvalidPasswordException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserInvalidPasswordException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserInvalidPasswordException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class UserInvalidPasswordException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserLoginAlreadyUsedException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserLoginAlreadyUsedException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserLoginAlreadyUsedException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class UserLoginAlreadyUsedException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/UserNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class UserNotFoundException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteDoubloonException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteDoubloonException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteDoubloonException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteDoubloonException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotAllowedException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotAllowedException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotAllowedException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * TODO * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteNotAllowedException extends Exception { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotFoundException.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotFoundException.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/exceptions/VoteNotFoundException.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * When a vote is not found. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteNotFoundException extends Exception { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollCommentService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollCommentService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollCommentService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -43,7 +43,7 @@ * Manage comments on a poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollCommentService extends PollenServiceSupport { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollFeedService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollFeedService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollFeedService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -56,7 +56,7 @@ * Service to manage feed of a poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollFeedService extends PollenServiceSupport { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollResultsService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollResultsService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PollResultsService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -65,7 +65,7 @@ * Deals with poll results. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollResultsService extends PollenServiceSupport { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PreventRuleService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PreventRuleService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/main/java/org/chorem/pollen/services/impl/PreventRuleService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Manage prevent rules of a poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PreventRuleService extends PollenServiceSupport { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/EmailServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/EmailServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/EmailServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -31,7 +31,7 @@ * Test {@link EmailService}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class EmailServiceTest extends AbstractPollenServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/FavoriteServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/FavoriteServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/FavoriteServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Tests the {@link FavoriteService}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ @Ignore public class FavoriteServiceTest extends AbstractPollenServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/PollServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/PollServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/PollServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Tests the {@link PollService}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ @Ignore public class PollServiceTest extends AbstractPollenServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/UserServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/UserServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/UserServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * Tests the {@link UserService}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ @Ignore public class UserServiceTest extends AbstractPollenServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/VoteServiceTest.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/VoteServiceTest.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-services/src/test/java/org/chorem/pollen/services/impl/VoteServiceTest.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -31,7 +31,7 @@ * Tests the {@link VoteService}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteServiceTest extends AbstractPollenServiceTest { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationContext.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationContext.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationContext.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenApplicationContext { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationListener.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationListener.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenApplicationListener.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -56,7 +56,7 @@ * On stop, just release the application configuration. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenApplicationListener implements ServletContextListener { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenSession.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenSession.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenSession.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -38,7 +38,7 @@ * User session to put in servlet session. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenSession { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenTopiaTransactionFilter.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenTopiaTransactionFilter.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenTopiaTransactionFilter.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -39,7 +39,7 @@ * EchoBase implementation of the {@link TopiaTransactionFilter}. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenTopiaTransactionFilter extends TopiaTransactionFilter { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenUIUtils.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenUIUtils.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/PollenUIUtils.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -36,7 +36,7 @@ * Usefull ui methods. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenUIUtils { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupport.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupport.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupport.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -59,7 +59,7 @@ * untranslated key. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenActionSupport extends BaseAction implements TopiaTransactionAware { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/Confirm.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/Confirm.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/Confirm.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Action for confirmation * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Confirm extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/DeleteUser.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/DeleteUser.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/DeleteUser.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Delete a selected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeleteUser extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManagePolls.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManagePolls.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManagePolls.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ManagePolls extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManageUsers.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManageUsers.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/admin/ManageUsers.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ /** * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ManageUsers extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GenerateChart.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GenerateChart.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GenerateChart.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -46,7 +46,7 @@ * Action to generate a chart given the values (and optional subtitles). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GenerateChart extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GetPollImageChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GetPollImageChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/io/GetPollImageChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -36,7 +36,7 @@ * Obtain the image choice of a given choice of an image-like poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetPollImageChoice extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/AbstractJSONPaginedAction.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/AbstractJSONPaginedAction.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/AbstractJSONPaginedAction.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Abstract JSON action with pagination support. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public abstract class AbstractJSONPaginedAction extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetCreatedPolls.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetCreatedPolls.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetCreatedPolls.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Obtain created polls to put in grid for the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetCreatedPolls extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Get given favorite list. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetFavoriteList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccount.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccount.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccount.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -35,7 +35,7 @@ * Get pagined list of poll accounts of a given favorite list. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetFavoriteListPollAccount extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccounts.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccounts.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteListPollAccounts.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -36,7 +36,7 @@ * Get pagined list of poll accounts of a given favorite list. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetFavoriteListPollAccounts extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteLists.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteLists.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetFavoriteLists.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Get pagined list of favorite lists of the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetFavoriteLists extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetInvitedPolls.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetInvitedPolls.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetInvitedPolls.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -40,7 +40,7 @@ * Obtain invited polls to put in grid for the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetInvitedPolls extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetParticipatedPolls.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetParticipatedPolls.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetParticipatedPolls.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Obtain participated polls to put in grid for the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetParticipatedPolls extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPollComments.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPollComments.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPollComments.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -40,7 +40,7 @@ * Get paginated list of poll comments. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetPollComments extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPolls.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPolls.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetPolls.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Obtain paginated users. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetPolls extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUser.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUser.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUser.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -35,7 +35,7 @@ * Get user datas. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetUser extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUsers.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUsers.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/json/GetUsers.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Obtain paginated users. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetUsers extends AbstractJSONPaginedAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractDisplayChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractDisplayChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractDisplayChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * To generate the display for a text choice. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public abstract class AbstractDisplayChoice extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractPollUriIdAction.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractPollUriIdAction.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractPollUriIdAction.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * * @author tchemit <chemit@codelutin.com> * @author fdesbois <fdesbois@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public abstract class AbstractPollUriIdAction extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractVoteAction.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractVoteAction.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AbstractVoteAction.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -57,7 +57,7 @@ * * @author tchemit <chemit@codelutin.com> * @author fdesbois <fdesbois@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public abstract class AbstractVoteAction extends AbstractPollUriIdAction implements ParameterAware { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -42,7 +42,7 @@ * To add a poll comment. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class AddChoice extends AbstractVoteAction implements Preparable, FileUploadAware { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddComment.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddComment.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/AddComment.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * To add a poll comment. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class AddComment extends AbstractVoteAction implements Preparable { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ClosePoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ClosePoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ClosePoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * Closes an existing poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ClosePoll extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * To confirm delete of a poll choice. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ConfirmDeleteChoice extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteComment.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteComment.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteComment.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * To confirm a comment delete. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ConfirmDeleteComment extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteVote.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteVote.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmDeleteVote.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -32,7 +32,7 @@ * To confirm delete of a poll vote * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ConfirmDeleteVote extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmPollAction.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmPollAction.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ConfirmPollAction.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -31,7 +31,7 @@ * To confirm a poll action (such as delete or close). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ConfirmPollAction extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/CreatedList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/CreatedList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/CreatedList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * Display list of created polls. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class CreatedList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * To delete a poll choice * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeleteChoice extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteComment.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteComment.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteComment.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * To delete a poll comment. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeleteComment extends AbstractVoteAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeletePoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeletePoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeletePoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * Deletes an existing poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeletePoll extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteVote.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteVote.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DeleteVote.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * To delete a poll vote. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeleteVote extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayDateChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayDateChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayDateChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * To generate the display for a date choice. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DisplayDateChoice extends AbstractDisplayChoice { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayImageChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayImageChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayImageChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * To generate the display for a image choice. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DisplayImageChoice extends AbstractDisplayChoice { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayPersonToList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayPersonToList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayPersonToList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * To display a personToList (use at a poll creation). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DisplayPersonToList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayTextChoice.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayTextChoice.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayTextChoice.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * To generate the display for a text choice. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DisplayTextChoice extends AbstractDisplayChoice { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayVotingList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayVotingList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/DisplayVotingList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * To display a voting list of a poll (use at a poll creation). * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DisplayVotingList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/EditVote.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/EditVote.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/EditVote.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -28,7 +28,7 @@ * uri with {@code accountId} and {@code pollId}. * * @author fdesbois <fdesbois@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class EditVote extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ExportPoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ExportPoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ExportPoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Exports an existing poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ExportPoll extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/GetPollFeed.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/GetPollFeed.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/GetPollFeed.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -38,7 +38,7 @@ * Obtain the feed of a given poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class GetPollFeed extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ImportPersonListToVotingList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ImportPersonListToVotingList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ImportPersonListToVotingList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Load in session a personToList to import into a votingList. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ImportPersonListToVotingList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ParticipatedList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ParticipatedList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ParticipatedList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * Display list of participated polls. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ParticipatedList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ResultForPoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ResultForPoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/ResultForPoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -57,7 +57,7 @@ * Display results of a poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ResultForPoll extends AbstractPollUriIdAction { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SavePoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SavePoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SavePoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -69,7 +69,7 @@ * Creates a new poll. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class SavePoll extends AbstractPollForm implements Preparable, ParameterAware, FileUploadAware { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SelectPersonListToVotingList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SelectPersonListToVotingList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/SelectPersonListToVotingList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -37,7 +37,7 @@ * Select a person list to add into an existing voting list. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class SelectPersonListToVotingList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/VoteForPoll.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/VoteForPoll.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/poll/VoteForPoll.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -40,7 +40,7 @@ * * @author tchemit <chemit@codelutin.com> * @author fdesbois <fdesbois@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteForPoll extends AbstractVoteAction implements Preparable { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Confirm.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Confirm.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Confirm.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Action for confirmation * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Confirm extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeleteFavoriteList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeleteFavoriteList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeleteFavoriteList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Delete a selected favorite list for the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeleteFavoriteList extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeletePollAccount.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeletePollAccount.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/DeletePollAccount.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Delete a selected favorite list for the connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class DeletePollAccount extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Edit.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Edit.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Edit.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Update a user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Edit extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Login.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Login.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Login.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -34,7 +34,7 @@ * Login user to pollen. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Login extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Logout.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Logout.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Logout.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -29,7 +29,7 @@ * Logout from pollen. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Logout extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteList.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteList.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteList.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -40,7 +40,7 @@ * Manage a selected favorite lists of a connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ManageFavoriteList extends PollenActionSupport implements Preparable, ParameterAware { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteLists.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteLists.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/ManageFavoriteLists.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -35,7 +35,7 @@ * Manage favorite lists of a connected user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ManageFavoriteLists extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Register.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Register.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Register.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -33,7 +33,7 @@ * Register a new user. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Register extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Show.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Show.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/user/Show.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -30,7 +30,7 @@ * Show user account. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class Show extends PollenActionSupport { Modified: branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/interceptors/PollenFileUploadInterceptor.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/interceptors/PollenFileUploadInterceptor.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/interceptors/PollenFileUploadInterceptor.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -54,7 +54,7 @@ * TODO tchemit 2012-03-05 submit a patch to struts guys to avoid this fork. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class PollenFileUploadInterceptor extends FileUploadInterceptor { private static final long serialVersionUID = 1L; Modified: branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/common/I18nAble.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/common/I18nAble.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/common/I18nAble.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -27,7 +27,7 @@ * Contract to expose a i18n key. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public interface I18nAble { Modified: branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/ImportExportService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/ImportExportService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/ImportExportService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -54,7 +54,7 @@ * Service to import / export a poll to or from his xml representation. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class ImportExportService { Modified: branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/VoteCountingService.java =================================================================== --- branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/VoteCountingService.java 2012-04-13 11:07:28 UTC (rev 3256) +++ branches/pollen-1.2.6-struts2/pollen-votecounting/src/main/java/org/chorem/pollen/votecounting/services/VoteCountingService.java 2012-04-13 11:28:02 UTC (rev 3257) @@ -49,7 +49,7 @@ * Service qui permet le dépouillement d'un sondage. * * @author tchemit <chemit@codelutin.com> - * @since 1.2.6 + * @since 1.3 */ public class VoteCountingService {
participants (1)
-
fdesbois@users.chorem.org