PollDO.ktt_poll table. Stores poll metadata (title, description, location, deadline), access control lists (CSV-encoded user IDs and group IDs for attendees and full access), input field definitions, and a state machine (RUNNING → FINISHED → FINISHED_AND_MAIL_SENT).Extends DefaultBaseDO with @AUserRightId(value="poll", checkAccess=false). Key design elements:
attendeeIds, groupAttendeeIds, fullAccessGroupIds, fullAccessUserIds are comma-separated strings stored in VARCHAR columns, parsed via toLongArray() utility and StringHelper.splitToLongs.getPollAssignment() determines the current user's role by checking owner, accessUserIds, and attendeeIds against the logged-in user.State (RUNNING, FINISHED, FINISHED_AND_MAIL_SENT) with getPollStatus() translating to PollState filter enum.inputFields stores serialized question definitions for the poll response form.868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. 67805f2fc ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser 4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's. c04fb0d51 Migration stuff in progress... b6092df09 Copyright 2023 -> 2024 b89441787 Added State.FINISHED_AND_MAIL_SENT and smaller fixes 598bfefe0 toIntArray changes 5cfd12067 Reformat code, some logging, i18n & Source Headers 5752ef33b Add Access and Attendee Filter to overview Page 70c983a5f Redo the filter for overview page. 25185faa0 Add Attendee and Access filter. be1f00a8f accessuser and accessgroup 17c9ac5c6 change data object and database 1bde3ce8b begin to add Questions. 52b6be8ce Database model working a8a0aedcb poll entries in database possible