public interface IDeviceManagerView
| Modifier and Type | Method and Description |
|---|---|
void |
addDevice(DeviceUserAssociation association)
Add a association between a device and a user.
|
void |
addUser(IUser user)
Add a user.
|
void |
clear()
Clear the view.
|
Collection<DeviceUserAssociation> |
getDevices()
Get all device-user associations.
|
DeviceUserAssociation |
getSelectedDevice()
Get the currently selected device-user association.
|
IUser |
getSelectedUser()
Get the currently selected user.
|
void |
removeDevice()
Remove a device and the corresponding association.
|
void |
removeUser()
Remove a user
|
void |
updateDevice(Object value,
int column,
DeviceUserAssociation object)
Update a device-user association.
|
void addUser(IUser user)
user - void addDevice(DeviceUserAssociation association)
association - void removeDevice()
void removeUser()
Collection<DeviceUserAssociation> getDevices()
void updateDevice(Object value, int column, DeviceUserAssociation object)
value - The new value.column - The field that should be updated.object - The object that should be updatedDeviceUserAssociation getSelectedDevice()
IUser getSelectedUser()
void clear()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.