public class ItemActionFactory extends Object
| Constructor and Description |
|---|
ItemActionFactory(CrudOperations crud,
ItemMonitor itemMonitor,
com.gwtplatform.mvp.client.proxy.PlaceManager placeManager,
Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
<T> ItemAction<T> |
placeRequest(String title,
com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest) |
<T> ItemAction<T> |
placeRequest(String title,
com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest,
Constraint constraint) |
<T> ItemAction<T> |
remove(String type,
String name,
AddressTemplate template,
AddressTemplate constraint,
FinderColumn<T> column) |
<T> ItemAction<T> |
remove(String type,
String name,
AddressTemplate template,
AddressTemplate constraint,
ItemActionHandler<T> handler) |
<T> ItemAction<T> |
remove(String type,
String name,
AddressTemplate template,
FinderColumn<T> column)
Creates a 'remove' action which removes the specified resource from the given template.
|
<T> ItemAction<T> |
remove(String type,
String name,
AddressTemplate template,
ItemActionHandler<T> handler)
Wraps the specified handler inside a confirmation dialog.
|
<T> ItemAction<T> |
view(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest) |
<T> ItemAction<T> |
view(String nameToken,
String... parameter) |
<T> ItemAction<T> |
viewAndMonitor(String itemId,
com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest) |
@Inject public ItemActionFactory(CrudOperations crud, ItemMonitor itemMonitor, com.gwtplatform.mvp.client.proxy.PlaceManager placeManager, Resources resources)
public <T> ItemAction<T> view(String nameToken, String... parameter)
public <T> ItemAction<T> view(com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
public <T> ItemAction<T> placeRequest(String title, com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
public <T> ItemAction<T> placeRequest(String title, com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest, Constraint constraint)
public <T> ItemAction<T> viewAndMonitor(String itemId, com.gwtplatform.mvp.shared.proxy.PlaceRequest placeRequest)
public <T> ItemAction<T> remove(String type, String name, AddressTemplate template, ItemActionHandler<T> handler)
public <T> ItemAction<T> remove(String type, String name, AddressTemplate template, AddressTemplate constraint, ItemActionHandler<T> handler)
public <T> ItemAction<T> remove(String type, String name, AddressTemplate template, FinderColumn<T> column)
FinderColumn.refresh(FinderColumn.RefreshMode) is called.public <T> ItemAction<T> remove(String type, String name, AddressTemplate template, AddressTemplate constraint, FinderColumn<T> column)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.