Constructor and Description |
---|
DeviceService(BmContext context,
Container container,
java.lang.String userUid) |
Modifier and Type | Method and Description |
---|---|
ItemValue<Device> |
byIdentifier(java.lang.String identifier) |
void |
create(java.lang.String uid,
Device device) |
void |
delete(java.lang.String uid) |
void |
deleteAll() |
ItemValue<Device> |
getComplete(java.lang.String uid) |
ListResult<ItemValue<Device>> |
list() |
void |
setPartnership(java.lang.String uid) |
void |
unsetPartnership(java.lang.String uid) |
void |
unwipe(java.lang.String uid) |
void |
update(java.lang.String uid,
Device device) |
void |
updateLastSync(java.lang.String uid) |
void |
wipe(java.lang.String uid) |
public DeviceService(BmContext context, Container container, java.lang.String userUid) throws ServerFault
ServerFault
public void create(java.lang.String uid, Device device) throws ServerFault
create
in interface IDevice
ServerFault
public void update(java.lang.String uid, Device device) throws ServerFault
update
in interface IDevice
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface IDevice
ServerFault
public void deleteAll() throws ServerFault
deleteAll
in interface IDevice
ServerFault
public ItemValue<Device> getComplete(java.lang.String uid) throws ServerFault
getComplete
in interface IDevice
ServerFault
public ListResult<ItemValue<Device>> list() throws ServerFault
list
in interface IDevice
ServerFault
public void wipe(java.lang.String uid) throws ServerFault
wipe
in interface IDevice
ServerFault
public void unwipe(java.lang.String uid) throws ServerFault
unwipe
in interface IDevice
ServerFault
public void setPartnership(java.lang.String uid) throws ServerFault
setPartnership
in interface IDevice
ServerFault
public void unsetPartnership(java.lang.String uid) throws ServerFault
unsetPartnership
in interface IDevice
ServerFault
public void updateLastSync(java.lang.String uid) throws ServerFault
updateLastSync
in interface IDevice
ServerFault
public ItemValue<Device> byIdentifier(java.lang.String identifier) throws ServerFault
byIdentifier
in interface IDevice
ServerFault
Copyright © 2021. All Rights Reserved.