Package com.zycus.dotproject.api

Examples of com.zycus.dotproject.api.IDepartmentManager


  }

  private Map<Long, Integer>  departmentDepth  = new LinkedHashMap<Long, Integer>();

  private BODepartment[] getDepartments() {
    IDepartmentManager departmentManager = DepartmentManagerFactory.getDepartmentManager();
    List<BODepartment> deps = new ArrayList<BODepartment>(departmentManager.getAllDepartments(ApplicationContext.getCurrentUser()));
    Set<BODepartment> depsReturn = new LinkedHashSet<BODepartment>();
    for (BODepartment department : deps) {
      // ignore the childTasks
      if (department.getParentDepartmentID() == 0L) {
        depsReturn.add(department);
View Full Code Here


  }

  private Map<Long, Integer>  departmentDepth  = new LinkedHashMap<Long, Integer>();

  private BODepartment[] getDepartments() {
    IDepartmentManager departmentManager = DepartmentManagerFactory.getDepartmentManager();
    List<BODepartment> deps = new ArrayList<BODepartment>(departmentManager.getAllDepartments(ApplicationContext.getCurrentUser()));
    Set<BODepartment> depsReturn = new LinkedHashSet<BODepartment>();
    for (BODepartment department : deps) {
      // ignore the childTasks
      if (department.getParentDepartmentID() == 0L) {
        depsReturn.add(department);
View Full Code Here

TOP

Related Classes of com.zycus.dotproject.api.IDepartmentManager

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.