Package com.ponysdk.core.export.event

Examples of com.ponysdk.core.export.event.DataExportedEvent


            return null;
        }
    }

    protected void onSuccess(final String message) {
        final DataExportedEvent event = new DataExportedEvent(this, exportContext.getExporter());
        event.setLevel(Level.INFO);
        event.setBusinessMessage(message);
        eventBus.fireEvent(event);
    }
View Full Code Here


        event.setBusinessMessage(message);
        eventBus.fireEvent(event);
    }

    protected void onFailure(final Throwable caught) {
        final DataExportedEvent event = new DataExportedEvent(this, exportContext.getExporter());
        event.setLevel(Level.INFO);
        log.error("Failure occured when exporting", caught);
        event.setBusinessMessage(PString.get("export.failure", caught.getMessage()));
        eventBus.fireEvent(event);
    }
View Full Code Here

TOP

Related Classes of com.ponysdk.core.export.event.DataExportedEvent

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.