Package org.rhq.coregui.client.bundle.list

Examples of org.rhq.coregui.client.bundle.list.BundlesDataSource


        to.setId(from.getAttributeAsInt(FIELD_ID));
        to.setName(from.getAttributeAsString(FIELD_NAME));
        to.setDescription(from.getAttributeAsString(FIELD_DESCRIPTION));

        Record[] bundleRecords = from.getAttributeAsRecordArray(FIELD_BUNDLES);
        Set<Bundle> bundles = new BundlesDataSource().buildDataObjects(bundleRecords);
        to.setBundles(bundles);

        return to;
    }
View Full Code Here


        record.setAttribute(FIELD_NAMELINK, LinkManager.getBundleGroupLink(from.getId()));
        record.setAttribute(FIELD_DESCRIPTION, (from.getDescription() == null) ? "" : from.getDescription());

        if (cascade) {
            Set<Bundle> bundles = from.getBundles();
            ListGridRecord[] bundleRecords = new BundlesDataSource().buildRecords(bundles, false);
            record.setAttribute(FIELD_BUNDLES, bundleRecords);

        }

        return record;
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.bundle.list.BundlesDataSource

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.