Package com.liusoft.dlog4j.beans

Examples of com.liusoft.dlog4j.beans.ConfigBean


      return null;
    return (ConfigBean)namedUniqueResult("GET_CONFIG", new Object[]{key, new Integer(site_id)});
  }

  public static Date dateValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.dateValue();
  }
View Full Code Here


  protected static int intValue(int site_id, String key) {
    return intValue(site_id, key, -1);
  }

  public static int intValue(int site_id, String key, int defaultValue) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?defaultValue:cb.intValue();
  }
View Full Code Here

    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?defaultValue:cb.intValue();
  }

  public static String stringValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.stringValue();
  }
View Full Code Here

    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.stringValue();
  }

  public static Timestamp timestampValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.timestampValue();
  }
View Full Code Here

    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.timestampValue();
  }

  public static Time timeValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.timeValue();
  }
View Full Code Here

TOP

Related Classes of com.liusoft.dlog4j.beans.ConfigBean

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.