org.openmobileis.modules.common.history
Class FODBHistoryManager
java.lang.Object
org.openmobileis.modules.common.history.FODBHistoryManager
- All Implemented Interfaces:
- HistoryManager
- public class FODBHistoryManager
- extends java.lang.Object
- implements HistoryManager
Description : Create an FODB history manager.
History is a fixed length stack. They are use to remember user action for example a
search result.
History is identified with a name and a size.
The name identify the history.
The maxsize : size of the history. Old entry are removed if size exceed maxside
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FODBHistoryManager
public FODBHistoryManager(java.lang.String name,
int maxsize)
addUID
public void addUID(java.lang.String uid)
- Specified by:
addUID
in interface HistoryManager
removeUID
public void removeUID(java.lang.String uid)
- Specified by:
removeUID
in interface HistoryManager
getAll
public Array getAll()
- Specified by:
getAll
in interface HistoryManager
getHistoryName
public java.lang.String getHistoryName()
- Specified by:
getHistoryName
in interface HistoryManager
Copyright 2006 OpenMobileIS. All Rights Reserved.