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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
[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.
EnvironmentErrorModal Modal for when a user tries to delete a non-empty environment while the company's settings prohibit that.
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)
TreeReference Tree view where the ItemsTree are a part of.

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
LoadData Gets data about the CompanyId that we need to populate the page with.
(Overrides MtBaseComponentLoadData)
OnAfterRender Method invoked after each time the component has rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any ElementReference fields will be populated by the time this runs. This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated.
(Overrides MtBaseComponentOnAfterRender(Boolean))
OnInitialized Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
(Overrides ComponentBaseOnInitialized)

See Also