|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the populator used by the service connection and the JposServiceFactory to access the JavaPOS JposEntry objects. It also allows a consistent place to aggregates the defined JposEntry and allows for dynamic updates of the current set of JposEntry objects.
Method Summary | |
void |
addJposEntry(JposEntry entry)
Add an JposEntry for the service. |
void |
addJposEntry(java.lang.String logicalName,
JposEntry entry)
Add an JposEntry for the service with logical name specified |
void |
addJposEntryRegistryListener(JposEntryRegistryListener l)
Adds a new JposEntryRegistryListener to the list of listeners |
java.util.Enumeration |
getEntries()
|
JposEntry |
getJposEntry(java.lang.String logicalName)
|
JposRegPopulator |
getRegPopulator()
|
int |
getSize()
|
boolean |
hasJposEntry(java.lang.String logicalName)
|
boolean |
isLoaded()
|
void |
load()
Loads the JposEntryRegistry using the current populator NOTE: if no entries are found or an error occurs then the registry is empty |
void |
modifyJposEntry(java.lang.String logicalName,
JposEntry newEntry)
Modify the JposEntry with logicalName with the new entry indicated |
void |
removeJposEntry(JposEntry entry)
Removes the specified JposEntry |
void |
removeJposEntry(java.lang.String logicalName)
Removes the JposEntry with the logicalName specified |
void |
removeJposEntryRegistryListener(JposEntryRegistryListener l)
Removes a new JposEntryRegistryListener to the list of listeners |
void |
save()
Tell the JposEntryRegistry to save the current entries NOTE: the actual implementation will save it in dependent manner |
Method Detail |
public boolean hasJposEntry(java.lang.String logicalName)
logicalName
- the logical name for the servicepublic java.util.Enumeration getEntries()
public JposEntry getJposEntry(java.lang.String logicalName)
logicalName
- the logical name of the JposEntry to findpublic void addJposEntry(java.lang.String logicalName, JposEntry entry)
logicalName
- the logicalName of the serviceentry
- the JposEntry to addpublic void addJposEntry(JposEntry entry)
entry
- the JposEntry to addJposEntry.getLogicalName()
public void removeJposEntry(JposEntry entry)
entry
- the entry to removepublic void removeJposEntry(java.lang.String logicalName)
logicalName
- the JposEntry's logical namepublic void modifyJposEntry(java.lang.String logicalName, JposEntry newEntry)
logicalName
- the JposEntry's logical namenewEntry
- the new JposEntrypublic void addJposEntryRegistryListener(JposEntryRegistryListener l)
l
- the JposEntryRegistryListener objectpublic void removeJposEntryRegistryListener(JposEntryRegistryListener l)
l
- the JposEntryRegistryListener objectpublic void save() throws java.lang.Exception
java.lang.Exception
- if any error occurs while savingpublic void load()
public JposRegPopulator getRegPopulator()
public int getSize()
public boolean isLoaded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |