com.arunta.base.settings
Class GeneralSettings

java.lang.Object
  extended by com.arunta.base.settings.GeneralSettings
All Implemented Interfaces:
java.io.Serializable

public class GeneralSettings
extends java.lang.Object
implements java.io.Serializable

Total Recall VR system General Settings.

A collection of system wide settings which control the operation of the system.

See Also:
Serialized Form

Constructor Summary
GeneralSettings()
           
GeneralSettings(GeneralSettings other)
           
GeneralSettings(LanguageType language, int maxRecordingLength, int minRecordingLength, int maxCallLifetime, int voxTimeout, java.lang.String adminPassword, java.lang.String password, boolean useRecordingPeriod, TimePeriod recordingPeriod, int recorderID, int modelType, java.util.Date nextFilterChange, boolean disableCompression)
          Creates an instance with the specified system wide settings.
 
Method Summary
 java.lang.String getAdminPassword()
           
 int getLanguageType()
           
 int getMaxCallLifetime()
           
 int getMaxRecordingLength()
           
 int getMinRecordingLength()
           
 int getModelType()
           
 java.util.Date getNextFilterChangeDate()
           
 java.lang.String getPassword()
           
 int getRecorderID()
           
 TimePeriod getRecordingPeriod()
           
 int getVoxTimeout()
           
 boolean isDisableCompression()
           
 boolean isUseRecordingPeriod()
           
 void resetPasswords()
           
 void setAdminPassword(java.lang.String adminPassword)
           
 void setDisableCompression(boolean disableCompression)
           
 void setLanguage(LanguageType language)
           
 void setLanguageType(int languageType)
           
 void setMaxCallLifetime(int maxCallLifetime)
           
 void setMaxRecordingLength(int maxRecordingLength)
           
 void setMinRecordingLength(int minRecordingLength)
           
 void setModelType(int modelType)
           
 void setNextFilterChangeDate(java.util.Date nextFilterChangeDate)
           
 void setPassword(java.lang.String password)
           
 void setRecorderID(int recorderID)
           
 void setRecordingPeriod(TimePeriod recordingPeriod)
           
 void setUseRecordingPeriod(boolean useRecordingPeriod)
           
 void setVoxTimeout(int voxTimeout)
           
 java.lang.String toString()
           
 LanguageType whatLanguage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralSettings

public GeneralSettings(LanguageType language,
                       int maxRecordingLength,
                       int minRecordingLength,
                       int maxCallLifetime,
                       int voxTimeout,
                       java.lang.String adminPassword,
                       java.lang.String password,
                       boolean useRecordingPeriod,
                       TimePeriod recordingPeriod,
                       int recorderID,
                       int modelType,
                       java.util.Date nextFilterChange,
                       boolean disableCompression)
Creates an instance with the specified system wide settings.

Parameters:
language - The language that will be used on system GUIs.
maxRecordingLength - The maximum recording length in seconds. The system will roll-over calls that are longer than this duration.
minRecordingLength - The minimum recording length in seconds. The system will automatically delete recordings of calls with duration that is less than the value of this parameter.
maxCallLifetime - The maximum life time of recordings in months. The system will remove recordings of calls that are older.
voxTimeout - The time, in seconds, that the system will keep recording after it has detected that there is no longer audio on the line being recorded. The system will end recording after this time.
adminPassword - The administrator PIN.
password - The user PIN.
useRecordingPeriod - Set this to true to enable recording during a specified period of each day.
recordingPeriod - If useRecordingPeriod is set to true, then this is the period during which the system will record calls.
recorderID - A unique system ID.
modelType - 0 for Total Recall VR Classic Desktop. 1 for Total Recall VR Classic Rack. 2 for Total Recall VR Max Desktop. 3 for Total Recall VR Max Rack. 4 for Total Recall VR Max Server.
nextFilterChange - The date when the air filter should be changed.
disableCompression - Set this to true to keep recordings in the line format (which is the audio format on the wire).

GeneralSettings

public GeneralSettings()

GeneralSettings

public GeneralSettings(GeneralSettings other)
Method Detail

whatLanguage

public LanguageType whatLanguage()

getMaxRecordingLength

public int getMaxRecordingLength()

getPassword

public java.lang.String getPassword()

getRecorderID

public int getRecorderID()

getRecordingPeriod

public TimePeriod getRecordingPeriod()

isUseRecordingPeriod

public boolean isUseRecordingPeriod()

getVoxTimeout

public int getVoxTimeout()

getAdminPassword

public java.lang.String getAdminPassword()

isDisableCompression

public boolean isDisableCompression()

setAdminPassword

public void setAdminPassword(java.lang.String adminPassword)

setLanguage

public void setLanguage(LanguageType language)

setLanguageType

public void setLanguageType(int languageType)

setMaxRecordingLength

public void setMaxRecordingLength(int maxRecordingLength)

setPassword

public void setPassword(java.lang.String password)

setRecorderID

public void setRecorderID(int recorderID)

setRecordingPeriod

public void setRecordingPeriod(TimePeriod recordingPeriod)

setUseRecordingPeriod

public void setUseRecordingPeriod(boolean useRecordingPeriod)

setVoxTimeout

public void setVoxTimeout(int voxTimeout)

getMinRecordingLength

public int getMinRecordingLength()

setMinRecordingLength

public void setMinRecordingLength(int minRecordingLength)

getLanguageType

public int getLanguageType()

resetPasswords

public void resetPasswords()

getModelType

public int getModelType()

setModelType

public void setModelType(int modelType)

getNextFilterChangeDate

public java.util.Date getNextFilterChangeDate()

setNextFilterChangeDate

public void setNextFilterChangeDate(java.util.Date nextFilterChangeDate)

getMaxCallLifetime

public int getMaxCallLifetime()

setMaxCallLifetime

public void setMaxCallLifetime(int maxCallLifetime)

setDisableCompression

public void setDisableCompression(boolean disableCompression)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.