Class ChannelInfo
java.lang.Object
com.elpical.jclaro.admin.ws.server.ChannelInfo
Class to hold general Channel Info.
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorChannelInfo(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, HashMap<String,String> theClaroChannelPreferences)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
Returns whether the Channel is active or on standbyvoid
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
void
setActive(boolean active)
Sets the Channel to active or standbyvoid
setBlockedFile(String blockedFile)
-
Constructor Details
-
ChannelInfo
public ChannelInfo()Empty constructor -
ChannelInfo
-
-
Method Details
-
isActive
public boolean isActive()Returns whether the Channel is active or on standby- Returns:
- Whether the Channel is active or on standby
-
setActive
public void setActive(boolean active)Sets the Channel to active or standby- Parameters:
active
- Active or standby
-
getBlockedFile
-
setBlockedFile
-
save
public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
-