Package comum.database

Examples of comum.database.SentinelaUtil


  public int doStartTag() {
        writer = this.pageContext.getOut();
       
        try {
          // foi necess�rio adicionar a linha abaixo para n�o perder informa��es do sentinela
          SentinelaUtil sentinelaUtil = new SentinelaUtil(this.request);
 
        //List menuVertical = (List)getRequest().getSession().getAttribute("menuVertical");
       
        //if(menuVertical == null) {
            @SuppressWarnings("static-access")
View Full Code Here


   
    //if(menuHorizontal == null) {
      List linksFuncoesUsuarioSentinela = new ArrayList();

          // foi necess�rio adicionar a linha abaixo para n�o perder informa��es do sentinela
          SentinelaUtil sentinelaUtil = new SentinelaUtil(this.request);
          SentinelaParam[] menuSentinela;
         
          /******** Tratamento fun��es menu *******/
         
          menuSentinela = sentinelaUtil.getSentinelaInterface().getMenu();
         
      if(menuSentinela != null) {
        String ignorarApos = this.getRequest().getContextPath() + "/";
        for(int i = 0; i < menuSentinela.length; i++) {
         
          if(menuSentinela[i].getParamAux()[0] != null && !"".equals(menuSentinela[i].getParamAux()[0])) {
            int indice = menuSentinela[i].getParamAux()[0].indexOf(ignorarApos);
           
            String linkAposContexto = menuSentinela[i].getParamAux()[0].substring(indice + ignorarApos.length());
           
            linksFuncoesUsuarioSentinela.add(linkAposContexto);
          }
        }
       
      }
     
      /***************************************/
     
          /******** Tratamento fun��es Gen�ricas *******/
         
      menuSentinela = sentinelaUtil.getSentinelaInterface().getFuncoesGenericas();
         
      if(menuSentinela != null) {
        String ignorarApos = this.getRequest().getContextPath() + "/";
        for(int i = 0; i < menuSentinela.length; i++) {
         
View Full Code Here

TOP

Related Classes of comum.database.SentinelaUtil

Copyright © 2018 www.massapicom. 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.