|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceHelperInterface
Method Summary | |
---|---|
void |
addResourceListener(ResourceListener el)
Add a Listener to this helper. |
void |
clearChanged()
set the current resource to be the original resource (ie: the hasChanged() method must return false now. |
void |
commitChanges()
commit the changes (if any) |
RemoteResource |
getValue()
get the Resource edited with this helper |
boolean |
hasChanged()
tells if the edited resource in the helper has changed |
void |
initialize(RemoteResourceWrapper rw,
java.util.Properties p)
initialize the helper |
void |
removeResourceListener(ResourceListener el)
Remove the listener from this helper. |
void |
resetChanges()
undo the not-yet-commited changes |
Method Detail |
---|
boolean hasChanged()
void clearChanged()
RemoteResource getValue()
void addResourceListener(ResourceListener el)
el
- a listenervoid removeResourceListener(ResourceListener el)
el
- the listener to be removed.void commitChanges() throws RemoteAccessException
RemoteAccessException
- if a remote access error occurs.void resetChanges()
void initialize(RemoteResourceWrapper rw, java.util.Properties p) throws RemoteAccessException
r
- the ResourceWrapper containing the Resource edited with
this helperp
- some Properties, used to fine-tune the helper
RemoteAccessException
- if a remote access error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |