Show / Hide Table of Contents

Class OrganizationUnitsManagement

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
AbpIdentityProComponentBase
OrganizationUnitsManagement
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
AbpComponentBase.LazyGetRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetService<TService>(ref TService)
AbpComponentBase.LazyGetService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedService<TRef>(Type, ref TRef)
AbpComponentBase.CreateLocalizer()
AbpComponentBase.HandleErrorAsync(Exception)
AbpComponentBase.StringLocalizerFactory
AbpComponentBase.L
AbpComponentBase.LocalizationResource
AbpComponentBase.Logger
AbpComponentBase.LoggerFactory
AbpComponentBase.AuthorizationService
AbpComponentBase.CurrentUser
AbpComponentBase.CurrentTenant
AbpComponentBase.Message
AbpComponentBase.Notify
AbpComponentBase.UserExceptionInformer
AbpComponentBase.AlertManager
AbpComponentBase.Clock
AbpComponentBase.Alerts
AbpComponentBase.ObjectMapper
AbpComponentBase.ObjectMapperContext
AbpComponentBase.NonScopedServices
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.OnInitialized()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity.Pro.Blazor.Pages.Identity
Assembly: Volo.Abp.Identity.Pro.Blazor.dll
Syntax
[Route("/identity/organization-units")]
public class OrganizationUnitsManagement : AbpIdentityProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

OrganizationUnitsManagement(IOrganizationUnitAppService)

Declaration
public OrganizationUnitsManagement(IOrganizationUnitAppService organizationUnitAppService)
Parameters
Type Name Description
IOrganizationUnitAppService organizationUnitAppService

Fields

AddMemberModal

Declaration
protected Modal AddMemberModal
Field Value
Type Description
Modal

AddMemberTableColumns

Declaration
protected List<DataGridColumn<IdentityUserDto>> AddMemberTableColumns
Field Value
Type Description
List<DataGridColumn<IdentityUserDto>>

AddRoleModal

Declaration
protected Modal AddRoleModal
Field Value
Type Description
Modal

AddRoleTableColumns

Declaration
protected List<DataGridColumn<IdentityRoleDto>> AddRoleTableColumns
Field Value
Type Description
List<DataGridColumn<IdentityRoleDto>>

CreateOuModal

Declaration
protected Modal CreateOuModal
Field Value
Type Description
Modal

CreateOuModel

Declaration
protected OrganizationUnitCreateDto CreateOuModel
Field Value
Type Description
OrganizationUnitCreateDto

CreateOuValidationsRef

Declaration
protected Validations CreateOuValidationsRef
Field Value
Type Description
Validations

DeleteModal

Declaration
protected Modal DeleteModal
Field Value
Type Description
Modal

EditOuModal

Declaration
protected Modal EditOuModal
Field Value
Type Description
Modal

EditOuModel

Declaration
protected OrganizationUnitUpdateDto EditOuModel
Field Value
Type Description
OrganizationUnitUpdateDto

EditOuValidationsRef

Declaration
protected Validations EditOuValidationsRef
Field Value
Type Description
Validations

HasManageOuPermission

Declaration
protected bool HasManageOuPermission
Field Value
Type Description
bool

HasManageRolesPermission

Declaration
protected bool HasManageRolesPermission
Field Value
Type Description
bool

HasManageUsersPermission

Declaration
protected bool HasManageUsersPermission
Field Value
Type Description
bool

MovableOuTree

Declaration
protected List<OrganizationUnitTreeView> MovableOuTree
Field Value
Type Description
List<OrganizationUnitTreeView>

MoveAllUsersModal

Declaration
protected Modal MoveAllUsersModal
Field Value
Type Description
Modal

MoveOuModal

Declaration
protected Modal MoveOuModal
Field Value
Type Description
Modal

MovingOu

Declaration
protected OrganizationUnitTreeView MovingOu
Field Value
Type Description
OrganizationUnitTreeView

NewParentOu

Declaration
protected OrganizationUnitTreeView NewParentOu
Field Value
Type Description
OrganizationUnitTreeView

OrganizationUnitAppService

Declaration
protected readonly IOrganizationUnitAppService OrganizationUnitAppService
Field Value
Type Description
IOrganizationUnitAppService

OrganizationUnits

Declaration
protected List<OrganizationUnitTreeView> OrganizationUnits
Field Value
Type Description
List<OrganizationUnitTreeView>

OuAssignableRoles

Declaration
protected IReadOnlyList<IdentityRoleDto> OuAssignableRoles
Field Value
Type Description
IReadOnlyList<IdentityRoleDto>

OuAssignableRolesFilter

Declaration
protected GetAvailableRolesInput OuAssignableRolesFilter
Field Value
Type Description
GetAvailableRolesInput

OuAssignableUsers

Declaration
protected IReadOnlyList<IdentityUserDto> OuAssignableUsers
Field Value
Type Description
IReadOnlyList<IdentityUserDto>

OuAssignableUsersFilter

Declaration
protected GetAvailableUsersInput OuAssignableUsersFilter
Field Value
Type Description
GetAvailableUsersInput

PageSize

Declaration
protected int PageSize
Field Value
Type Description
int

SelectedAssignableOuRoles

Declaration
protected List<IdentityRoleDto> SelectedAssignableOuRoles
Field Value
Type Description
List<IdentityRoleDto>

SelectedAssignableOuUsers

Declaration
protected List<IdentityUserDto> SelectedAssignableOuUsers
Field Value
Type Description
List<IdentityUserDto>

SelectedOrganizationUnit

Declaration
protected OrganizationUnitTreeView SelectedOrganizationUnit
Field Value
Type Description
OrganizationUnitTreeView

SelectedOuRoles

Declaration
protected IReadOnlyList<IdentityRoleDto> SelectedOuRoles
Field Value
Type Description
IReadOnlyList<IdentityRoleDto>

SelectedOuRolesCurrentPage

Declaration
protected int SelectedOuRolesCurrentPage
Field Value
Type Description
int

SelectedOuRolesFilter

Declaration
protected PagedAndSortedResultRequestDto SelectedOuRolesFilter
Field Value
Type Description
PagedAndSortedResultRequestDto

SelectedOuUsers

Declaration
protected IReadOnlyList<IdentityUserDto> SelectedOuUsers
Field Value
Type Description
IReadOnlyList<IdentityUserDto>

SelectedOuUsersCurrentPage

Declaration
protected int SelectedOuUsersCurrentPage
Field Value
Type Description
int

SelectedOuUsersFilter

Declaration
protected GetIdentityUsersInput SelectedOuUsersFilter
Field Value
Type Description
GetIdentityUsersInput

TotalAssignableRolesCount

Declaration
protected int TotalAssignableRolesCount
Field Value
Type Description
int

TotalAssignableUsersCount

Declaration
protected int TotalAssignableUsersCount
Field Value
Type Description
int

TotalRolesCount

Declaration
protected int TotalRolesCount
Field Value
Type Description
int

TotalUsersCount

Declaration
protected int TotalUsersCount
Field Value
Type Description
int

Properties

BreadcrumbItems

Declaration
protected List<BreadcrumbItem> BreadcrumbItems { get; }
Property Value
Type Description
List<BreadcrumbItem>

DeletingOu

Declaration
protected OrganizationUnitsManagement.DeleteOuViewModel DeletingOu { get; set; }
Property Value
Type Description
OrganizationUnitsManagement.DeleteOuViewModel

Dropdowns

Declaration
protected Dictionary<Guid, Dropdown> Dropdowns { get; }
Property Value
Type Description
Dictionary<Guid, Dropdown>

EntityActions

Declaration
protected EntityActionDictionary EntityActions { get; }
Property Value
Type Description
EntityActionDictionary

IsAddMemberModalPresended

Declaration
protected bool IsAddMemberModalPresended { get; set; }
Property Value
Type Description
bool

IsAddRoleModalPresended

Declaration
protected bool IsAddRoleModalPresended { get; set; }
Property Value
Type Description
bool

MoveAllUsersModel

Declaration
protected OrganizationUnitsManagement.MoveAllUsersViewModel MoveAllUsersModel { get; set; }
Property Value
Type Description
OrganizationUnitsManagement.MoveAllUsersViewModel

OuDetailSelectedTab

Declaration
protected string OuDetailSelectedTab { get; set; }
Property Value
Type Description
string

RoleManagementTableColumns

Declaration
protected List<TableColumn> RoleManagementTableColumns { get; }
Property Value
Type Description
List<TableColumn>

TableColumns

Declaration
protected TableColumnDictionary TableColumns { get; }
Property Value
Type Description
TableColumnDictionary

Toolbar

Declaration
protected PageToolbar Toolbar { get; }
Property Value
Type Description
PageToolbar

UserManagementTableColumns

Declaration
protected List<TableColumn> UserManagementTableColumns { get; }
Property Value
Type Description
List<TableColumn>

Methods

AddSelectedMembersToOuAsync()

Declaration
protected virtual Task AddSelectedMembersToOuAsync()
Returns
Type Description
Task

AddSelectedRolesToOuAsync()

Declaration
protected virtual Task AddSelectedRolesToOuAsync()
Returns
Type Description
Task

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

CloseAddMemberModalAsync()

Declaration
protected virtual Task CloseAddMemberModalAsync()
Returns
Type Description
Task

CloseAddRoleModalAsync()

Declaration
protected virtual Task CloseAddRoleModalAsync()
Returns
Type Description
Task

CloseCreateOuModalAsync()

Declaration
protected virtual Task CloseCreateOuModalAsync()
Returns
Type Description
Task

CloseDeleteModalAsync()

Declaration
protected virtual Task CloseDeleteModalAsync()
Returns
Type Description
Task

CloseEditOuModalAsync()

Declaration
protected virtual Task CloseEditOuModalAsync()
Returns
Type Description
Task

CloseMoveAllUsersModalAsync()

Declaration
protected virtual Task CloseMoveAllUsersModalAsync()
Returns
Type Description
Task

CloseMoveOuModal()

Declaration
protected virtual Task CloseMoveOuModal()
Returns
Type Description
Task

ClosingAddMemberModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingAddMemberModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingAddRoleModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingAddRoleModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingCreateOuModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingCreateOuModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingDeleteModalAsync(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingDeleteModalAsync(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingEditOuModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingEditOuModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingMoveAllUsersModalAsync(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingMoveAllUsersModalAsync(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingMoveOuModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingMoveOuModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

CreateOuAsync()

Declaration
protected virtual Task CreateOuAsync()
Returns
Type Description
Task

DeleteOrganizationUnitAsync()

Declaration
protected virtual Task DeleteOrganizationUnitAsync()
Returns
Type Description
Task

GetOrganizationUnitsAsync()

Declaration
protected virtual Task GetOrganizationUnitsAsync()
Returns
Type Description
Task

GetOuAssignableRolesAsync()

Declaration
protected virtual Task GetOuAssignableRolesAsync()
Returns
Type Description
Task

GetOuAssignableUsersAsync()

Declaration
protected virtual Task GetOuAssignableUsersAsync()
Returns
Type Description
Task

GetParentNode(List<OrganizationUnitTreeView>, OrganizationUnitTreeView)

Declaration
protected virtual OrganizationUnitTreeView GetParentNode(List<OrganizationUnitTreeView> collection, OrganizationUnitTreeView childNode)
Parameters
Type Name Description
List<OrganizationUnitTreeView> collection
OrganizationUnitTreeView childNode
Returns
Type Description
OrganizationUnitTreeView

GetSelectedOuRolesAsync()

Declaration
protected virtual Task GetSelectedOuRolesAsync()
Returns
Type Description
Task

GetSelectedOuUsersAsync()

Declaration
protected virtual Task GetSelectedOuUsersAsync()
Returns
Type Description
Task

MovableOuSelected(OrganizationUnitTreeView)

Declaration
protected virtual Task MovableOuSelected(OrganizationUnitTreeView node)
Parameters
Type Name Description
OrganizationUnitTreeView node
Returns
Type Description
Task

MoveAllUsersAsync()

Declaration
protected virtual Task MoveAllUsersAsync()
Returns
Type Description
Task

MoveOrganizationUnitAsync()

Declaration
protected virtual Task MoveOrganizationUnitAsync()
Returns
Type Description
Task

OnAfterRenderAsync(bool)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task
Overrides
ComponentBase.OnAfterRenderAsync(bool)

OnAssignCheckedChanged()

Declaration
protected virtual void OnAssignCheckedChanged()

OnAssignToOrganizationUnitSelectedValueChanged(Guid?)

Declaration
protected virtual void OnAssignToOrganizationUnitSelectedValueChanged(Guid? id)
Parameters
Type Name Description
Guid? id

OnAssignableRoleDataGridReadAsync(DataGridReadDataEventArgs<IdentityRoleDto>)

Declaration
protected virtual Task OnAssignableRoleDataGridReadAsync(DataGridReadDataEventArgs<IdentityRoleDto> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<IdentityRoleDto> e
Returns
Type Description
Task

OnAssignableUserDataGridReadAsync(DataGridReadDataEventArgs<IdentityUserDto>)

Declaration
protected virtual Task OnAssignableUserDataGridReadAsync(DataGridReadDataEventArgs<IdentityUserDto> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<IdentityUserDto> e
Returns
Type Description
Task

OnIdentityRoleDataGridReadAsync(DataGridReadDataEventArgs<IdentityRoleDto>)

Declaration
protected virtual Task OnIdentityRoleDataGridReadAsync(DataGridReadDataEventArgs<IdentityRoleDto> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<IdentityRoleDto> e
Returns
Type Description
Task

OnIdentityUserDataGridReadAsync(DataGridReadDataEventArgs<IdentityUserDto>)

Declaration
protected virtual Task OnIdentityUserDataGridReadAsync(DataGridReadDataEventArgs<IdentityUserDto> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<IdentityUserDto> e
Returns
Type Description
Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

OnSelectedOUNodeChangedAsync(OrganizationUnitTreeView)

Declaration
protected virtual Task OnSelectedOUNodeChangedAsync(OrganizationUnitTreeView node)
Parameters
Type Name Description
OrganizationUnitTreeView node
Returns
Type Description
Task

OpenAddMemberModalAsync()

Declaration
protected virtual Task OpenAddMemberModalAsync()
Returns
Type Description
Task

OpenAddRoleModalAsync()

Declaration
protected virtual Task OpenAddRoleModalAsync()
Returns
Type Description
Task

OpenCreateOuModalAsync(OrganizationUnitTreeView)

Declaration
protected virtual Task OpenCreateOuModalAsync(OrganizationUnitTreeView node = null)
Parameters
Type Name Description
OrganizationUnitTreeView node
Returns
Type Description
Task

OpenDeleteModalAsync(OrganizationUnitTreeView)

Declaration
protected virtual Task OpenDeleteModalAsync(OrganizationUnitTreeView data)
Parameters
Type Name Description
OrganizationUnitTreeView data
Returns
Type Description
Task

OpenEditOuModalAsync(OrganizationUnitTreeView)

Declaration
protected virtual Task OpenEditOuModalAsync(OrganizationUnitTreeView node)
Parameters
Type Name Description
OrganizationUnitTreeView node
Returns
Type Description
Task

OpenMoveAllUsersModalAsync(OrganizationUnitTreeView)

Declaration
protected virtual Task OpenMoveAllUsersModalAsync(OrganizationUnitTreeView organizationUnitTreeView)
Parameters
Type Name Description
OrganizationUnitTreeView organizationUnitTreeView
Returns
Type Description
Task

OpenMoveOuModal(OrganizationUnitTreeView)

Declaration
protected virtual Task OpenMoveOuModal(OrganizationUnitTreeView node)
Parameters
Type Name Description
OrganizationUnitTreeView node
Returns
Type Description
Task

RemoveRoleAsync(IdentityRoleDto)

Declaration
protected virtual Task RemoveRoleAsync(IdentityRoleDto roleDto)
Parameters
Type Name Description
IdentityRoleDto roleDto
Returns
Type Description
Task

RemoveUserAsync(IdentityUserDto)

Declaration
protected virtual Task RemoveUserAsync(IdentityUserDto userDto)
Parameters
Type Name Description
IdentityUserDto userDto
Returns
Type Description
Task

SearchSelectedOuUsersAsync()

Declaration
protected virtual Task SearchSelectedOuUsersAsync()
Returns
Type Description
Task

SetBreadcrumbItemsAsync()

Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
Type Description
ValueTask

SetEntityActionsAsync()

Declaration
protected virtual ValueTask SetEntityActionsAsync()
Returns
Type Description
ValueTask

SetMemberAndRoleTableColumnsAsync()

Declaration
protected virtual ValueTask SetMemberAndRoleTableColumnsAsync()
Returns
Type Description
ValueTask

SetPermissionsAsync()

Declaration
protected virtual Task SetPermissionsAsync()
Returns
Type Description
Task

SetRoleManagementEntityActionsAsync()

Declaration
protected virtual ValueTask SetRoleManagementEntityActionsAsync()
Returns
Type Description
ValueTask

SetRoleManagementTableColumnsAsync()

Declaration
protected virtual ValueTask SetRoleManagementTableColumnsAsync()
Returns
Type Description
ValueTask

SetTableColumnsAsync()

Declaration
protected virtual ValueTask SetTableColumnsAsync()
Returns
Type Description
ValueTask

SetToolbarItemsAsync()

Declaration
protected virtual ValueTask SetToolbarItemsAsync()
Returns
Type Description
ValueTask

SetUserManagementEntityActionsAsync()

Declaration
protected virtual ValueTask SetUserManagementEntityActionsAsync()
Returns
Type Description
ValueTask

SetUserManagementTableColumnsAsync()

Declaration
protected virtual ValueTask SetUserManagementTableColumnsAsync()
Returns
Type Description
ValueTask

UpdateOrganizationUnitAsync()

Declaration
protected virtual Task UpdateOrganizationUnitAsync()
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform