|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.RemotingAction
ccc.client.gwt.remoting.DeleteResourceAction
public class DeleteResourceAction
Publish a resource.
Field Summary |
---|
Fields inherited from interface ccc.client.core.Action |
---|
UI_CONSTANTS, USER_ACTIONS |
Constructor Summary | |
---|---|
DeleteResourceAction(SingleSelectionModel selectionModel)
Constructor. |
Method Summary | |
---|---|
protected boolean |
beforeExecute()
Handler method called immediately before an action is executed. |
protected java.lang.String |
getPath()
Determine the server path for this action. |
protected void |
onNoContent(Response response)
Handle a '204 NO CONTENT' response from the remote server. |
Methods inherited from class ccc.client.core.RemotingAction |
---|
encode, execute, fireEvent, getActionName, getBody, getParser, getRequest, onFailure, onOK, parseResourceSummary, setExecutor, setParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteResourceAction(SingleSelectionModel selectionModel)
selectionModel
- The selection model to use.Method Detail |
---|
protected java.lang.String getPath()
getPath
in class RemotingAction
protected void onNoContent(Response response)
onNoContent
in class RemotingAction
response
- The server response.protected boolean beforeExecute()
You can override this method to present confirmation dialogs, etc. to users, when an action is invoked. If this method returns true the action will continue; if false is returned the action will not be executed.
beforeExecute
in class RemotingAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |