ServiceTranslator

ServiceTranslator

ServiceTranslator is responsible for creating ajax requests for the 'heliumFileManagerService'.

Constructor

new ServiceTranslator(ajax, service, translators)

Parameters:
Name Type Default Description
ajax
service heliumFileManagerService
translators

Methods

(static) cancelRequestTranslator(checkinObject) → {string}

Parameters:
Name Type Description
checkinObject
Returns:
Type
string

(static) checkinDoneRequestTranslator(checkinObject) → {string}

Parameters:
Name Type Description
checkinObject
Returns:
Type
string

(static) checkinOneStepDoneRequestTranslator(checkinObject) → {string}

Parameters:
Name Type Description
checkinObject
Returns:
Type
string

(static) checkinOneStepRequestTranslator(checkinObject) → {string}

Parameters:
Name Type Description
checkinObject
Returns:
Type
string

(static) checkinRequestTranslator(checkinObject) → {string}

Parameters:
Name Type Description
checkinObject
Returns:
Type
string

(static) getTranslators() → {Map.<any, any>}

Returns:
Type
Map.<any, any>

(static) getUiInput(checkinObject) → {Object}

Parameters:
Name Type Description
checkinObject
Returns:
Type
Object

getTranslator(serviceMethod) → {V}

Parameters:
Name Type Description
serviceMethod
Returns:
Type
V

request(serviceMethod, checkinObject) → {Object}

Parameters:
Name Type Description
serviceMethod
checkinObject
Returns:
Type
Object