Examples of toBooleanValue()


Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

    setIsInside(false);
  }

  private static boolean isInside() {
    RefBoolean b = inside.get();
    return b!=null && b.toBooleanValue();
  }
 
  private static void setIsInside(boolean isInside) {
    RefBoolean b = inside.get();
    if(b==null)inside.set(new RefBooleanImpl(isInside));
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

      }
      else {
        int start=raw.getPos();
        RefBoolean hasBracked = new RefBooleanImpl(false);
        String alias=identifier(raw,hasBracked);//TODO having usw
        if(!hasBracked.toBooleanValue()) {
          if("where".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("group".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("having".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("union".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("order".equalsIgnoreCase(alias)) raw.setPos(start);
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

      }
      else {
        int start=raw.getPos();
        RefBoolean hb = new RefBooleanImpl(false);
        String alias=identifier(raw,hb);
        if(!hb.toBooleanValue() && "from".equalsIgnoreCase(alias)) raw.setPos(start);
        else if(alias!=null) exp.setAlias(alias);
      }
      select.addSelectExpression(exp);
      raw.removeSpace();
    }
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

  private Expression column(ParserString raw) throws SQLParserException {
    RefBoolean hb = new RefBooleanImpl(false);
    String name = identifier(raw,hb);
    if(name==null) return null;
    if(!hb.toBooleanValue()) {
      if("true".equalsIgnoreCase(name)) return ValueBoolean.TRUE;
      if("false".equalsIgnoreCase(name)) return ValueBoolean.FALSE;
      if("null".equalsIgnoreCase(name)) return ValueNull.NULL;
    }
   
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

          value=CastOther.toExpression(value, sbType.toString());
        }
      }   
      comment(data.cfml,true);
     
      return new Attribute(dynamic.toBooleanValue(),name,value,sbType.toString());
    }

  /**
   * Liest den Namen eines Attribut ein, je nach Attribut-Definition innerhalb der Tag-Lib,
   * wird der Name ber den identifier oder den Expression Transformer eingelesen.
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

        Lock nameLock = lock.lock(name,getRequestTimeout());
        //print.o("inner-lock  :"+token);
        try {
          RefBoolean isNew=new RefBooleanImpl(false);
          application=scopeContext.getApplicationScope(this,isNew);// this is needed that the application scope is initilized
          if(isNew.toBooleanValue()) {
            try {
            if(!listener.onApplicationStart(this)) {
              scopeContext.removeApplicationScope(this);
                return false;
            }
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

    RefBoolean isCFC=new RefBooleanImpl(false);
   
    PageSource appPS=//pc.isCFCRequest()?null:
      AppListenerUtil.getApplicationPageSource(pc, requestedPage, mode, isCFC);
   
    if(isCFC.toBooleanValue())_onRequest(pc, requestedPage,appPS,rl);
    else ClassicAppListener._onRequest(pc, requestedPage,appPS,rl);
  }
 
  @Override
  public final String getType() {
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

          if(pe!=null) throw pe;
        }
      }
       
      // onRequest
      if(goon.toBooleanValue()) {
      boolean isCFC=ResourceUtil.getExtension(targetPage,"").equalsIgnoreCase(pc.getConfig().getCFCExtension());
      Object method;
      if(isCFC && app.contains(pc,ON_CFCREQUEST) && (method=pc.urlFormScope().get(KeyConstants._method,null))!=null) {
       
        Struct url = (Struct)Duplicator.duplicate(pc.urlFormScope(),true);
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

          if(pe!=null) throw pe;
        }
      }
      }
      // onRequestEnd
      if(goon.toBooleanValue() && app.contains(pc,ON_REQUEST_END)) {
        try {
          call(app,pci, ON_REQUEST_END, new Object[]{targetPage},false);
        }
        catch(PageException pe){
          pe=handlePageException(pci,app,pe,requestedPage,targetPage,goon);
View Full Code Here

Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

    ModernApplicationContext appContext = new ModernApplicationContext(pc,app,throwsErrorWhileInit);

   
    pc.setApplicationContext(appContext);
    if(appContext.isORMEnabled()) {
      boolean hasError=throwsErrorWhileInit.toBooleanValue();
      if(hasError)pc.addPageSource(app.getPageSource(), true);
      try{
        ORMUtil.resetEngine(pc,false);
      }
      finally {
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.