Search Results for

    Show / Hide Table of Contents

    Class RolesController

    Inheritance
    object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<IRole>
    BaseGridController<IRole>
    RolesController
    Implements
    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<IRole>
    ICopyGridItemImplementor<IRole>
    IGrid
    IDeleteGridItemImplementor<IRole>
    ISearchController
    IModelViewController
    Inherited Members
    BaseGridController<IRole>.LoadExtendedItem(Type, object)
    BaseGridController<IRole>.GetGridSourceItems()
    BaseGridController<IRole>.LoadExtendedData(IEnumerable<IRole>)
    BaseGridController<IRole>.ConvertParameterItemsFilterToItems(IEnumerable<IBaseEntity>)
    BaseGridController<IRole>.GetInternalDescriptor()
    BaseGridController<IRole>.GetCurrentQuery()
    BaseGridController<IRole>.GetQueryForExcelResults()
    BaseGridController<IRole>.GetCreationQuery()
    BaseGridController<IRole>.AddParameterIDFilterToQuery(QueryableExecuter<IRole>, IEnumerable<Guid>)
    BaseGridController<IRole>.AddParameterFilterToQuery(QueryableExecuter<IRole>, QueryableFilter)
    BaseGridController<IRole>.GetOpenGridCommand()
    BaseGridController<IRole>.GetCopyGridCommand()
    BaseGridController<IRole>.OnOpenRowItem(IRole)
    BaseGridController<IRole>.ProcessCustomCommandResult(object)
    BaseGridController<IRole>.AllowIDFilter
    BaseGridController<IRole>.NewItemHelper
    BaseGridController<IRole>.CopyItemHelper
    BaseGridController<IRole>.AllowOpenCommand
    BaseGridController<IRole>.AllowNewCommand
    BaseGridController<IRole>.AllowCopyCommand
    BaseGridController<IRole>.AllowDeleteCommand
    BaseGridController<IRole>.OpenInSameContext
    BaseGridController<IRole>.HasGlobalFilter
    BaseGridControllerAny<IRole>.CanDelete(IRole)
    BaseGridControllerAny<IRole>.Clear()
    BaseGridControllerAny<IRole>.CloseController()
    BaseGridControllerAny<IRole>.Redisplay()
    BaseGridControllerAny<IRole>.GetGridController(IBaseGrid<IRole>)
    BaseGridControllerAny<IRole>.CanEditRowItem(IRole)
    BaseGridControllerAny<IRole>.CanEditRowItem(IRole, short)
    BaseGridControllerAny<IRole>.OnTrackedItemChanged(object, string)
    BaseGridControllerAny<IRole>.GetGridSourceItems(IEnumerable<IRole>, QueryableExecuterApplyType)
    BaseGridControllerAny<IRole>.AlterLoadedItems(IEnumerable<IRole>)
    BaseGridControllerAny<IRole>.InitDisplay()
    BaseGridControllerAny<IRole>.ResetColumnsAndGroups(bool)
    BaseGridControllerAny<IRole>.DisplayUI()
    BaseGridControllerAny<IRole>.GetItemToReselect(object)
    BaseGridControllerAny<IRole>.LoadAdditionalColumns()
    BaseGridControllerAny<IRole>.Columns()
    BaseGridControllerAny<IRole>.AddCol(short, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<IRole>.PivotColumns(short)
    BaseGridControllerAny<IRole>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<IRole>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<IRole>.SetTotalCount(int)
    BaseGridControllerAny<IRole>.SetPageIndex(int)
    BaseGridControllerAny<IRole>.TrackResults(IEnumerable<IRole>)
    BaseGridControllerAny<IRole>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<IRole>.UpdateColumnFromName(string)
    BaseGridControllerAny<IRole>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<IRole>.IsZeroColumnColumnVisible(string)
    BaseGridControllerAny<IRole>.ToggleZeroColumns()
    BaseGridControllerAny<IRole>.UpdateAllZeroColumns()
    BaseGridControllerAny<IRole>.UpdateTransferColumnStatus()
    BaseGridControllerAny<IRole>.OnSelectedItemsChanged(IEnumerable<IRole>)
    BaseGridControllerAny<IRole>.GetStandardExtraColumns(string)
    BaseGridControllerAny<IRole>.ReApply()
    BaseGridControllerAny<IRole>.InitCommands(IList<ViewCommand>)
    BaseGridControllerAny<IRole>.GetPublicToggleCommand()
    BaseGridControllerAny<IRole>.GetNewGridCommand()
    BaseGridControllerAny<IRole>.GetDeleteCommand()
    BaseGridControllerAny<IRole>.DeleteCommandIsQuickAccess()
    BaseGridControllerAny<IRole>.GetUpCommand()
    BaseGridControllerAny<IRole>.GetDownCommand()
    BaseGridControllerAny<IRole>.MoveItemSequence(object, object)
    BaseGridControllerAny<IRole>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<IRole>.RemoveItems(IEnumerable<IRole>)
    BaseGridControllerAny<IRole>.AddItem(IRole)
    BaseGridControllerAny<IRole>.ToggleSearch(bool)
    BaseGridControllerAny<IRole>.CollectionType
    BaseGridControllerAny<IRole>.Descriptor
    BaseGridControllerAny<IRole>.ListenToChanges
    BaseGridControllerAny<IRole>.RowPreviewColumns
    BaseGridControllerAny<IRole>.GridView
    BaseGridControllerAny<IRole>.CurrentGridItems
    BaseGridControllerAny<IRole>.CurrentItems
    BaseGridControllerAny<IRole>.AutoSelectFirstRow
    BaseGridControllerAny<IRole>.AddStandardColumns
    BaseGridControllerAny<IRole>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<IRole>.DefaultRowCount
    BaseGridControllerAny<IRole>.DefaultOrOverridenRowCount
    BaseGridControllerAny<IRole>.UserOverridenPagingAmount
    BaseGridControllerAny<IRole>.PagerRequired
    BaseGridControllerAny<IRole>.TotalCount
    BaseGridControllerAny<IRole>.LimitPagesToTotal
    BaseGridControllerAny<IRole>.TotalPageCount
    BaseGridControllerAny<IRole>.Sortings
    BaseGridControllerAny<IRole>.Filters
    BaseGridControllerAny<IRole>.ShowCheckboxForMultiSelect
    BaseGridControllerAny<IRole>.TogglerZeroColumn
    BaseGridControllerAny<IRole>.TransferColToggler
    BaseGridControllerAny<IRole>.ItemRowColorProperty
    BaseGridControllerAny<IRole>.CanCreateNew
    BaseGridControllerAny<IRole>.SelectedItemForSubViews
    BaseGridControllerAny<IRole>.ItemCellDisableCell
    BaseGridControllerAny<IRole>.UpdateSubViewsWhenMultipleRowSelectionChanges
    BaseGridControllerAny<IRole>.ExcelExportCommand
    BaseGridControllerAny<IRole>.AllowColumnSelection
    BaseGridControllerAny<IRole>.AllowPublicToggleCommand
    BaseGridControllerAny<IRole>.AllowSearchCommand
    BaseGridControllerAny<IRole>.AllowPageSizeCommand
    BaseGridControllerAny<IRole>.AllowClearSearchSortFilter
    BaseGridControllerAny<IRole>.ShowGrouping
    BaseGridControllerAny<IRole>.ShowFrozenColumnsSplitter
    BaseGridControllerAny<IRole>.ShowVerticalGridLines
    BaseGridControllerAny<IRole>.CanUserSelect
    BaseGridControllerAny<IRole>.AllowXMLImportExport
    BaseGridControllerAny<IRole>.AllowMultipleSelect
    BaseGridControllerAny<IRole>.AllowExcelExport
    BaseGridControllerAny<IRole>.AllowSequencing
    BaseGridControllerAny<IRole>.OpenFromRelatedColumnName
    BaseGridControllerAny<IRole>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<IRole>.PreventDuplicateLookupIDs
    BaseGridControllerAny<IRole>.PopulateNewFromLookupRelationship
    BaseGridControllerAny<IRole>.SearchGroups
    BaseGridControllerAny<IRole>.SearchElements
    BaseGridController.ClearSearchSortFilter()
    BaseGridController.InitAsync()
    BaseGridController.AddCustomCommand(ICustomCommand)
    BaseGridController.ColumnGroups()
    BaseGridController.GetVisibleColumnNames()
    BaseGridController.AllPossibleSearchColumns()
    BaseGridController.SetOrdering(IEnumerable<QueryableSort>)
    BaseGridController.SetFilters(IEnumerable<QueryableFilter>)
    BaseGridController.SetSearch(string, IEnumerable<string>)
    BaseGridController.SetCreated(bool)
    BaseGridController.BulkUpdateMultipleSelectedItemsOnEdit
    BaseGridController.ComboItemsClear
    BaseGridController.DefaultColumnGroupIndexes
    BaseGridController.ExpandDefaultGroups
    BaseGridController.DefaultFrozenColumnCount
    BaseGridController.SearchColumns
    BaseGridController.Search
    BaseGridController.BaseGridView
    BaseGridController.Created
    BaseGridController.InternalFilter
    BaseGridController.IsSelected
    BaseGridController.ColumnSortings
    BaseGridController.ColumnFilters
    BaseGridController.CustomCommandParam
    BaseGridController.OnlyExportGrid
    BaseGridController.OnlyExportFromQuery
    BaseGridController.LoadPager
    BaseGridController.LoadOrOverridenPager
    BaseGridController.UserOverridenPagingVisible
    BaseGridController.CurrentPageIndex
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.GetNestedViews()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Controllers
    Assembly: LemonEdge.ClientEntities.dll
    Syntax
    public class RolesController : BaseGridController<IRole>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<IRole>, ICopyGridItemImplementor<IRole>, IGrid, IDeleteGridItemImplementor<IRole>, ISearchController, IModelViewController

    Constructors

    RolesController(IBaseGrid<IRole>)

    Declaration
    public RolesController(IBaseGrid<IRole> view)
    Parameters
    Type Name Description
    IBaseGrid<IRole> view

    Properties

    AutoOpenNewItemInTab

    Indicates when creating a new item in the grid that it should automatically be opened in a new tab as well

    The default is true if the type IRole is an entity that is not a IsStandingDataEntity

    Declaration
    public override bool AutoOpenNewItemInTab { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Administration.IRole>.AutoOpenNewItemInTab

    ContextHelpURL

    An optional associated url of a help file for the view this controller works with

    Declaration
    public override string ContextHelpURL { get; }
    Property Value
    Type Description
    string
    Overrides
    ModelViewController.ContextHelpURL

    DefaultSearchColumn

    The name of the column to use in the default search of text in the grid

    Declaration
    protected override string DefaultSearchColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    BaseGridController.DefaultSearchColumn

    Methods

    AlterQuery(QueryableExecuter<IRole>)

    Provides the inheriting controller an opportunity to modify the query used to load the data for this IBaseGrid<T>

    Default implementation does nothing unless the type IRole is an entity with a property with a SequenceStart, in which case it is ordered by that

    Declaration
    protected override QueryableExecuter<IRole> AlterQuery(QueryableExecuter<IRole> query)
    Parameters
    Type Name Description
    QueryableExecuter<IRole> query

    The query for this grid to always be altered before being executed

    Returns
    Type Description
    QueryableExecuter<IRole>

    The query to be used to execute results for this grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Administration.IRole>.AlterQuery(LemonEdge.Utils.QueryableExecuter<LemonEdge.API.Entities.Administration.IRole>)

    ColumnNames()

    A list of all the columns to be dynamically created in the IBaseGrid<T>

    This is used by the system to create the actual ControlDisplayInfo classes required from the Columns() property

    You can override this to provide a simple definition of each column (combined with AlterControlInfo(ControlDisplayInfo) for more detail), or you can just override Columns() and ignore this
    Declaration
    protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
    Returns
    Type Description
    IEnumerable<ControlDisplayInfoLight>

    A list of all the columns to be dynamically created in the IBaseGrid<T>

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Administration.IRole>.ColumnNames()

    UpdateNewItem(IRole)

    Provides an inheriting controller an opportunity to alter the newly created item by the grid before it is added to the IBaseGrid<T> itself

    By default this ensures the item has the next maximum sequence number if the item is an entity that has a property with a SequenceStart

    Declaration
    protected override Task UpdateNewItem(IRole item)
    Parameters
    Type Name Description
    IRole item

    The newly created item to be added to the grid

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Administration.IRole>.UpdateNewItem(LemonEdge.API.Entities.Administration.IRole)

    Implements

    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<T>
    ICopyGridItemImplementor<T>
    IGrid
    IDeleteGridItemImplementor<T>
    ISearchController
    IModelViewController

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.