discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.
CustomMenuControllerApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
Create Custom Menu (createCustomMenu)
The api is designed to create Custom Menu without configuration. Is not applicable for update. Security check is performed to verify that the user has 'WRITE' permission for the custom menu with specified id.
-
Delete custom menu (deleteCustomMenu)
Deletes the custom menu based on the provided Custom Menu Id. Referencing non-existing custom menu Id will cause an error. If the custom menu is assigned to the list of users or customers bad request is returned.To delete a custom menu that has assignee list set 'force' request param to true
-
Get end-user Custom Menu configuration (getCustomMenu)
Fetch the Custom Menu configuration object for the authorized user. The custom menu is configured in the white labeling parameters and has one of three user scopes:SYSTEM, TENANT, CUSTOMER and four assignee type: NO_ASSIGN, ALL, CUSTOMERS, USERS.There are three default (assignee type: ALL) menus configured on the system level for each scope and if no other menu is configured for user, system configuration of the corresponding scope will be applied.If a custom menu with assignee type ALL is configured on the tenant level, it overrides the menu configuration of the corresponding scope on the system level. If a custom menu with assignee type USER_GROUPS is configured on the tenant level, it overrides default tenant menu.If a custom menu with assignee type CUSTOMERS is configured on tenant level for specific customer, it will be applied to all customer users.If a custom menu with assignee type ALL is configured on the customer level, it overrides the menu assigned on tenant level.If a custom menu with assignee type USER_GROUPS is configured on the customer level, it overrides default customer menu.If a custom menu is assigned to specific user, it overrides all other configuration.
-
Get Custom Menu assignee list (getCustomMenuAssigneeList)
Fetch the list of Entity Info objects that represents users or customers, or empty list if custom menu is not assigned or has NO_ASSIGN/ALL assignee type. Security check is performed to verify that the user has 'READ' permission for the custom menu with specified id.
-
Get Custom Menu configuration by id (getCustomMenuConfig)
Fetch the Custom Menu configuration based on the provided Custom Menu Id. Security check is performed to verify that the user has 'READ' permission for the custom menu with specified id.
-
Get Custom Menu Info (getCustomMenuInfoById)
Fetch the Custom Menu Info object based on the provided Custom Menu Id. Security check is performed to verify that the user has 'READ' permission for the custom menu with specified id.
-
Get all custom menus configured at user level (getCustomMenuInfos)
Returns a page of custom menu info objects owned by the tenant or the customer of a current user, scope and assigneeType request parameters can be used to filter the result. Security check is performed to verify that the user has 'READ' permission for the white labeling resource.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
Update custom menu assignee list (updateCustomMenuAssigneeList)
The api designed to update the list of assignees or assignee type based on the provided Custom Menu Id. To change assignee type, put new assignee type in path parameter. Security check is performed to verify that the user has 'WRITE' permission for the custom menu with specified id.
-
Update Custom Menu configuration based on the provided Custom Menu Id (updateCustomMenuConfig)
Security check is performed to verify that the user has 'WRITE' permission for the custom menu with specified id.
-
Update Custom Menu name based on the provided Custom Menu Id (updateCustomMenuName)
Security check is performed to verify that the user has 'WRITE' permission for the custom menu with specified id.