public class ListDevicesBean
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListDevicesBean()
Instantiates a new list devices bean.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteDevice()
Delete device.
|
java.util.Collection<CommunicationType> |
getCommunicationsTypesCollection()
Gets the communications types collection.
|
CommunicationType |
getCommunicationType()
Gets the communication type.
|
java.lang.Integer |
getDeviceId()
Gets the device id.
|
java.util.Collection<DeviceJPA> |
getDevicesCollection()
Gets the devices collection.
|
void |
getDevicesList()
Gets the devices list.
|
void |
init()
Inits the.
|
java.lang.String |
onCancel(RowEditEvent event)
On cancel.
|
void |
onEdit(RowEditEvent event)
On edit.
|
void |
setCommunicationsTypesCollection(java.util.Collection<CommunicationType> communicationsTypesCollection)
Sets the communications types collection.
|
void |
setCommunicationType(CommunicationType communicationType)
Sets the communication type.
|
void |
setDeviceId(java.lang.Integer deviceId)
Sets the device id.
|
void |
setDevicesCollection(java.util.Collection<DeviceJPA> devicesCollection)
Sets the devices collection.
|
public java.util.Collection<DeviceJPA> getDevicesCollection()
public void setDevicesCollection(java.util.Collection<DeviceJPA> devicesCollection)
devicesCollection
- the new devices collectionpublic java.lang.Integer getDeviceId()
public void setDeviceId(java.lang.Integer deviceId)
deviceId
- the new device id@PostConstruct public void init()
public void getDevicesList()
public void deleteDevice()
public java.util.Collection<CommunicationType> getCommunicationsTypesCollection()
public void setCommunicationsTypesCollection(java.util.Collection<CommunicationType> communicationsTypesCollection)
communicationsTypesCollection
- the new communications types collectionpublic CommunicationType getCommunicationType()
public void setCommunicationType(CommunicationType communicationType)
communicationType
- the new communication typepublic void onEdit(RowEditEvent event)
event
- the eventpublic java.lang.String onCancel(RowEditEvent event)
event
- the event