Examples of Information


Examples of com.jpoweredcart.common.entity.catalog.Information

 
  @Override
  public Information get(Integer infoId, Class<? extends Information> clazz) {
   
    String sql = "SELECT * FROM " + quoteTable("information")+" WHERE information_id = ?";
    Information info = getJdbcOperations().queryForObject(sql,
        new Object[]{infoId}, new InformationRowMapper().setTargetClass(clazz));
    return info;
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.catalog.Information

    List<Information> infoList = getJdbcOperations().query(query.getSql(),
        query.getParameters(), new InformationRowMapper(){
      @Override
      public Information mapRow(ResultSet rs, int rowNum)
          throws SQLException {
        Information info = super.mapRow(rs, rowNum);
        info.setTitle(rs.getString("title"));
        return info;
      }
    }.setTargetClass(Information.class));
    return infoList;
  }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.message.Information

        if (result == null) result = caseMessage(warning);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case MessagePackage.INFORMATION: {
        Information information = (Information)theEObject;
        Object result = caseInformation(information);
        if (result == null) result = caseMessage(information);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
View Full Code Here

Examples of kr.or.javacafe.manage.domain.Information

 

  @Override
  @Transactional (readOnly=true)
  public Information getWelcome() {
    Information param = new Information();
    param.setId("welcome");
   
    return manageDAO.selectInfomation(param);
  }
View Full Code Here

Examples of kr.or.javacafe.manage.domain.Information

 
  @Override
  @Transactional (readOnly=true)
  public Information getHistory() {
    Information param = new Information();
    param.setId("history");
   
    return manageDAO.selectInfomation(param);
  }
View Full Code Here

Examples of kr.or.javacafe.manage.domain.Information

 
  @Override
  @Transactional (readOnly=true)
  public Information getRegulation() {
    Information param = new Information();
    param.setId("regulation");
   
    return manageDAO.selectInfomation(param);
  }
View Full Code Here

Examples of net.fortytwo.twitlogic.proof.Information

            InferenceStep infStep = new InferenceStep(rule, nsList, context);
            NodeSet ns = new NodeSet(v.value, (float) v.weight, infStep, context);
            answers.add(ns);
        }

        Information info = new Information(queryRawString, context);
        Query query = new Query(info, answers, context);
        return new QueryResult(query);
    }
View Full Code Here

Examples of org.apache.geronimo.sample.RegisterValidation.Model.Information

     * @throws IOException if an I/O error occurs
     */
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        Information infor = new Information();
        String message = "";
        String name = request.getParameter("name");
        if(""==name)name=null;
        String age = request.getParameter("age");
        if(""==age)age=null;
        String mail = request.getParameter("mail");
        if(""==mail)mail=null;
        String country = request.getParameter("country");
        if(""==country)country=null;
        String state = request.getParameter("state");
        if(""==state)state=null;
        String city = request.getParameter("city");
        if(""==city)city=null;
        String salary = request.getParameter("salary");
        if(""==salary)salary=null;
        String birthday=request.getParameter("birthday");
        if(""==birthday)birthday=null;
        infor.setName(name)
        if(null!=age)
        infor.setAge(Integer.parseInt(age));
        infor.setMail(mail);      
        infor.setAddress(new Address(country, state, city));
        if(null!=salary)
        infor.setSalary(Integer.parseInt(salary));
        infor.setBirthday(birthday);
       
        int violationSize = 0;               
        ValidatorFactory vf = null;
        Validator validator = null;
       
View Full Code Here

Examples of org.apache.slide.projector.Information

        String password = parameter.get(PASSWORD).toString();
        String state = OK;
        // Check spelling
        Value user = NullValue.NULL;
        if ( !password.equals(retypedPassword) ) {
            context.addInformation(new Information(Information.ERROR, new ErrorMessage("register/passwordsNotIdentical"), new String[] { PASSWORD, RETYPE_PASSWORD }));
            state = FAILED;
        } else {
            try {
              user = Projector.getRepository().createUser(username, password, context.getCredentials())
            } catch ( UserExistsException exception ) {
                context.addInformation(new Information(Information.ERROR, exception.getErrorMessage(), new String[] { USERNAME }));
                state = FAILED;
            }
        }
        if ( user == null ) {
            context.addInformation(new Information(Information.ERROR, new ErrorMessage("register/failed"), new String[0]));
            state = FAILED;
        }
        return new Result(state, USER, user);
    }
View Full Code Here

Examples of org.apache.slide.projector.Information

        String state = OK;
        Value role = NullValue.NULL;
        try {
          role = Projector.getRepository().createRole(rolename, context.getCredentials())
        } catch ( RoleExistsException exception ) {
          context.addInformation(new Information(Information.ERROR, exception.getErrorMessage(), new String[] { ROLENAME }));
          state = FAILED;
        }
        if ( role == null ) {
            context.addInformation(new Information(Information.ERROR, new ErrorMessage("createRole/failed"), new String[0]));
            state = FAILED;
        }
        return new Result(state, ROLE, role);
    }
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.