public interface ITaurusSystemDirectory
ITaurusSystems.
This interface handles the life cycle of ITaurusSystems. It is called
to add, load and remove ITaurusSystems. The informations about the
ITaurusSystems must be saved consistently. It is intended to save and
load the informations about the ITaurusSystems in the
st_systems.xml-file in the workspace.
This interface is not intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver(java.util.Observer pObserver)
add the given observer to this class
|
void |
addSystem(ITaurusSystem pSystem,
boolean pNotify)
Add the given TAURUS system to the TAURUS system directory.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getExpandMap()
Gets the map with all resources of this system which are expanded in the
tree view.
|
ITaurusSystem |
getSelectedSystem()
Deprecated.
not used anymore. The active (or "selected") system is
determined by the active application.
|
ITaurusSystem |
getTaurusSystem(java.lang.String pResourceID)
Returns the TAURUS system with the given ID.
|
ITaurusSystem |
getTaurusSystem(java.lang.String pSystemName,
java.lang.String pRemoteSysName)
Returns an
ITaurusSystem for the given parameters or
null if that system does not exist. |
java.util.List<ITaurusSystem> |
getTaurusSystemList()
Gets a list of all available AWM systems.
|
void |
loadSystems()
Load the system directory from the st_systems.xml-file in the workspace.
|
void |
notifyChanged(TaurusNotification pNotification)
Fires a change notification to update observers after AWM system changes.
|
void |
removeSystem(ITaurusSystem pSystem)
Remove the given TAURUS system from the system directory.
|
void |
saveSystems()
Save the system directory to the st_systems.xml-file in the workspace.
|
void |
setExpandMap(java.util.Map<java.lang.String,java.lang.Boolean> pExpandMap)
Sets the map of all resources of this system which are expanded in the
tree view.
|
void |
setSelectedSystem(ITaurusSystem pTaurusSystem)
Deprecated.
not used anymore. The active (or "selected") system is
determined by the active application.
|
boolean |
systemsLoaded()
Gets whether loading cached systems was completed.
|
void addSystem(ITaurusSystem pSystem, boolean pNotify) throws TaurusCoreException
pSystem - TAURUS system to be addedpNotify - if true, notify the system directory's observersTaurusCoreException - if a TAURUS System with the same name already exists.void removeSystem(ITaurusSystem pSystem)
pSystem - TAURUS system to be removedvoid loadSystems()
throws TaurusCoreException
TaurusCoreException - if loading the system cache failsvoid saveSystems()
throws TaurusCoreException
TaurusCoreException - if saving the system cache fails@Deprecated ITaurusSystem getSelectedSystem()
@Deprecated void setSelectedSystem(ITaurusSystem pTaurusSystem)
pTaurusSystem - the new active systemjava.util.List<ITaurusSystem> getTaurusSystemList()
void addObserver(java.util.Observer pObserver)
pObserver - observervoid setExpandMap(java.util.Map<java.lang.String,java.lang.Boolean> pExpandMap)
pExpandMap - the map containing all expanded resourcesjava.util.Map<java.lang.String,java.lang.Boolean> getExpandMap()
ITaurusSystem getTaurusSystem(java.lang.String pSystemName, java.lang.String pRemoteSysName)
ITaurusSystem for the given parameters or
null if that system does not exist.pSystemName - the name of a TAURUS SystempRemoteSysName - the unique name of the remote systemnullITaurusSystem getTaurusSystem(java.lang.String pResourceID)
pResourceID - the ID of the TAURUS system (case sensitive)ITaurusSystem or null if the system was
not found or loaded from cache.loadSystems()boolean systemsLoaded()
true if cached AWM systems have already been loadedvoid notifyChanged(TaurusNotification pNotification)
pNotification - the notificationCopyright © 2015 Micro Focus GmbH. All rights reserved.