Package org.opentcs.access.rmi.services
Interface RemoteTCSObjectService
- All Superinterfaces:
Remote
- All Known Subinterfaces:
RemotePeripheralJobService
,RemotePeripheralService
,RemotePlantModelService
,RemoteTransportOrderService
,RemoteVehicleService
Declares the methods provided by the
TCSObjectService
via RMI.
The majority of the methods declared here have signatures analogous to their counterparts in
TCSObjectService
, with an additional ClientID
parameter which serves the purpose
of identifying the calling client and determining its permissions.
To avoid redundancy, the semantics of methods that only pass through their arguments are not
explicitly documented here again. See the corresponding API documentation in
TCSObjectService
for these, instead.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendObjectHistoryEntry
(ClientID clientId, TCSObjectReference<?> ref, ObjectHistory.Entry entry) <T extends TCSObject<T>>
TfetchObject
(ClientID clientId, Class<T> clazz, String name) <T extends TCSObject<T>>
TfetchObject
(ClientID clientId, Class<T> clazz, TCSObjectReference<T> ref) fetchObjects
(ClientID clientId, Class<T> clazz) fetchObjects
(ClientID clientId, Class<T> clazz, Predicate<? super T> predicate) void
updateObjectProperty
(ClientID clientId, TCSObjectReference<?> ref, String key, String value)
-
Method Details
-
fetchObject
<T extends TCSObject<T>> T fetchObject(ClientID clientId, Class<T> clazz, TCSObjectReference<T> ref) throws RemoteException - Throws:
RemoteException
-
fetchObject
<T extends TCSObject<T>> T fetchObject(ClientID clientId, Class<T> clazz, String name) throws RemoteException - Throws:
RemoteException
-
fetchObjects
<T extends TCSObject<T>> Set<T> fetchObjects(ClientID clientId, Class<T> clazz) throws RemoteException - Throws:
RemoteException
-
fetchObjects
<T extends TCSObject<T>> Set<T> fetchObjects(ClientID clientId, Class<T> clazz, Predicate<? super T> predicate) throws RemoteException - Throws:
RemoteException
-
updateObjectProperty
void updateObjectProperty(ClientID clientId, TCSObjectReference<?> ref, String key, String value) throws RemoteException - Throws:
RemoteException
-
appendObjectHistoryEntry
void appendObjectHistoryEntry(ClientID clientId, TCSObjectReference<?> ref, ObjectHistory.Entry entry) throws RemoteException - Throws:
RemoteException
-