Package net.sourceforge.processdash.tool.db

Examples of net.sourceforge.processdash.tool.db.ProjectLocator


        List projectIDs = collapseLists(arguments, 0);
        String listenerName = asStringVal(context
                .get(SubscribingExpressionContext.LISTENERVAR_NAME));

        try {
            ProjectLocator loc = getDbObject(context, ProjectLocator.class);
            if (loc == null)
                return null;

            ListData result = new ListData();
            for (Iterator i = projectIDs.iterator(); i.hasNext();) {
                Integer key = null;

                String oneProjectId = asStringVal(i.next());
                if (oneProjectId != null)
                    key = loc.getKeyForProject(oneProjectId, listenerName);

                if (key == null)
                    key = -999;
                result.add(new ImmutableDoubleData(key, false, true));
            }
View Full Code Here


            TableModel tasks, Date fromDate, Date toDate) {
        DatabasePlugin db = getDashboardContext().getDatabasePlugin();
        if (db == null)
            return;

        ProjectLocator loc = db.getObject(ProjectLocator.class);
        QueryRunner query = db.getObject(QueryRunner.class);
        if (loc == null || query == null)
            return;

        int fromDateKey = DatabasePluginUtils.getKeyForDate(fromDate, 10000);
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.tool.db.ProjectLocator

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.