|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.RemotingAction
ccc.client.actions.ResourceNameExistsAction
public abstract class ResourceNameExistsAction
Check that a resource name exists.
Field Summary |
---|
Fields inherited from interface ccc.client.core.Action |
---|
UI_CONSTANTS, USER_ACTIONS |
Constructor Summary | |
---|---|
ResourceNameExistsAction(ResourceSummary folder,
ResourceName resourceName)
Constructor. |
Method Summary | |
---|---|
protected abstract void |
execute(boolean nameExists)
Handle a successful execution. |
protected java.lang.String |
getPath()
Determine the server path for this action. |
protected void |
onOK(Response response)
Handle a '200 OK' response from the remote server. |
Methods inherited from class ccc.client.core.RemotingAction |
---|
beforeExecute, encode, execute, fireEvent, getActionName, getBody, getParser, getRequest, onFailure, onNoContent, parseResourceSummary, setExecutor, setParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceNameExistsAction(ResourceSummary folder, ResourceName resourceName)
resourceName
- The resource name to check.folder
- The folder to check.Method Detail |
---|
protected java.lang.String getPath()
getPath
in class RemotingAction
protected void onOK(Response response)
onOK
in class RemotingAction
response
- The server response.protected abstract void execute(boolean nameExists)
nameExists
- True if the resource name exists, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |