fm.liveswitch.ChannelDeviceLayoutConfig Class Reference

Channel device layout configuration. More...

Public Member Functions

 ChannelDeviceLayoutConfig ()
 
String[] getExcludedClientIds ()
 Gets the client identifiers to exclude. More...
 
String[] getExcludedConnectionIds ()
 Gets the connection identifiers to exclude. More...
 
void setExcludedClientIds (String[] value)
 Sets the client identifiers to exclude. More...
 
void setExcludedConnectionIds (String[] value)
 Sets the connection identifiers to exclude. More...
 
String toJson ()
 Serializes this channel device layout configuration to JSON. More...
 
- Public Member Functions inherited from fm.liveswitch.LayoutConfig
fm.liveswitch.NullableInteger getPriority ()
 Gets the layout proirity. More...
 
String getZone ()
 Gets the layout zone. More...
 
 LayoutConfig ()
 
void setPriority (fm.liveswitch.NullableInteger value)
 Sets the layout proirity. More...
 
void setZone (String value)
 Sets the layout zone. More...
 

Static Public Member Functions

static fm.liveswitch.ChannelDeviceLayoutConfig fromJson (String channelDeviceLayoutConfigJson)
 Deserializes a channel device layout config from JSON. More...
 
static String toJson (fm.liveswitch.ChannelDeviceLayoutConfig channelDeviceLayoutConfig)
 Serializes a channel device layout config to JSON. More...
 

Protected Member Functions

void deserializeProperties (String key, String valueJson)
 Deserializes the properties. More...
 
void serializeProperties (java.util.HashMap< String, String > jsonObject)
 Serializes the properties. More...
 

Detailed Description

Channel device layout configuration.

Constructor & Destructor Documentation

◆ ChannelDeviceLayoutConfig()

fm.liveswitch.ChannelDeviceLayoutConfig.ChannelDeviceLayoutConfig ( )

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.ChannelDeviceLayoutConfig.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.LayoutConfig.

◆ fromJson()

static fm.liveswitch.ChannelDeviceLayoutConfig fm.liveswitch.ChannelDeviceLayoutConfig.fromJson ( String  channelDeviceLayoutConfigJson)
static

Deserializes a channel device layout config from JSON.

Parameters
channelDeviceLayoutConfigJsonThe channel device layout configuration as JSON.
Returns
The channel device layout configuration.

◆ getExcludedClientIds()

String [] fm.liveswitch.ChannelDeviceLayoutConfig.getExcludedClientIds ( )

Gets the client identifiers to exclude.

◆ getExcludedConnectionIds()

String [] fm.liveswitch.ChannelDeviceLayoutConfig.getExcludedConnectionIds ( )

Gets the connection identifiers to exclude.

◆ serializeProperties()

void fm.liveswitch.ChannelDeviceLayoutConfig.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.LayoutConfig.

◆ setExcludedClientIds()

void fm.liveswitch.ChannelDeviceLayoutConfig.setExcludedClientIds ( String[]  value)

Sets the client identifiers to exclude.

◆ setExcludedConnectionIds()

void fm.liveswitch.ChannelDeviceLayoutConfig.setExcludedConnectionIds ( String[]  value)

Sets the connection identifiers to exclude.

◆ toJson() [1/2]

String fm.liveswitch.ChannelDeviceLayoutConfig.toJson ( )

Serializes this channel device layout configuration to JSON.

Returns
The channel device layout configuration as JSON.

◆ toJson() [2/2]

static String fm.liveswitch.ChannelDeviceLayoutConfig.toJson ( fm.liveswitch.ChannelDeviceLayoutConfig  channelDeviceLayoutConfig)
static

Serializes a channel device layout config to JSON.

Parameters
channelDeviceLayoutConfigThe channel device layout configuration.
Returns
The channel device layout configuration as JSON.