CompanyOverview Class

Page overview of an CompanyDto, to be used by MobileTrack support users.
Based on the permissions the MobileTrack support user has, the user can manage the company's settings, environments, accounts, and Devices. (and delete/revert the deletion of these objects).
They can also delete the company itself, or revert its deletion, if they have the necessary permissions.
The user can also manage the company's logo, and manage the company's hierarchy.

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.CompanyOverviews
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
[RouteAttribute("/admin/company/{companyId:guid}/{environmentId:guid}")]
public class CompanyOverview : MtBaseComponent
Inheritance
Object    ComponentBase    MtBaseComponent    CompanyOverview

Constructors

CompanyOverviewInitializes a new instance of the CompanyOverview class

Properties

CloudEventsService Dependency injected CloudEventsService for sending events to the cloud services.
Container Container to hold the phone number while the user is editing it.
DeleteDialog Confirm dialog before the user deletes an object
Dialog Confirmation dialog used when the user wants to delete an environment, account, or Device.
FormOverlay Overlay for when we're submitting data to the event handler.
ItemOverviewTabs Tabs to display in the item overview, if an item is selected.
JsRuntime Dependency injected JS Runtime.
MfaTwilioService Injected Twilio service for MFA.
PreloadService Dependency injected PreloadService for showing and hiding the preload spinner
RequiredPermissionsForManage Lists the permissions the user needs to be able to manage the page/item
(Overrides MtBaseComponentRequiredPermissionsForManage)
RequiredPermissionsForView Lists the permissions the user needs to be able to view the page/item
(Overrides MtBaseComponentRequiredPermissionsForView)

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
LoadData Gets data about the CompanyId that we need to populate the page with.
(Overrides MtBaseComponentLoadData)
OnInitialized Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
(Overrides ComponentBaseOnInitialized)
SetItem Sets an item in the management tool for viewing/deletion.

See Also