Module

frontend/src/utils/sessionStorage/localSsotController/ssot

Methods

# inner getRobotId() → {String}

Retrieves the robotId of the currently opened robot from the session storage

View Source frontend/src/utils/sessionStorage/localSsotController/ssot.js, line 34

Currently saved robotId
String

# inner getRobotName() → {String}

Retrieves the robotName of the currently opened robot from the session storage

View Source frontend/src/utils/sessionStorage/localSsotController/ssot.js, line 41

Currently saved robotName
String

# inner initSsotSessionStorage(robotId)

Initializes the ssot in the session storage
Parameters:
Name Type Description
robotId String Id of the robot for which the ssot in the session storage will be initialized

View Source frontend/src/utils/sessionStorage/localSsotController/ssot.js, line 60

# inner setRobotMetadata(robotName, robotId)

Writes the robotId and the robotName of the currently opened robot into the session storage
Parameters:
Name Type Description
robotName String RobotName ot the currently opened robot
robotId String RobotId ot the currently opened robot

View Source frontend/src/utils/sessionStorage/localSsotController/ssot.js, line 49

# async inner upsert()

Sends three backend calls to upsert the ssot, the attribute objects and the parameter objects to the database. The objects are taken from the session storage, so no parameters are required.

View Source frontend/src/utils/sessionStorage/localSsotController/ssot.js, line 120