Class: OutOfOffice

OutOfOffice

A Backbone model class for out of office settings. It allows users to update out of office settings on server.

new OutOfOffice()

Methods

getAllProcesses()

Fetches a list of all the processes. It triggers the processesFetched event.

getAvailableProcesses() → {Array}

Returns a list of available processes. Users can add a process exception for the processes present in this list.
Returns:
List of processes
Type
Array

getOutOfOfficeSettings()

Fetches out of office settings of the logged in user. It triggers the outOfOfficeSettingsFetched event.

saveOutOfOfficeSettings()

Saves out of office settings of the logged in user. It triggers the outOfOfficeSettingsSaved event.

saveUserSearchHistory(user)

Updates user search history.
Parameters:
Name Type Description
user Object Object containing user information.