T
- the resource representation typepublic abstract class AbstractActionUIAdvisor<T> extends Object implements ActionUIAdvisor<T>
ActionUIAdvisor
.Constructor and Description |
---|
AbstractActionUIAdvisor() |
Modifier and Type | Method and Description |
---|---|
boolean |
clear()
Clear all resources of the action the advisor is associated to.
|
boolean |
removeResource(String resourceId)
Remove the resource with the given ID.
|
T |
retrieveResource(String resourceId)
Retrieve a resource representation for the resource with the given ID.
|
boolean |
supportsClear()
States if clearing all action resources is supported.
|
boolean |
supportsRemoval()
States if resource removal is supported.
|
boolean |
supportsRetrieval()
States if retrieving a representation of the resource is possible.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRepresentationType
public boolean supportsRemoval()
ActionUIAdvisor
supportsRemoval
in interface ActionUIAdvisor<T>
public boolean removeResource(String resourceId)
ActionUIAdvisor
removeResource
in interface ActionUIAdvisor<T>
resourceId
- the identifier of the resource to removeActionUIAdvisor.supportsRemoval()
public boolean supportsClear()
ActionUIAdvisor
supportsClear
in interface ActionUIAdvisor<T>
public boolean clear()
ActionUIAdvisor
clear
in interface ActionUIAdvisor<T>
true
if all resources could be removed,
false
if none were removedActionUIAdvisor.supportsClear()
public boolean supportsRetrieval()
ActionUIAdvisor
supportsRetrieval
in interface ActionUIAdvisor<T>
public T retrieveResource(String resourceId)
ActionUIAdvisor
retrieveResource
in interface ActionUIAdvisor<T>
resourceId
- the resource identifiernull
ActionUIAdvisor.supportsRetrieval()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a