public interface DataSource
void deleteObservers()
void clear()
This will clear each data path
Connection getConnection()
ConnectionPath
ConnectionPath.getData()
,
Connection
Profile getProfile()
LivechatProfilePath
LivechatProfilePath.getData()
,
Profile
LinkedHashMap<String,Agent> getAgents()
LivechatAgentsPath
LivechatAgentsPath.getData()
,
Agent
Map<String,Department> getDepartments()
LivechatDepartmentsPath
LivechatDepartmentsPath.getData()
,
Department
Account getAccount()
LivechatAccountPath
LivechatAccountPath.getData()
,
Account
LinkedHashMap<String,ChatLog> getChatLog()
LivechatChatLogPath
LivechatChatLogPath.getData()
,
ChatLog
Forms getForms()
LivechatFormsPath
LivechatFormsPath.getData()
,
Forms
void addConnectionOberver(Observer observer)
ConnectionPath
Observer will be registered for broadcast updates on Connection
.
You can register ConnectionObserver
or Observer
.
observer
- to registervoid addProfileOberver(Observer observer)
LivechatProfilePath
Observer will be registered for broadcast updates on Profile
.
You can register ProfileObserver
or Observer
.
observer
- to registervoid addAgentsOberver(Observer observer)
LivechatAgentsPath
Observer will be registered for broadcast updates on Agent
.
You can register AgentsObserver
or Observer
.
observer
- to registervoid addDepartmentsOberver(Observer observer)
LivechatDepartmentsPath
Observer will be registered for broadcast updates on Department
.
You can register DepartmentsObserver
or Observer
.
observer
- to registervoid addAccountOberver(Observer observer)
LivechatAccountPath
Observer will be registered for broadcast updates on Account
.
You can register AccountObserver
or Observer
.
observer
- to registervoid addFormsOberver(Observer observer)
LivechatFormsPath
Observer will be registered for broadcast updates on Forms
.
You can register FormsObserver
or Observer
.
observer
- to registervoid addChatLogOberver(Observer observer)
LivechatChatLogPath
Observer will be registered for broadcast updates on ChatLog
.
You can register ChatLogObserver
or Observer
.
observer
- to registervoid deleteConnectionOberver(Observer observer)
ConnectionPath
observer
- to removevoid deleteProfileOberver(Observer observer)
LivechatProfilePath
observer
- to removevoid deleteAgentsOberver(Observer observer)
LivechatAgentsPath
observer
- to removevoid deleteAccountOberver(Observer observer)
LivechatAccountPath
observer
- to removevoid deleteDepartmentsOberver(Observer observer)
LivechatDepartmentsPath
observer
- to removevoid deleteChatLogOberver(Observer observer)
LivechatDepartmentsPath
observer
- to removevoid deleteFormsOberver(Observer observer)
LivechatFormsPath
observer
- to remove