|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateModule
Field Summary | |
---|---|
static String |
REFRESH_INTERVAL_ENTRY
|
Method Summary | |
---|---|
void |
addAllocationChangedListener(AllocationChangeListener triggerListener)
|
void |
addModificationListener(ModificationListener listener)
registers a new ModificationListener. |
void |
addUpdateErrorListener(UpdateErrorListener listener)
|
boolean |
isClientForServer()
returns if the Facade is connected through a server (false if it has a local store) |
void |
refresh()
Refreshes the data that is in the cache (or on the client) and notifies all registered ModificationListeners
with an update-event. |
void |
removeAllocationChangedListener(AllocationChangeListener triggerListener)
|
void |
removeModificationListener(ModificationListener listener)
|
void |
removeUpdateErrorListener(UpdateErrorListener listener)
|
Field Detail |
---|
static final String REFRESH_INTERVAL_ENTRY
Method Detail |
---|
void refresh() throws RaplaException
ModificationListeners
with an update-event.
There are two types of refreshs.
Incremental refreshs are the normal case if you have a client server basis. (In a single user system no refreshs are necessary at all). The refreshs are triggered in defined intervals if you use the webbased communication and automaticaly if you use the old communication layer. You can change the refresh interval via the admin options.
Of course you can call a refresh anytime you want to synchronize with the server, e.g. if you want to ensure you are uptodate before editing. If you are on the server you dont need to refresh.
WARNING: When using full refresh on a local file storage all information will be changed. So use it only if you modify the data from external. You better re-get and re-draw all the information in the Frontend after a full refresh.
RaplaException
boolean isClientForServer()
void addModificationListener(ModificationListener listener)
ModificationListener
,
ModificationEvent
void removeModificationListener(ModificationListener listener)
void addUpdateErrorListener(UpdateErrorListener listener)
void removeUpdateErrorListener(UpdateErrorListener listener)
void addAllocationChangedListener(AllocationChangeListener triggerListener)
void removeAllocationChangedListener(AllocationChangeListener triggerListener)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |