Examples of fetchBundleVersions()


Examples of org.rhq.core.domain.criteria.BundleCriteria.fetchBundleVersions()

        // return bundle "two" using all criteria and with all optional data
        c.addFilterId(b.getId());
        c.addFilterName(b.getName());
        c.addFilterBundleTypeName(b.getBundleType().getName());
        c.fetchBundleVersions(true);
        c.fetchRepo(true);
        bundles = bundleManager.findBundlesByCriteria(overlord, c);
        assertNotNull(bundles);
        assertEquals(1, bundles.size());
        b = bundles.get(0);
View Full Code Here

Examples of org.rhq.core.domain.criteria.BundleCriteria.fetchBundleVersions()

        // return first 5
        c.addSortName(PageOrdering.ASC); // without sorting we'll get no predictable ordering
        c.addFilterName(TEST_PREFIX);
        c.setPaging(0, 5);
        c.fetchBundleVersions(true);
        c.fetchDestinations(true);
        c.fetchPackageType(true);
        c.fetchRepo(true);
        bs = bundleManager.findBundlesByCriteria(overlord, c);
        assertNotNull(bs);
View Full Code Here

Examples of org.rhq.core.domain.criteria.BundleCriteria.fetchBundleVersions()

        assertFalse(bs.get(0).equals(bs.get(1)));

        // return last 2
        c.addFilterName(TEST_PREFIX);
        c.setPaging(4, 2);
        c.fetchBundleVersions(true);
        c.fetchDestinations(true);
        c.fetchPackageType(true);
        c.fetchRepo(true);
        bs = bundleManager.findBundlesByCriteria(overlord, c);
        assertNotNull(bs);
View Full Code Here

Examples of org.rhq.core.domain.criteria.BundleCriteria.fetchBundleVersions()

        // return last 1
        c.addFilterName(TEST_PREFIX);
        c.setCaseSensitive(true);
        c.setPaging(1, 9);
        c.fetchBundleVersions(true);
        c.fetchDestinations(true);
        c.fetchPackageType(true);
        c.fetchRepo(true);
        bs = bundleManager.findBundlesByCriteria(overlord, c);
        assertNotNull(bs);
View Full Code Here

Examples of org.rhq.core.domain.criteria.BundleCriteria.fetchBundleVersions()

            if (bundleBeingViewed != bundleId) {
                bundleBeingViewed = bundleId;

                BundleCriteria criteria = new BundleCriteria();
                criteria.addFilterId(bundleId);
                criteria.fetchBundleVersions(true);
                criteria.fetchDestinations(true);
                criteria.fetchTags(true);

                GWTServiceLookup.getBundleService().findBundlesByCriteria(criteria,
                    new AsyncCallback<PageList<Bundle>>() {
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.