Transcript Ballot

Layout
Class Name
• List of responsibilities
• List of collaborations
Voter
•
•
•
•
Authenticate
Vote
Request ballot
Update own data
•
•
•
•
Election
Authenticator
User Database Proxy
Ballot
Manager
• Authenticate
• Create subelections
with all their attributes
• Grant rights to other
managers
• Election
• Subelection
• Authenticator
Candidate
• Authenticate
• Manage owned
documents
• Election
• Authenticator
• Document Database
Proxy
Authenticator
• Authenticate users
•
•
•
•
User Database Proxy
Voter
Manager
Candidate
Ballot
• Store result
• Retrieve documents
• Voter
• Election
• Document Database
Proxy
• Subelection
Election
• Create subelections
• Create ballot
•
•
•
•
•
Subelection
Voter
Manager
Candidate
Ballot
Subelection
• Check user rights to
vote
• Retrieve previous
answers
• Add candidates/issues
and documents to
ballot
• User Database Proxy
• Document Database
Proxy
• Election
• Ballot
• Tally
User Database Proxy
• Lookup user data
• Update user data on
request
•
•
•
•
Subelection
Voter
Manager
Candidate
Result Database Proxy
• Store results
• Retrieve and modify
results for allowed
subelections
• Provide results to
Tally
• Subelection
• Ballot
• Tally
Document Database Proxy
• Create document links
• Update document
links
• Retrieve documents on
request
•
•
•
•
Subelection
Manager
Candidate
Ballot
Manager List Proxy
•
•
•
•
Add entries
Remove entries
Update entries
Retrieve entries on
request
• Manager
Tally
• Count election results
• Manager
• Result Database Proxy
• Subelection