Package de.forsthaus.backend.model

Examples of de.forsthaus.backend.model.LoginStatus


    return getHibernateTemplate().findByCriteria(criteria);
  }

  @Override
  public List<LoginStatus> getAllTypes() {
    return new LoginStatus().getAllTypes();
  }
View Full Code Here


  }

  @Override
  public LoginStatus getTypById(int typ_id) {

    LoginStatus result = null;

    List<LoginStatus> list = getAllTypes();

    try {
      result = list.get(typ_id);
View Full Code Here

  public void render(Listitem item, Object data) throws Exception {

    final SecLoginlog log = (SecLoginlog) data;

    Listcell lc;
    final LoginStatus loginStatus = getLoginLoggingService().getTypById(log.getLglStatusid());

    lc = new Listcell(getDateTime(log.getLglLogtime()));

    if (log.getLglStatusid() == 0) {
      lc.setStyle("color:red");
    }
    lc.setParent(item);

    lc = new Listcell(log.getLglLoginname());
    if (log.getLglStatusid() == 0) {
      lc.setStyle("color:red");
    }
    lc.setParent(item);

    lc = new Listcell(loginStatus.getStpTypname());
    if (log.getLglStatusid() == 0) {
      lc.setStyle("color:red");
    }
    lc.setParent(item);
View Full Code Here

TOP

Related Classes of de.forsthaus.backend.model.LoginStatus

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.