package com.andreiolar.abms.client.constants; import com.google.gwt.safehtml.shared.SafeHtml; public interface UserMenuConstants { public static final String DIALOG_BOX_SUCCESSFUL_COMPLAINT_TITLE = "Success"; public static final String DIALOG_BOX_SUCCESSFUL_COMPLAINT_MESSAGE = "Complaint submited successfully!"; public static final String DIALOG_BOX_FAILED_COMPLAINT_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_COMPLAINT_MESSAGE = "Failed submitting complaint! Please try again!"; public static final String DIALOG_BOX_INVAILD_COMPLAINT_DATA_TITLE = "Invalid data"; public static final String MENU_ITEM_COMPLAINTS = "Complaints"; public static final String MENU_ITEM_EMERGENCY_SERVICES = "Emergency Services"; public static final String MENU_ITEM_LOCAL_POLICE = "Local Police"; public static final String MENU_ITEM_NATIONAL_POLICE = "National Police"; public static final String MENU_ITEM_MEDICAL_SERVICE = "Medical Service"; public static final String MENU_ITEM_FIREFIGHTER_SERVICE = "Firefighter Service"; public static final String MENU_ITEM_PUBLIC_TRANSPORT = "Public Transport"; public static final String MENU_ITEM_PUBLIC_TRANSPORTATION = "Public Transportation"; public static final String MENU_ITEM_NATIONAL_RAILWAY = "National Railway Company"; public static final String MENU_ITEM_AIRPORT = "Airport"; public static final String MENU_ITEM_SALUBRITY = "Salubrity"; public static final String MENU_ITEM_TOWN_HALL = "Town Hall"; public static final String COMPLAINT_NOTE_LOCAL_POLICE = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Local Police please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_NATIONAL_POLICE = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the National Police please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_MEDICAL_SERVICE = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Medical Service please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_FIREFIGHTER_SERVICE = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Firefighter Service please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_PUBLIC_TRANSPORT = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Public Transport Service (Bus, Subway, Tramway) please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_NATIONAL_RAILWAY = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the National Railway Company please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_AIRPORT = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Local Airport please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_SALUBRITY = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Local Salubrity Service (ex. Garbage) please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String COMPLAINT_NOTE_TOWN_HALL = "<p><b>Note!</b></p><p>You are about to write a complaint. Please think carefully about this. Fake complaints will be punished by law!</p><p>To submit a complaint to the Town Hall (ex. Suggestions, Damaged roads, Damaged sidewalks, etc.) please use the form below.</p><p>Only phone number is editable. If other fields do not match, please edit them in your account settings before writing the actual complaint.</p>"; public static final String MENU_ITEM_ADMINISTRATION = "Administration"; public static final String MENU_ITEM_CONTACT_INFO = "Contact Information"; public static final String FAMILY_NAME_COLUMN = "Family Name"; public static final String FAMILY_ADMINISTRATOR_COLUMN = "Contact Person"; public static final String FAMILY_APARTMENT_NUMBER_COLUMN = "Apartment Number"; public static final String EMAIL_ADDRESS_COLUMN = "E-Mail Address"; public static final String PHONE_NUMBER_COLUMN = "Phone Number"; public static final String DIALOG_BOX_FAILED_RETRIEVING_CONTACTS_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_RETRIEVING_CONTACTS_MESSAGE = "Failed getting contact information!"; public static final String MENU_MONTHLY_COSTS = "Monthly Costs"; public static final String MENU_ITEM_GENERAL_VIEW = "General View"; public static final String MENU_ITEM_PERSONAL_VIEW = "Personal View"; public static final String DIALOG_BOX_FAILED_GETTING_PERSONAL_COSTS_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_GETTING_PERSONAL_COSTS_MESSAGE = "Failed getting personal information: "; public static final String MENU_ITEM_SELF_READINGS = "Self-Readings"; public static final String DIALOG_BOX_SUCCESSFUL_SUBMIT_READING_TITLE = "Success"; public static final String DIALOG_BOX_SUCCESSFUL_SUBMT_READING_MESSAGE = "Reading submitted successfully!"; public static final String DIALOG_BOX_FAILED_SUBMIT_READING_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_SUBMT_READING_MESSAGE = "Error occured when submitting data!"; public static final String MENU_ITEM_VOTING = "Voting"; public static final String MENU_ITEM_VOTE = "Vote"; public static final String MENU_ITEM_VIEW_RESULTS = "View Results"; public static final String DIALOG_BOX_FAILED_CHECK_SUBMIT_VOTE_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_CHECK_SUBMIT_VOTE_MESSAGE = "Please choose an option!"; public static final String DIALOG_BOX_FAILED_SUBMIT_VOTE_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_SUBMIT_VOTE_MESSAGE = "Submission failed!"; public static final String DIALOG_BOX_SUCCESS_SUBMIT_VOTE_TITLE = "Success"; public static final String DIALOG_BOX_SUCCESS_SUBMIT_VOTE_MESSAGE = "Vote submitted successfully!"; public static final String MENU_ITEM_HELP = "Help"; public static final String MENU_ITEM_ABOUT = "About"; public static final String MENU_ITEM_INST_INFO = "Institution Information"; public static final String DIALOG_BOX_HOTLINE_TITLE = "Hotline"; public static final SafeHtml DIALOG_BOX_HOTLINE_MESSAGE = new SafeHtml() { private static final long serialVersionUID = 610312814002047296L; @Override public String asString() { return "<p><b>Owner Contact Information</b>:<br><font color=\"red\">T:</font> +4 0740 215 030<br>" + "<font color=\"red\">E: </font><a href=\"mailto:olarandrei@gmail.com\" target=\"_top\">olarandrei@gmail.com</a></p>" + "<p>" + "<b>Call-Center:</b><br>" + "<font color=\"red\">T:</font> +4 0356 444 987<br>" + "<font color=\"red\">E: </font><a href=\"mailto:abms-callcenter@abms.com\" target=\"_top\">abms-callcenter@abms.com</a>" + "</p>" + "<p>" + "<b>General Questions:</b><br>" + "<font color=\"red\">T:</font> +4 0356 210 245<br>" + "<font color=\"red\">E: </font><a href=\"mailto:abms@abms.com\" target=\"_top\">abms@abms.com</a>" + "</p>" + "<p>" + "<b>Marketing:</b><br>" + "<font color=\"red\">T:</font> +4 0356 555 200<br>" + "<font color=\"red\">E: </font><a href=\"mailto:abms-marketing@abms.com\" target=\"_top\">abms-marketing@abms.com</a>" + "</p>" + "<p>" + "<b>Tehnology:</b><br>" + "<font color=\"red\">T:</font> +4 0356 100 850<br>" + "<font color=\"red\">E: </font><a href=\"mailto:abms-technical@abms.com\" target=\"_top\">abms-technical@abms.com</a>" + "</p>" + "<p>" + "<b>Training:</b><br>" + "<font color=\"red\">T:</font> +4 0356 350 641<br>" + "<font color=\"red\">E: </font><a href=\"mailto:abms-training@abms.com\" target=\"_top\">abms-training@abms.com</a>" + "</p>"; } }; public static final String MENU_ITEM_OPTIONS = "Options"; public static final String MENU_ITEM_EDIT_ACCOUNT_SETTINGS = "Edit Account Settings"; public static final String LOGOUT = "Logout"; public static final String DIALOG_BOX_FAILED_SUBMIT_INFO_TITLE = "Failure"; public static final String DIALOG_BOX_FAILED_SUBMIT_INFO_MESSAGE = "No modifications found!"; public static final String SUCCESS_UPDATE_USER_TITLE = "Success"; public static final String SUCCESS_UPDATE_USER_MESSAGE = "User Information update was successful!"; public static final String FAILED_UPDATE_USER_TITLE = "Failure"; public static final String MENU_ITEM_CHANGE_PASSWORD = "Change Password"; public static final String PASSWORD_ERROR_TITLE = "Failure"; public static final String PASSWORD_SUCCESS_TITLE = "Success"; public static final String PASSWORD_SUCCESS_MESSAGE = "Password changed successfully! You will be redirected to the homepage because a new login is required."; public static final String MENU_ITEM_MESSAGING = "Messaging"; public static final String MENU_ITEM_INBOX = "Inbox"; public static final String MENU_ITEM_OUTBOX = "Outbox"; public static final String MENU_ITEM_COMPOSE = "Send Message"; public static final String PM_COLUMN = "Private Message"; public static final String MESSAGE_DIALOG_BOX_TITLE = "New Message"; public static final String FAILED_SEND_MESSAGE = "Failed"; public static final String SUCCESS_SEND_MESSAGE = "Success"; public static final String SUCCESS_SEND_MESSAGE_MESSAGE = "Message sent successfully!"; public static final String MENU_ITEM_CONVERSATIONS = "Conversations"; }