Package org.rhq.coregui.client.gwt

Examples of org.rhq.coregui.client.gwt.TopologyGWTServiceAsync


    @Override
    protected void onInit() {
        super.onInit();
        PartitionEventCriteria criteria = new PartitionEventCriteria();
        criteria.addFilterId(partitionEventId);
        final TopologyGWTServiceAsync service = GWTServiceLookup.getTopologyService();
        service.findPartitionEventsByCriteria(criteria, new AsyncCallback<PageList<PartitionEvent>>() {
            public void onSuccess(final PageList<PartitionEvent> events) {
                if (events == null || events.size() != 1) {
                    CoreGUI.getErrorHandler().handleError(
                        MSG.view_adminTopology_message_fetchPEventDetailsFail(String.valueOf(partitionEventId)));
                    initSectionCount = SECTION_COUNT;
                    return;
                }
                prepareDetailsSection(sectionStack, events.get(0));
                service.getPartitionEventDetails(partitionEventId, PageControl.getUnlimitedInstance(),
                    new AsyncCallback<PageList<PartitionEventDetails>>() {
                        public void onSuccess(PageList<PartitionEventDetails> result) {
                            prepareAssignmentsSection(sectionStack, result);
                        }
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.gwt.TopologyGWTServiceAsync

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.