Package org.openbravo.model.ad.system

Examples of org.openbravo.model.ad.system.Language


          + " is not active!");

      if (getUser().getDefaultLanguage() != null && getUser().getDefaultLanguage().isActive()) {
        setLanguage(getUser().getDefaultLanguage());
      } else {
        final Language l = getOne(Language.class, "select l from " + Language.class.getName()
            + " l where l." + Language.PROPERTY_ACTIVE + "='Y' order by l." + Language.PROPERTY_ID
            + " asc");
        Hibernate.initialize(l);
        setLanguage(l);
      }
View Full Code Here

TOP

Related Classes of org.openbravo.model.ad.system.Language

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.