|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.kex.kexdav.correspondingObjects.CorrespondingObjectManager
public class CorrespondingObjectManager
Verwaltung korrespondierender Objekte, der Konfigurationsbereiche um diese abzuspeichern, und der Plug-Ins um die Attributgruppen zu konvertieren
| Constructor Summary | |
|---|---|
CorrespondingObjectManager(ClientDavInterface localConnection,
ClientDavInterface remoteConnection,
ManagerInterface manager,
Map<AttributeGroupPair,KExDaVDataPlugin> plugins)
Erstellt eine Verwaltung korrespondierender Objekte. |
|
| Method Summary | |
|---|---|
void |
clear()
Beendet alle von dieser Klasse verwendeten Austausche |
void |
copyObjectIfNecessary(ObjectSpecification objectSpecification,
ClientDavInterface sourceConnection,
ClientDavInterface targetConnection)
Wird aufgerufen, wenn im Zielsystem ein dynamisches Objekt gebraucht wird. |
CopyableCorrespondingObject |
createObjectExchange(ObjectSpecification objectSpecification,
Direction direction)
Erstellt einen Austausch dynamischer Objekte |
ConfigurationArea |
getConfigurationAreaLocal(String typePid)
Sucht den passenden Konfigurationsbereich um ein Objekt im Lokal-System abzuspeichern |
ConfigurationArea |
getConfigurationAreaRemote(String typePid)
Sucht den passenden Konfigurationsbereich um ein Objekt im Remote-System abzuspeichern |
ClientDavInterface |
getLocalConnection()
Gibt die lokale Verbindung zurück |
CorrespondingObject |
getObject(ObjectSpecification objectSpecification)
Gibt zu einer Pid ein korrespondierendes Objekt zurück, ohne dieses zu kopieren o.ä. |
KExDaVDataPlugin |
getPlugIn(String atgSource,
String atgTarget)
Gibt ein Plugin zurück um von atgSource nach atgTarget zu konvertieren. |
ClientDavInterface |
getRemoteConnection()
Gibt die Remote-Verbindung zurück |
boolean |
removeObjectExchange(ObjectSpecification objectSpecification,
Direction direction)
Entfernt einen Objektaustausch |
void |
setConfigurationAreas(ConfigurationArea localDefaultArea,
ConfigurationArea remoteDefaultArea,
Map<String,ConfigurationArea> localAreas,
Map<String,ConfigurationArea> remoteAreas)
Setzt die Konfigurationsbereiche, in denen die Objekte angelegt werden sollen |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CorrespondingObjectManager(ClientDavInterface localConnection,
ClientDavInterface remoteConnection,
ManagerInterface manager,
Map<AttributeGroupPair,KExDaVDataPlugin> plugins)
localConnection - Lokale VerbindungremoteConnection - Remote-Verbindungmanager - KExDaV-Verwaltungplugins - Plugins die pro Attributgruppenkonvertierung verwendet werden| Method Detail |
|---|
public CopyableCorrespondingObject createObjectExchange(ObjectSpecification objectSpecification,
Direction direction)
throws MissingAreaException
objectSpecification - Pid des Objektesdirection - Richtung des Austausches
MissingAreaException - Falls kein Konfigurationsbereich gefunden werden konnte, um das Objekt auf dem Zielsystem anzulegen
public boolean removeObjectExchange(ObjectSpecification objectSpecification,
Direction direction)
objectSpecification - Piddirection - Richtung
public CorrespondingObject getObject(ObjectSpecification objectSpecification)
getObject in interface ObjectManagerInterfaceobjectSpecification - Pid
public void copyObjectIfNecessary(ObjectSpecification objectSpecification,
ClientDavInterface sourceConnection,
ClientDavInterface targetConnection)
ObjectManagerInterface
copyObjectIfNecessary in interface ObjectManagerInterfaceobjectSpecification - Spezifikation zur Ermittlung des ObjektessourceConnection - QuellverbindungtargetConnection - Zielverbindungpublic ClientDavInterface getLocalConnection()
ObjectManagerInterface
getLocalConnection in interface ObjectManagerInterfacepublic ClientDavInterface getRemoteConnection()
ObjectManagerInterface
getRemoteConnection in interface ObjectManagerInterface
public ConfigurationArea getConfigurationAreaRemote(String typePid)
throws MissingAreaException
ObjectManagerInterface
getConfigurationAreaRemote in interface ObjectManagerInterfacetypePid - Objekt-Typ
MissingAreaException - Falls kein Konfigurationsbereich gefunden werden konnte
public ConfigurationArea getConfigurationAreaLocal(String typePid)
throws MissingAreaException
ObjectManagerInterface
getConfigurationAreaLocal in interface ObjectManagerInterfacetypePid - Objekt-Typ
MissingAreaException - Falls kein Konfigurationsbereich gefunden werden konnte
public KExDaVDataPlugin getPlugIn(String atgSource,
String atgTarget)
throws MissingPluginException
ObjectManagerInterfaceBasicKExDaVDataPlugin zurückgegeben
getPlugIn in interface ObjectManagerInterfaceatgSource - Quell-Attributgruppe (Pid)atgTarget - Ziel-Attributgruppe (Pid)
MissingPluginException - Falls kein Plugin gefunden werden kann
public void setConfigurationAreas(ConfigurationArea localDefaultArea,
ConfigurationArea remoteDefaultArea,
Map<String,ConfigurationArea> localAreas,
Map<String,ConfigurationArea> remoteAreas)
localDefaultArea - Standardbereich Lokal (oder null für keinen Standardbereich)remoteDefaultArea - Standardbereich Remote (oder null für keinen Standardbereich)localAreas - Lokale zusätzliche Bereiche nach TypremoteAreas - Remote zusätzliche Bereiche nach Typpublic String toString()
toString in class Objectpublic void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||