org.overlord.sramp.ui.client.views
Interface IBrowseView

All Superinterfaces:
IPagedResultView<IBrowseActivity>, com.google.gwt.user.client.ui.IsWidget, IView<IBrowseActivity>
All Known Implementing Classes:
BrowseView

public interface IBrowseView
extends IPagedResultView<IBrowseActivity>

Browse view interface.

Author:
eric.wittmann@redhat.com

Method Summary
 void onQueryComplete(List<ArtifactSummary> artifacts, boolean hasMoreRows)
          Called by the activity when the async query completes successfully with data.
 void onQueryFailed(RemoteServiceException error)
          Called by the activity when the async query completes with an error.
 void onQueryStarting(BrowsePlace currentPlace)
          Called by the activity when it kicks off the async query for artifacts.
 
Methods inherited from interface org.overlord.sramp.ui.client.views.IPagedResultView
getDefaultOrderBy, getDefaultPageSize
 
Methods inherited from interface org.overlord.sramp.ui.client.views.IView
getActivity, setActivity
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Method Detail

onQueryStarting

void onQueryStarting(BrowsePlace currentPlace)
Called by the activity when it kicks off the async query for artifacts.


onQueryComplete

void onQueryComplete(List<ArtifactSummary> artifacts,
                     boolean hasMoreRows)
Called by the activity when the async query completes successfully with data.

Parameters:
artifacts -
hasMoreRows -

onQueryFailed

void onQueryFailed(RemoteServiceException error)
Called by the activity when the async query completes with an error.



Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.