Examples of GlobalMasterLists


Examples of com.centraview.common.GlobalMasterLists

        "label.home.searchbutton.description");
    request.setAttribute("searchButtonDescription", searchButtonDescription);
    request.setAttribute("hideListDropdown", new Boolean(true));

    // Set the moduleId to Entity so search knows where we want to look.
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);
    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null) {
      moduleList = (HashMap)globalMasterLists.get("moduleList");
    }
    String moduleID = (String)moduleList.get("Entity");
    request.setAttribute("moduleId", moduleID);

    // Now actually get all the stuff that used to be retrieved
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

    if (allErrors != null) {
      saveErrors(request, allErrors);
      session.removeAttribute("listErrorMessage");
    }
   
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);
    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");
   
    ListPreference listPreference = userObject.getListPreference("TimeSheet");
    ListView view = listPreference.getListView(String.valueOf(listPreference.getDefaultView()));
   
    ValueListParameters listParameters = null;
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

    {
      saveErrors(request, allErrors);
      session.removeAttribute("listErrorMessage");
    }
   
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);
    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");
   
    ListPreference listPreference = userObject.getListPreference("Proposal");
    ListView view = listPreference.getListView(String.valueOf(listPreference.getDefaultView()));

    ValueListParameters listParameters = null;
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

  // TODO comment more thoroughly
  private static Logger logger = Logger.getLogger(TasksValueListAction.class);
  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, CommunicationException, NamingException {
    String final_Forward = ".view.projects.tasks.list";
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);

    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");

    String moduleID = (String)moduleList.get("Tasks");
   
    long start = 0L;
    if (logger.isDebugEnabled()) {
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

    session.setAttribute("salesPieChartParams", listParameters);
    session.setAttribute("salesBarChartParams", listParameters);

    ArrayList buttonList = new ArrayList();
    ValueListDisplay displayParameters = null;
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);
    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");
    //    For the searchBar
    String moduleID = (String)moduleList.get("Opportunities");
    request.setAttribute("moduleId", moduleID);

    if (actionType != null && actionType.equals("lookup")) {
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

      }

      opportunityform.setAcctmgrid(String.valueOf(individualId));
      opportunityform.setAcctmgrname(individualName);
     
      GlobalMasterLists gml = GlobalMasterLists.getGlobalMasterLists(dataSource);
      Vector salesStatusList = (Vector) gml.get("AllSaleStatus");
      Iterator it = salesStatusList.iterator();
     
      while (it.hasNext()) {
        DDNameValue thisStatus = (DDNameValue) it.next();
        if ((thisStatus.getName()).equalsIgnoreCase("Pending")) {
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

        {
          Company = "";
        }
      }

      GlobalMasterLists gml = GlobalMasterLists.getGlobalMasterLists(dataSource);

      Vector termVec = new Vector();
      if (gml.get("AllSaleTerm") != null)
      {
        termVec = (Vector)gml.get("AllSaleTerm");
      }

      Iterator itTerms = termVec.iterator();

      String PaymentTerms = "";
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

  // TODO comment more thoroughly
  private static Logger logger = Logger.getLogger(PurchaseOrderValueListAction.class);
  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, CommunicationException, NamingException {
    String final_Forward = ".view.accounting.purchaseorderlist";
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);

    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");

    long start = 0L;
    if (logger.isDebugEnabled()) {
      start = System.currentTimeMillis();
    }
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

  // TODO comment more thoroughly
  private static Logger logger = Logger.getLogger(ProjectValueListAction.class);
  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, CommunicationException, NamingException {
    String final_Forward = ".view.projects.project.list";
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);

    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");

    String moduleID = (String)moduleList.get("Projects");
   
    long start = 0L;
    if (logger.isDebugEnabled()) {
View Full Code Here

Examples of com.centraview.common.GlobalMasterLists

  // TODO comment more thoroughly
  private static Logger logger = Logger.getLogger(ItemValueListAction.class);
  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, CommunicationException, NamingException {
    String final_Forward = ".view.accounting.itemlist";
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    GlobalMasterLists globalMasterLists = GlobalMasterLists.getGlobalMasterLists(dataSource);
   
    HashMap moduleList = new HashMap();
    if (globalMasterLists.get("moduleList") != null)
      moduleList = (HashMap)globalMasterLists.get("moduleList");

    long start = 0L;
    if (logger.isDebugEnabled()) {
      start = System.currentTimeMillis();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.