PageCommandPoliticianRankingConstants.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.ChartIndicators;
  4. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.PageMode;
  5. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;

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

  10.     /** The politician ranking command datagrid. */
  11.     PageModeMenuCommand COMMAND_POLITICIAN_RANKING_DATAGRID = new PageModeMenuCommand(
  12.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.DATAGRID);

  13.     /** The politician ranking command overview. */
  14.     PageModeMenuCommand COMMAND_POLITICIAN_RANKING_OVERVIEW = new PageModeMenuCommand(
  15.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.OVERVIEW);

  16.     /** The politician ranking command indicators. */
  17.     PageModeMenuCommand COMMAND_POLITICIAN_RANKING_INDICATORS = new PageModeMenuCommand(
  18.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.INDICATORS);

  19.     /** The pol rank command charts all parties by headcount. */
  20.     PageModeMenuCommand POL_RANK_COMMAND_CHARTS_ALL_PARTIES_BY_HEADCOUNT = new PageModeMenuCommand(
  21.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.CHARTS, ChartIndicators.ALLPARTIES.toString());

  22.     /** The politician ranking command datagrid. */
  23.     PageModeMenuCommand POLITICIAN_RANKING_COMMAND_DATAGRID = new PageModeMenuCommand(
  24.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.DATAGRID);

  25.     /** The politician ranking command overview. */
  26.     PageModeMenuCommand POLITICIAN_RANKING_COMMAND_OVERVIEW = new PageModeMenuCommand(
  27.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.OVERVIEW);

  28.     /** The politician ranking command pagevisit history. */
  29.     PageModeMenuCommand POLITICIAN_RANKING_COMMAND_PAGEVISIT_HISTORY = new PageModeMenuCommand(
  30.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.PAGEVISITHISTORY);

  31.     /** The Constant COMMAND_CURRENT_PARTIES. */
  32.     PageModeMenuCommand POLITICIAN_RANKING_COMMAND_CURRENT_PARTIES = new PageModeMenuCommand(
  33.             UserViews.POLITICIAN_RANKING_VIEW_NAME, PageMode.CHARTS, ChartIndicators.CURRENTPARTIES.toString());

  34. }