PageCommandDocumentConstants.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.DocumentPageMode;
  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 PageCommandDocumentConstants.
  8.  */
  9. public interface PageCommandDocumentConstants {

  10.     /** The command document overview. */
  11.     PageModeMenuCommand COMMAND_DOCUMENT_OVERVIEW = new PageModeMenuCommand(
  12.                      UserViews.DOCUMENT_VIEW_NAME, PageMode.OVERVIEW);

  13.     /** The command document pagevisit history. */
  14.     PageModeMenuCommand COMMAND_DOCUMENT_PAGEVISIT_HISTORY = new PageModeMenuCommand(
  15.                      UserViews.DOCUMENT_VIEW_NAME, PageMode.PAGEVISITHISTORY);

  16.     /** The command document activity. */
  17.     PageModeMenuCommand COMMAND_DOCUMENT_ACTIVITY = new PageModeMenuCommand(
  18.             UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTACTIVITY.toString());

  19.         /** The command document person references. */
  20.         PageModeMenuCommand COMMAND_DOCUMENT_PERSON_REFERENCES = new PageModeMenuCommand(
  21.             UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.PERSONREFERENCES.toString());

  22.         /** The command document decision. */
  23.         PageModeMenuCommand COMMAND_DOCUMENT_DECISION = new PageModeMenuCommand(
  24.             UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTDECISION.toString());

  25.         /** The command document attachments. */
  26.         PageModeMenuCommand COMMAND_DOCUMENT_ATTACHMENTS = new PageModeMenuCommand(
  27.             UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTATTACHMENTS.toString());


  28.             /** The command document details. */
  29.             PageModeMenuCommand COMMAND_DOCUMENT_DETAILS = new PageModeMenuCommand(
  30.                 UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTDETAILS.toString());

  31.             /** The command document data. */
  32.             PageModeMenuCommand COMMAND_DOCUMENT_DATA = new PageModeMenuCommand(
  33.                 UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTDATA.toString());

  34.             /** The command document references. */
  35.             PageModeMenuCommand COMMAND_DOCUMENT_REFERENCES = new PageModeMenuCommand(
  36.                 UserViews.DOCUMENT_VIEW_NAME, DocumentPageMode.DOCUMENTREFERENCES.toString());


  37.             /** The command documents overview. */
  38.             PageModeMenuCommand COMMAND_DOCUMENTS_OVERVIEW = new PageModeMenuCommand(
  39.                     UserViews.DOCUMENTS_VIEW_NAME, PageMode.OVERVIEW);

  40. }