de.bsvrz.puk.config.main.communication.query
Class ForeignObjectManager

java.lang.Object
  extended by de.bsvrz.puk.config.main.communication.query.ForeignObjectManager

public class ForeignObjectManager
extends Object

TBD RS dokumentieren.

Author:
Kappich Systemberatung

Field Summary
private  Map<String,ForeignConfigRequester> _authorityPid2Requester
           
private  DataModel _configuration
           
private  ClientDavInterface _connection
           
private static Debug _debug
          DebugLogger für Debug-Ausgaben
private  ScheduledExecutorService _executor
           
private  ForeignConfigReceiveCommunicator _foreignConfigReceiveCommunicator
           
private  HashMap<Long,SystemObject> _foreignObjects
           
private  SystemObject _localAuthority
           
 
Constructor Summary
ForeignObjectManager(ClientDavInterface connection, DataModel configuration, SystemObject localAuthority)
           
 
Method Summary
 DataModel getConfiguration()
           
 ClientDavInterface getConnection()
           
 String getElementsManagementPid(MutableSet mutableSet)
           
(package private)  ScheduledExecutorService getExecutor()
           
 ForeignConfigRequester getForeignConfigRequester(MutableCollection mutableCollection)
           
 ForeignMutableCollectionProxy getForeignMutableCollectionProxy(short internalSimVariant, MutableCollection mutableCollection)
           
 SystemObject getLocalAuthority()
           
 SystemObject getRemoteObject(Long key)
           
 boolean hasRemoteObject(Long key)
           
(package private)  void memorizeRemoteObject(Long key, ForeignDynamicObject remoteObject)
           
(package private)  void start()
           
 void updateName(long objectId, long objectTypeId, String newName)
           
 void updateNotValidSince(long objectId, long objectTypeId, long notValidSince)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_debug

private static final Debug _debug
DebugLogger für Debug-Ausgaben


_connection

private final ClientDavInterface _connection

_configuration

private final DataModel _configuration

_localAuthority

private final SystemObject _localAuthority

_authorityPid2Requester

private final Map<String,ForeignConfigRequester> _authorityPid2Requester

_executor

private ScheduledExecutorService _executor

_foreignObjects

private HashMap<Long,SystemObject> _foreignObjects

_foreignConfigReceiveCommunicator

private ForeignConfigReceiveCommunicator _foreignConfigReceiveCommunicator
Constructor Detail

ForeignObjectManager

public ForeignObjectManager(ClientDavInterface connection,
                            DataModel configuration,
                            SystemObject localAuthority)
Method Detail

getForeignConfigRequester

public ForeignConfigRequester getForeignConfigRequester(MutableCollection mutableCollection)

getElementsManagementPid

public String getElementsManagementPid(MutableSet mutableSet)

getForeignMutableCollectionProxy

public ForeignMutableCollectionProxy getForeignMutableCollectionProxy(short internalSimVariant,
                                                                      MutableCollection mutableCollection)

getConnection

public ClientDavInterface getConnection()

getConfiguration

public DataModel getConfiguration()

getLocalAuthority

public SystemObject getLocalAuthority()

start

void start()

getExecutor

ScheduledExecutorService getExecutor()

memorizeRemoteObject

void memorizeRemoteObject(Long key,
                          ForeignDynamicObject remoteObject)

getRemoteObject

public SystemObject getRemoteObject(Long key)

hasRemoteObject

public boolean hasRemoteObject(Long key)

updateNotValidSince

public void updateNotValidSince(long objectId,
                                long objectTypeId,
                                long notValidSince)

updateName

public void updateName(long objectId,
                       long objectTypeId,
                       String newName)