| Constructor and Description |
|---|
SubscribableCrudModel(String path,
PathfinderServices services)
Constructs a subscribable CRUD model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Reads the model specified by the path from the server.
|
void |
create()
Creates the model at the path specified on the server.
|
void |
delete()
Deletes the model specified by the path on the server.
|
protected void |
update(JsonObject value)
Updates the model specified by the path on the server.
|
getMessageHeader, routeSubscribe, routeUnsubscribe, subscribe, unsubscribecreateValueJson, getChildPath, getModel, getParentCluster, getParentPath, getPath, getServices, isConnected, notifyUpdate, route, setConnected, updateFieldsaddListener, getListeners, removeListenerprivate static final Logger logger
public SubscribableCrudModel(String path, PathfinderServices services)
path - of the modelservices - a pathfinder services object.public void connect()
public void create()
public void delete()
protected void update(JsonObject value)
value - of the update request.