public class RecordLocksPresenter extends BasePresenter<RecordLocksPresenter.MyView,RecordLocksPresenter.MyProxy> implements RecordLocksUIHandler
Modifier and Type | Class and Description |
---|---|
static interface |
RecordLocksPresenter.MyProxy
Defines the proxy place for GWTP framework.
|
static interface |
RecordLocksPresenter.MyView
This view interface that must be implemented by the concrete view according to GWTP
framework.
|
Modifier and Type | Field and Description |
---|---|
private AdminServiceAsync |
adminService
Administration server interface
|
static com.gwtplatform.mvp.client.presenter.slots.NestedSlot |
MODAL_CONTENT
The attachment point for modal dialogs on this view
|
FILTER, filterExp, logger
Constructor and Description |
---|
RecordLocksPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
RecordLocksPresenter.MyView view,
RecordLocksPresenter.MyProxy proxy,
com.gwtplatform.mvp.client.proxy.PlaceManager placeManager,
AdminServiceAsync adminService,
ModalDialogs modalDialogsManager,
Alarm serverAlarmsManager)
Defines the Record Locks presenter.
|
Modifier and Type | Method and Description |
---|---|
private void |
filterRecordLocksList(com.google.gwt.regexp.shared.RegExp filter)
Retrieves the current record locks and updates the record locks table model according to
the given filter criteria.
|
void |
prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request)
Loads the data before the associated view will be displayed.
|
void |
setDataSelectionFilter(java.lang.String value)
Sets the current search string used as a filter to display the target results.
|
void |
updateRecordLocksList()
Executes the asynchronous action to retrieve record locks from the server and to update the
record locks view if this action has been completed.
|
backTo, clearRequestParameter, getCurrentFilter, getCurrentParameter, getPlaceManager, getQueryParametersMap, getQueryString, getQueryString, setFilter, updateBrowserHistory
bind, forceReveal, getProxy, getRevealType, getSlot, revealInParent, setRevealType, setSlot, unbind, useManualReveal
addHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, clearSlot, equals, fireEvent, fireEvent, getChild, getChildren, getChildren, getEventBus, getView, hashCode, isVisible, onHide, onReset, onReveal, registerVisibleHandler, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlot
isBound, onBind, onUnbind, registerHandler
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCurrentFilter
public static final com.gwtplatform.mvp.client.presenter.slots.NestedSlot MODAL_CONTENT
private final AdminServiceAsync adminService
@Inject RecordLocksPresenter(com.google.web.bindery.event.shared.EventBus eventBus, RecordLocksPresenter.MyView view, RecordLocksPresenter.MyProxy proxy, com.gwtplatform.mvp.client.proxy.PlaceManager placeManager, AdminServiceAsync adminService, ModalDialogs modalDialogsManager, Alarm serverAlarmsManager)
eventBus
- The event busview
- The associated viewproxy
- The proxy placeplaceManager
- The place manageradminService
- The administration servicemodalDialogsManager
- The common modal dialogs managerserverAlarmsManager
- The server alarmsprivate void filterRecordLocksList(com.google.gwt.regexp.shared.RegExp filter)
filter
- The filter criteriapublic void updateRecordLocksList()
updateRecordLocksList
in interface RecordLocksUIHandler
public void prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request)
prepareFromRequest
in class com.gwtplatform.mvp.client.Presenter<RecordLocksPresenter.MyView,RecordLocksPresenter.MyProxy>
request
- The current requestpublic void setDataSelectionFilter(java.lang.String value)
setDataSelectionFilter
in interface BaseUiHandlers
value
- The new search string used as a filter.