Package | Description |
---|---|
io.telepat.sdk.data | |
io.telepat.sdk.models |
Modifier and Type | Method and Description |
---|---|
TelepatBaseModel |
TelepatSnappyDb.getObject(java.lang.String channelIdentifier,
int id,
java.lang.Class type)
Retrieve a stored object
|
TelepatBaseModel |
TelepatInternalDB.getObject(java.lang.String channelIdentifier,
int id,
java.lang.Class type)
Retrieve a stored object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TelepatBaseModel> |
TelepatSnappyDb.getChannelObjects(java.lang.String channelIdentifier,
java.lang.Class type)
Retrieve a list of all stored objects for a channel
|
java.util.List<TelepatBaseModel> |
TelepatInternalDB.getChannelObjects(java.lang.String channelIdentifier,
java.lang.Class type)
Retrieve a list of all stored objects for a channel
|
Modifier and Type | Method and Description |
---|---|
void |
TelepatSnappyDb.deleteObject(java.lang.String channelIdentifier,
TelepatBaseModel object)
Delete an object from the internal DB
|
void |
TelepatInternalDB.deleteObject(java.lang.String channelIdentifier,
TelepatBaseModel object)
Delete an object from the internal DB
|
void |
TelepatSnappyDb.persistObject(java.lang.String channelIdentifier,
TelepatBaseModel object)
Save an objects to the internal DB
|
void |
TelepatInternalDB.persistObject(java.lang.String channelIdentifier,
TelepatBaseModel object)
Save an objects to the internal DB
|
void |
TelepatSnappyDb.persistObjects(java.lang.String channelIdentifier,
TelepatBaseModel[] objects)
Save an array of objects to the internal DB
|
void |
TelepatInternalDB.persistObjects(java.lang.String channelIdentifier,
TelepatBaseModel[] objects)
Save an array of objects to the internal DB
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Channel.add(TelepatBaseModel object)
Create a new object on this Telepat channel
|
java.util.HashMap<java.lang.String,java.lang.Object> |
Channel.getCreateRequestBody(TelepatBaseModel object) |
java.util.HashMap<java.lang.String,java.lang.Object> |
Channel.getDeleteRequestBody(TelepatBaseModel object) |
void |
OnChannelEventListener.onObjectAdded(TelepatBaseModel toAdd)
Fired when an object was added to the channel (by a 3rd party device, locally initiated adds
are fired through
onObjectCreateSuccess |
void |
OnChannelEventListener.onObjectCreateSuccess(TelepatBaseModel toAdd)
Fired when an object was created successfully.
|
void |
OnChannelEventListener.onObjectModified(TelepatBaseModel target,
java.lang.String propertyName,
java.lang.String newValue)
Fired when an object was updated
|
void |
OnChannelEventListener.onObjectRemoved(TelepatBaseModel toRemove,
int objectId)
Fired when an object was deleted
|
void |
Channel.remove(TelepatBaseModel object)
Deletes an object from this Telepat channel
|