Examples of Employee


Examples of MVCTableDAO.model.Employee

    }

  }

  public Employee readMitarbeiter(String id) {
    Employee ma = null;
    Department dep = null;
    try {
      String readEmployee = "SELECT * FROM employees AS e, departments as d WHERE e.id = " + id + ";";
      statement = c.createStatement();
      ResultSet rs = statement.executeQuery(readEmployee);

      while (rs.next()) {
        dep = new Department(rs.getString("d.id"), rs.getString("d.department"));
        ma = new Employee(rs.getString("id"), rs.getString("vorname"), rs.getString("nachname"), dep);
      }
      rs.close();
      statement.close();
      return ma;
    } catch (Exception e) {
View Full Code Here

Examples of aim.domain.security.Employee

    /**
     * {@inheritDoc }
     */
    @Override
    public Collection<BlankPolicy> getAgentsPolicy(Passport agentId) {
        Employee agent = getAgentByID(agentId);
        return entityManager.createNamedQuery(BlankPolicy.AGENTS_BLANK_POLICIES_QUERY).
                setParameter("currentAgent", agent).setParameter("true", true).getResultList();
    }
View Full Code Here

Examples of be.c4j.demo.security.demo.model.Employee

    @Override
    protected void checkPermission(InvocationContext invocationContext, Set<SecurityViolation> violations) {
        checkMethodHasParameterTypes(violations, invocationContext, Employee.class);

        if (violations.isEmpty()) {
            Employee parameter = methodParameterCheckUtil.getAssignableParameter(invocationContext, Employee.class);
            boolean result = permissionSalaryAll.verifyPermission();
            if (!result) {
                result = userPrincipal.getUserInfo(UserInfo.EMPLOYEE_ID).equals(parameter.getId());
            }
            if (!result && parameter.getManager() != null) {
                result = userPrincipal.getUserInfo(UserInfo.EMPLOYEE_ID).equals(parameter.getManager().getId());
            }

            if (!result) {
                violations.add(newSecurityViolation("Employee Salary not visible"));
            }
View Full Code Here

Examples of br.com.buyFast.model.Employee

 
  /**
   * Instancia um novo {@link AdminController}.
   */
  public AdminController() {
    this.employee = new Employee();
    this.admin = new Administrator();
  }
View Full Code Here

Examples of br.com.visualmidia.business.Employee

            fillMessagePhone(person.getMessagePhone());
            fillContact(person.getContact());
            fillPhoto(person.getId());

            if (person.isPersonType("employee")) {
              Employee employee = (Employee) person.getPersonType("employee");
              fillPaymentDate(employee.getPaymentDay());
                fillPosition(employee.getPosition());
                fillWalletWorkNumber(employee.getWalletWorkNumber());
                fillRegisterDate(employee.getRegisterDate());
                fillBeginDate(employee.getBeginDate());
                fillDismissedDate(employee.getDismissedDate());
                fillWorkTime(employee.getWorkTime());
                fillObservation(employee.getObservation());
                fillFinantialInfo(employee.getFinantialInfo());
                fillLastCompanyName(employee.getLastCompanyName());
                fillLastCompanyAdress(employee.getLastCompanyAddress());
                fillLastCompanyPhone(employee.getLastCompanyPhone());
                fillLastWage(employee.getLastWage());
                fillLastJobFunction(employee.getLastJobFunction());
                fillLastRegisteredWage(employee.getLastRegisteredWage());
                fillMotiveToLeave(employee.getMotiveToLeave());
                fillIfRegistered(employee.getIfRegistered());
                fillLastJobTime(employee.getLastJobTime());
                fillExperience(employee.getExperiences());
                fillKnowledgement(employee.getKnowledgement());

                fillResponsableName(employee.getResponsableName());
                fillResponsablePhone(employee.getResponsablePhone());
                fillResponsableRelation(employee.getResponsableRelation());
                fillResponsableCPF(employee.getResponsableCPF());
                fillResponsableRG(employee.getResponsableRG());
            }else{
              fillPaymentDate("");
                fillPosition("");
                fillWalletWorkNumber("");
                fillRegisterDate("");
View Full Code Here

Examples of ca.intelliware.studygroup.rest.model.Employee

        makeEmployee("Al Dente"),
        makeEmployee("Bob Frapples"));
  }
 
  protected Employee makeEmployee(String employeeName) {
    Employee employee = new Employee();
    employee.setEmployeeId(generateEmployeeId());
    employee.setEmployeeName(employeeName);
    employee.setJob(generateJobTitle(employeeName));
    employee.setEmployeeStatus(generateEmployeeStatus(employeeName));
    return employee;
  }
View Full Code Here

Examples of com.alibaba.json.test.entity.Employee

                cbu.setId(createId());
                cbu.setName("CBU");

                root.getChildren().add(cbu);

                Employee emp0 = new Employee();
                emp0.setName("校长");
                emp0.setDescription("神棍敌人姐");
                emp0.setAge(3);
                emp0.setSalary(new BigDecimal("123456789.0123"));
                emp0.setBirthdate(new Date());
                emp0.setBadboy(true);

                cbu.getMembers().add(emp0);
            }
            {
                Department icbu = new Department();
View Full Code Here

Examples of com.art.anette.datamodel.dataobjects.simple.Employee

        try {
            connect(true);

            fireEvent(NetworkEvent.NEType.loggingIn);
            monitor = ProgressUtils.createProgress(lang.getString("ProgressLoggingIn"));
            Employee e = login(lr);
            cdbc.setOwner(e, false);
            monitor.finish();
            monitor = null;
            fireEvent(NetworkEvent.NEType.loggedIn);
            SwingUtilities.invokeLater(new Runnable() {
View Full Code Here

Examples of com.ateam.webstore.model.Employee

 
  public Employee registerEmployee(String fname, String lname, String email, String password, Long securityQuestionID, String securityAnswer
      , String ssn, String jobTitle, Date dateOfHire, String deptCode, Double salary) {
    SecurityQuestion secQuestion = new SecurityQuestionService().getById(securityQuestionID);
    Person person = new Person(email, password, secQuestion, securityAnswer);
    return store(new Employee(fname, lname, ssn, jobTitle, dateOfHire, deptCode, salary, person));
  }
View Full Code Here

Examples of com.aurifa.struts2.tutorial.model.Employee

    public List getAllEmployees() {
        return employees;
    }

    public Employee getEmployee(Integer id) {
        Employee emp = null;
        Iterator iter = employees.iterator();
        while (iter.hasNext()) {
            emp = (Employee)iter.next();
            if (emp.getEmployeeId().equals(id)) {
                break;
            }
        }
        return emp;
    }
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.