Examples of Department


Examples of com.eastidea.qaforum.model.Department

    return user;
  }

  public void saveUser(User user, String departmentid, String positionid) {
    if (departmentid != null && !departmentid.equals("")) {
      Department depart = entityManager.find(Department.class, Long
          .valueOf(departmentid));
      user.setDepartment(depart);
    }
    if (positionid != null && !positionid.equals("")) {
      Position pos = entityManager.find(Position.class, Long
View Full Code Here

Examples of com.ettrema.tutorial.hr.domain.Department

    List list = crit.list();
    if( list == null || list.size() == 0 ) {
      log.debug("not found");
      return null;
    } else {
      Department d = (Department) list.get(0);
      log.debug("found: " + d.getName());
      return new DepartmentResource(this, d);
    }
  }
View Full Code Here

Examples of com.fengjing.framework.hibernate.model.Department

     
      employee.setEmpname("����");
      employee.setSex("Ů");
      employee.setLocation("��������");
     
      Department department=new Department();
      department.setDeptname("���Բ�");
     
      employee.setDepartment(department);
     
      employeeService.add(employee);
     
View Full Code Here

Examples of com.fengjing.framework.struts2.model.Department

@Repository(value="departmentDaoImpl")
public class DepartmentDaoImpl implements DepartmentDao {

  @Override
  public Department findById(long id) {
    Department department=new Department();
    department.setDeptid(id);
    department.setDeptname("�з���");
    return department;
  }
View Full Code Here

Examples of com.iisigroup.cap.auth.model.Department

   */
  public IResult save(IRequest request) {
    AjaxFormResult result = new AjaxFormResult();
    String oid = request.get("oid");
    String brNo = request.get("code");
    Department branch = null;

    if (CapString.isEmpty(oid)) {
      branch = departmentService.findByBrno(brNo);
      if (branch != null) {
        result.set("exist", Boolean.TRUE);
        return result;
      }
    } else {
      branch = commonSrv.findById(Department.class, oid);
    }

    if (branch == null) {
      branch = new Department();
      branch.setOid(null);
    }
    CapBeanUtil.map2Bean(request, branch, Department.class);
    branch.setUpdater(CapSecurityContext.getUserId());
    branch.setUpdateTime(CapDate.getCurrentTimestamp());
    departmentService.save(branch);

    return result;
  }
View Full Code Here

Examples of de.micromata.opengis.kml.v_2_2_0.xal.Department

    /**
     * Create an instance of {@link Department}
     *
     */
    public static Department createXalDepartment() {
        return new Department();
    }
View Full Code Here

Examples of er.example.erxpartials.model.Department

    Company gvc = Company.createCompany(ec, "Global Village Consulting");
    Company apple = Company.createCompany(ec, "Apple");
    Company logicsquad = Company.createCompany(ec, "Logic Squad");
    ec.saveChanges();
   
    Department gvcDev = Department.createDepartment(ec, "123456", "GVC Development", gvc);
    Department logicDev = Department.createDepartment(ec, "987654321", "Logic Squad Development", logicsquad);
    ec.saveChanges();
   
    NSArray<Person> allPersons = Person.fetchAllPersons(ec);
    for ( Person aPerson : allPersons) {
      Partial_AuthenticatedPerson auth = aPerson.partialForClass(Partial_AuthenticatedPerson.class);
View Full Code Here

Examples of ke.go.moh.oec.reception.data.Department

    @Action
    public void reassign() {
        Object selectedItem = departmentNameComboBox.getSelectedItem();
        if (selectedItem != null) {
            Department reassignDepartment = (Department) selectedItem;
            selectedDepartment.setCode(reassignDepartment.getCode());
            selectedDepartment.setName(reassignDepartment.getName());
            selectedDepartment.setSelected(true);
            dispose();
        } else {
            showWarningMessage("Please select the department to which you want to reassign "
                    + "this notification.");
View Full Code Here

Examples of nl.amis.model2.types.Department

        List<Dept> result = scottEJB.getDeptFindByPK(parameters.getId());
        if (result != null && result.size() > 0) {
            Dept dept = result.get(0);

            GetDeptFindByPKResponse response = obj.createGetDeptFindByPKResponse();
            Department department = obj.createDepartment();   
            department.setDepartmentNr(dept.getDeptno());
            department.setLocation(dept.getLoc());
            department.setName(dept.getDname());
           
            for ( Emp emp : dept.getEmpList()) {
              Employee employee = obj.createEmployee();
              employee.setCommission(emp.getComm())
              employee.setEmployeeNr(emp.getEmpno());                 
              employee.setHiredate(getXMLGregorianCalendar(emp.getHiredate()));
              employee.setJob(emp.getJob())
              employee.setManager(emp.getMgr());
              employee.setName(emp.getEname());
              employee.setSalary(emp.getSal())
              department.getEmployees().add(employee);
            }   
            response.setDepartment(department);
            return response;
        }
        
View Full Code Here

Examples of nl.amis.model3.types.Department

        List<Dept> result = scottEJB.getDeptFindByPK(parameters.getId());
        if (result != null && result.size() > 0) {
            Dept dept = result.get(0);

            GetDeptFindByPKResponse response = obj.createGetDeptFindByPKResponse();
            Department department = obj.createDepartment();   
            department.setDepartmentNr(dept.getDeptno());
            department.setLocation(dept.getLoc());
            department.setName(dept.getDname());
           
            for ( Emp emp : dept.getEmpList()) {
              Employee employee = obj.createEmployee();
              employee.setCommission(emp.getComm())
              employee.setEmployeeNr(emp.getEmpno());                 
              employee.setHiredate(getXMLGregorianCalendar(emp.getHiredate()));
              employee.setJob(emp.getJob())
              employee.setManager(emp.getMgr());
              employee.setName(emp.getEname());
              employee.setSalary(emp.getSal())
              department.getEmployees().add(employee);
            }   
            response.setDepartment(department);
            return response;
        }
        
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.