public class ForeignObjectManager extends Object
Constructor and Description |
---|
ForeignObjectManager(ClientDavInterface connection,
DataModel configuration,
SystemObject localAuthority,
File foreignObjectCacheFile) |
Modifier and Type | Method and Description |
---|---|
void |
cacheForeignObject(DynamicObject remoteDynamicObject) |
void |
close() |
SystemObject |
getCachedForeignObject(long id) |
DataModel |
getConfiguration() |
ClientDavInterface |
getConnection() |
String |
getElementsManagementPid(MutableSet mutableSet) |
ForeignConfigRequester |
getForeignConfigRequester(ConfigurationAuthority authority) |
ForeignConfigRequester |
getForeignConfigRequester(MutableCollection mutableCollection) |
ForeignMutableCollectionProxy |
getForeignMutableCollectionProxy(short internalSimVariant,
MutableCollection mutableCollection) |
SystemObject |
getLocalAuthority() |
SystemObject |
getRemoteObject(Long key) |
boolean |
hasRemoteObject(Long key) |
void |
requestRemoteObjects(AsyncIdsToObjectsRequest asyncIdsToObjectsRequest) |
void |
save() |
void |
updateName(long objectId,
long objectTypeId,
String newName) |
void |
updateNotValidSince(long objectId,
long objectTypeId,
long notValidSince) |
public ForeignObjectManager(ClientDavInterface connection, DataModel configuration, SystemObject localAuthority, File foreignObjectCacheFile)
public ForeignConfigRequester getForeignConfigRequester(ConfigurationAuthority authority)
public ForeignConfigRequester getForeignConfigRequester(MutableCollection mutableCollection)
public String getElementsManagementPid(MutableSet mutableSet)
public ForeignMutableCollectionProxy getForeignMutableCollectionProxy(short internalSimVariant, MutableCollection mutableCollection)
public ClientDavInterface getConnection()
public DataModel getConfiguration()
public SystemObject getLocalAuthority()
public SystemObject getRemoteObject(Long key)
public boolean hasRemoteObject(Long key)
public void updateNotValidSince(long objectId, long objectTypeId, long notValidSince)
public void updateName(long objectId, long objectTypeId, String newName)
public void requestRemoteObjects(AsyncIdsToObjectsRequest asyncIdsToObjectsRequest)
public void close() throws IOException
IOException
public void save() throws IOException
IOException
public SystemObject getCachedForeignObject(long id)
public void cacheForeignObject(DynamicObject remoteDynamicObject)