PageCommandPoliticianConstants.java

  1. package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api.pagecommands;

  2. import com.hack23.cia.web.impl.ui.application.views.common.pagelinks.api.PageModeMenuCommand;
  3. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.PageMode; // updated import
  4. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.PoliticianPageMode;
  5. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;

  6. /**
  7.  * The Interface PageCommandPoliticianConstants.
  8.  */
  9. public interface PageCommandPoliticianConstants {


  10.     /** The command politician pagevisit. */
  11.     PageModeMenuCommand COMMAND_POLITICIAN_PAGEVISIT = new PageModeMenuCommand(
  12.             UserViews.POLITICIAN_VIEW_NAME, PageMode.PAGEVISITHISTORY);


  13.     /** The command politician ballot history. */
  14.     PageModeMenuCommand COMMAND_POLITICIAN_BALLOT_HISTORY = new PageModeMenuCommand(
  15.         UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.BALLOTDECISIONSUMMARY.toString());

  16.     /** The command politician document history. */
  17.     PageModeMenuCommand COMMAND_POLITICIAN_DOCUMENT_HISTORY = new PageModeMenuCommand(
  18.         UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.DOCUMENTHISTORY.toString());

  19.     /** The command politician document activity. */
  20.     PageModeMenuCommand COMMAND_POLITICIAN_DOCUMENT_ACTIVITY = new PageModeMenuCommand(
  21.             UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.DOCUMENTACTIVITY.toString());


  22.     /** The command politician view overview. */
  23.     PageModeMenuCommand COMMAND_POLITICIAN_VIEW_OVERVIEW = new PageModeMenuCommand(
  24.             UserViews.POLITICIAN_VIEW_NAME, PageMode.OVERVIEW);

  25.     /** The command politician view indicators. */
  26.     PageModeMenuCommand COMMAND_POLITICIAN_VIEW_INDICATORS = new PageModeMenuCommand(
  27.             UserViews.POLITICIAN_VIEW_NAME, PageMode.INDICATORS);


  28.     /** The command politician vote history. */
  29.     PageModeMenuCommand COMMAND_POLITICIAN_VOTE_HISTORY = new PageModeMenuCommand(
  30.             UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.VOTEHISTORY.toString());


  31.     /** The command politician role summary. */
  32.     PageModeMenuCommand COMMAND_POLITICIAN_ROLE_SUMMARY = new PageModeMenuCommand(
  33.             UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.ROLESUMMARY.toString());

  34.     /** The command politician role list. */
  35.     PageModeMenuCommand COMMAND_POLITICIAN_ROLE_LIST = new PageModeMenuCommand(
  36.             UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.ROLELIST.toString());

  37.     /** The command politician role ghant. */
  38.     PageModeMenuCommand COMMAND_POLITICIAN_ROLE_GHANT = new PageModeMenuCommand(
  39.             UserViews.POLITICIAN_VIEW_NAME, PoliticianPageMode.ROLEGHANT.toString());

  40. }