public void loadNewElementInfo(final AsyncCallback<Void> callback) {

        CmsRpcAction<List<CmsNewResourceInfo>> newResourceInfoAction = new CmsRpcAction<List<CmsNewResourceInfo>>() {

            @Override
            public void execute() {

                start(200, true);

                getService().getNewElementInfo(m_data.getRoot().getSitePath(), this);
            }

            @Override
            protected void onResponse(List<CmsNewResourceInfo> result) {

                stop(false);

                m_data.setNewElementInfos(result);
                if (callback != null) {
                    callback.onSuccess(null);
                }
            }

        };
        newResourceInfoAction.execute();
    }
public void loadNewElementInfo ( final AsyncCallback < Void > callback ) { CmsRpcAction < List < CmsNewResourceInfo > > newResourceInfoAction = new CmsRpcAction < List < CmsNewResourceInfo > > ( ) { @ Override public void execute ( ) { start ( 200 , true ) ; getService ( ) . getNewElementInfo ( m_data . getRoot ( ) . getSitePath ( ) , this ) ; } @ Override protected void onResponse ( List < CmsNewResourceInfo > result ) { stop ( false ) ; m_data . setNewElementInfos ( result ) ; if ( callback != null ) { callback . onSuccess ( null ) ; } } } ; newResourceInfoAction . execute ( ) ; }
Loads the new element info.<p>

@param callback the callback to call when done