Package com.art.anette.client.database

Examples of com.art.anette.client.database.ClientDBControl$CreateBazaar


            employee = logic.getEmployee();
            employee.addObserver(this);
            tasks = new LinkedTaskList();
            this.maxEntries = maxEntries;

            ClientDBControl cdbc = logic.getDBControl();
            List<Long> favTaskIDs = logic.getFavoriteTasks();
            // Die Favoriten Task-Objekte holen und hinzufügen
            for (long taskID : favTaskIDs) {
                TaskWrapper favTask = new TaskWrapper(cdbc.getTask(employee, taskID));
                tasks.add(favTask);
                favTask.addObserver(this);
            }

            latestTasks = getTasks();
View Full Code Here


        if (config == null || employee == null) {
            throw new LogicInitFailedException("No employee or config was passed");
        }

        this.config = config;
        clientDBControl = new ClientDBControl(employee);
        this.employee = clientDBControl.getOwner();
        BasicController.getInstance().setEmployee(employee);

        company = clientDBControl.getCompany();
        favoriteTasks = new LinkedList<Long>();
View Full Code Here

TOP

Related Classes of com.art.anette.client.database.ClientDBControl$CreateBazaar

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.