Search Results for

    Show / Hide Table of Contents

    Class AllocationPathAllocationsController

    Inheritance
    object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<IPathInfo>
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>
    AllocationPathAllocationsController
    Implements
    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<IPathInfo>
    ICopyGridItemImplementor<IPathInfo>
    IGrid
    IDeleteGridItemImplementor<IPathInfo>
    ISearchController
    IModelViewController
    Inherited Members
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.GetGridController(IBaseGridRelatedCollection<IAllocationPath, IPathInfo>)
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.AlterQuery(QueryableExecuter<IPathInfo>)
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.AddRelationshipJoin(QueryableExecuter<IPathInfo>)
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.AddRelationshipJoinSingleItem(QueryableExecuter<IAllocationPath>)
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.UpdateNewItem(IPathInfo)
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.SingleItem
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.CollectionRelationshipColumnName
    BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<IPathInfo>.CanDelete(IPathInfo)
    BaseGridControllerAny<IPathInfo>.Clear()
    BaseGridControllerAny<IPathInfo>.CloseController()
    BaseGridControllerAny<IPathInfo>.Redisplay()
    BaseGridControllerAny<IPathInfo>.GetGridController(IBaseGrid<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.GetInternalDescriptor()
    BaseGridControllerAny<IPathInfo>.CanEditRowItem(IPathInfo)
    BaseGridControllerAny<IPathInfo>.CanEditRowItem(IPathInfo, short)
    BaseGridControllerAny<IPathInfo>.OnTrackedItemChanged(object, string)
    BaseGridControllerAny<IPathInfo>.GetGridSourceItems(IEnumerable<IPathInfo>, QueryableExecuterApplyType)
    BaseGridControllerAny<IPathInfo>.AlterLoadedItems(IEnumerable<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.LoadExtendedItem(Type, object)
    BaseGridControllerAny<IPathInfo>.InitDisplay()
    BaseGridControllerAny<IPathInfo>.ResetColumnsAndGroups(bool)
    BaseGridControllerAny<IPathInfo>.DisplayUI()
    BaseGridControllerAny<IPathInfo>.GetItemToReselect(object)
    BaseGridControllerAny<IPathInfo>.LoadAdditionalColumns()
    BaseGridControllerAny<IPathInfo>.AddCol(short, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<IPathInfo>.ColumnNames()
    BaseGridControllerAny<IPathInfo>.PivotColumns(short)
    BaseGridControllerAny<IPathInfo>.UpdateNewItem(IPathInfo)
    BaseGridControllerAny<IPathInfo>.AlterQuery(QueryableExecuter<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<IPathInfo>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<IPathInfo>.SetTotalCount(int)
    BaseGridControllerAny<IPathInfo>.SetPageIndex(int)
    BaseGridControllerAny<IPathInfo>.TrackResults(IEnumerable<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<IPathInfo>.UpdateColumnFromName(string)
    BaseGridControllerAny<IPathInfo>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<IPathInfo>.IsZeroColumnColumnVisible(string)
    BaseGridControllerAny<IPathInfo>.ToggleZeroColumns()
    BaseGridControllerAny<IPathInfo>.UpdateAllZeroColumns()
    BaseGridControllerAny<IPathInfo>.UpdateTransferColumnStatus()
    BaseGridControllerAny<IPathInfo>.OnSelectedItemsChanged(IEnumerable<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.GetStandardExtraColumns(string)
    BaseGridControllerAny<IPathInfo>.ReApply()
    BaseGridControllerAny<IPathInfo>.GetPublicToggleCommand()
    BaseGridControllerAny<IPathInfo>.GetOpenGridCommand()
    BaseGridControllerAny<IPathInfo>.GetNewGridCommand()
    BaseGridControllerAny<IPathInfo>.GetCopyGridCommand()
    BaseGridControllerAny<IPathInfo>.GetDeleteCommand()
    BaseGridControllerAny<IPathInfo>.DeleteCommandIsQuickAccess()
    BaseGridControllerAny<IPathInfo>.GetUpCommand()
    BaseGridControllerAny<IPathInfo>.GetDownCommand()
    BaseGridControllerAny<IPathInfo>.MoveItemSequence(object, object)
    BaseGridControllerAny<IPathInfo>.OnOpenRowItem(IPathInfo)
    BaseGridControllerAny<IPathInfo>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<IPathInfo>.RemoveItems(IEnumerable<IPathInfo>)
    BaseGridControllerAny<IPathInfo>.AddItem(IPathInfo)
    BaseGridControllerAny<IPathInfo>.ToggleSearch(bool)
    BaseGridControllerAny<IPathInfo>.CollectionType
    BaseGridControllerAny<IPathInfo>.Descriptor
    BaseGridControllerAny<IPathInfo>.ListenToChanges
    BaseGridControllerAny<IPathInfo>.RowPreviewColumns
    BaseGridControllerAny<IPathInfo>.GridView
    BaseGridControllerAny<IPathInfo>.CurrentGridItems
    BaseGridControllerAny<IPathInfo>.CurrentItems
    BaseGridControllerAny<IPathInfo>.AutoSelectFirstRow
    BaseGridControllerAny<IPathInfo>.AddStandardColumns
    BaseGridControllerAny<IPathInfo>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<IPathInfo>.DefaultRowCount
    BaseGridControllerAny<IPathInfo>.DefaultOrOverridenRowCount
    BaseGridControllerAny<IPathInfo>.UserOverridenPagingAmount
    BaseGridControllerAny<IPathInfo>.PagerRequired
    BaseGridControllerAny<IPathInfo>.TotalCount
    BaseGridControllerAny<IPathInfo>.LimitPagesToTotal
    BaseGridControllerAny<IPathInfo>.TotalPageCount
    BaseGridControllerAny<IPathInfo>.Sortings
    BaseGridControllerAny<IPathInfo>.Filters
    BaseGridControllerAny<IPathInfo>.ShowCheckboxForMultiSelect
    BaseGridControllerAny<IPathInfo>.TogglerZeroColumn
    BaseGridControllerAny<IPathInfo>.TransferColToggler
    BaseGridControllerAny<IPathInfo>.ItemRowColorProperty
    BaseGridControllerAny<IPathInfo>.CanCreateNew
    BaseGridControllerAny<IPathInfo>.SelectedItemForSubViews
    BaseGridControllerAny<IPathInfo>.ItemCellDisableCell
    BaseGridControllerAny<IPathInfo>.UpdateSubViewsWhenMultipleRowSelectionChanges
    BaseGridControllerAny<IPathInfo>.ExcelExportCommand
    BaseGridControllerAny<IPathInfo>.NewItemHelper
    BaseGridControllerAny<IPathInfo>.CopyItemHelper
    BaseGridControllerAny<IPathInfo>.AllowColumnSelection
    BaseGridControllerAny<IPathInfo>.AllowPublicToggleCommand
    BaseGridControllerAny<IPathInfo>.AllowSearchCommand
    BaseGridControllerAny<IPathInfo>.AllowPageSizeCommand
    BaseGridControllerAny<IPathInfo>.AllowClearSearchSortFilter
    BaseGridControllerAny<IPathInfo>.AllowDeleteCommand
    BaseGridControllerAny<IPathInfo>.ShowGrouping
    BaseGridControllerAny<IPathInfo>.ShowFrozenColumnsSplitter
    BaseGridControllerAny<IPathInfo>.ShowVerticalGridLines
    BaseGridControllerAny<IPathInfo>.CanUserSelect
    BaseGridControllerAny<IPathInfo>.AllowXMLImportExport
    BaseGridControllerAny<IPathInfo>.AllowMultipleSelect
    BaseGridControllerAny<IPathInfo>.AllowExcelExport
    BaseGridControllerAny<IPathInfo>.AllowSequencing
    BaseGridControllerAny<IPathInfo>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<IPathInfo>.PreventDuplicateLookupIDs
    BaseGridControllerAny<IPathInfo>.PopulateNewFromLookupRelationship
    BaseGridControllerAny<IPathInfo>.SearchGroups
    BaseGridControllerAny<IPathInfo>.SearchElements
    BaseGridController.ClearSearchSortFilter()
    BaseGridController.AddCustomCommand(ICustomCommand)
    BaseGridController.ProcessCustomCommandResult(object)
    BaseGridController.ColumnGroups()
    BaseGridController.GetQueryForExcelResults()
    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.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 AllocationPathAllocationsController : BaseGridRelatedAnyCollectionController<IAllocationPath, IPathInfo>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<IPathInfo>, ICopyGridItemImplementor<IPathInfo>, IGrid, IDeleteGridItemImplementor<IPathInfo>, ISearchController, IModelViewController

    Constructors

    AllocationPathAllocationsController(IBaseGridRelatedCollection<IAllocationPath, IPathInfo>)

    Declaration
    public AllocationPathAllocationsController(IBaseGridRelatedCollection<IAllocationPath, IPathInfo> view)
    Parameters
    Type Name Description
    IBaseGridRelatedCollection<IAllocationPath, IPathInfo> view

    Properties

    AllowCopyCommand

    Indicates the command to allow selected rows to be copied by the user is included in the InitCommands(IList<ViewCommand>)

    The default is false

    Declaration
    public override bool AllowCopyCommand { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.AllowCopyCommand

    AllowNewCommand

    Indicates the command to allow new items to be created by the user is included in the InitCommands(IList<ViewCommand>)

    The default is false if NewItemHelper is equal to null

    Declaration
    public override bool AllowNewCommand { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.AllowNewCommand

    AllowOpenCommand

    Indicates the command to allow selected rows to be opened by the user is included in the InitCommands(IList<ViewCommand>)

    The default is false

    Declaration
    public override bool AllowOpenCommand { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.AllowOpenCommand

    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 IPathInfo 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.FinancialServices.Transactions.IPathInfo>.AutoOpenNewItemInTab

    CollectionRelationshipColumnName

    This is the property on the IPathInfo entities that holds a relationship value that points to the SingleItem type

    This controller will automatically use that to filter the correct entities for the grid in AlterQuery(QueryableExecuter<TCollection>)

    Declaration
    public override string CollectionRelationshipColumnName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedAnyCollectionController<LemonEdge.API.Entities.FinancialServices.Transactions.IAllocationPath, LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.CollectionRelationshipColumnName

    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

    DefaultColumnGroupIndexes

    Groupings for columns to be grouped by and items have aggregation summaries of

    Declaration
    public override IEnumerable<int> DefaultColumnGroupIndexes { get; }
    Property Value
    Type Description
    IEnumerable<int>
    Overrides
    BaseGridController.DefaultColumnGroupIndexes

    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

    OpenFromRelatedColumnName

    Indicates when opening a selected item in the grid, that it should not open the item itself, but rather the item referred to by the value held against this property on the type

    The default value is null, indicating it should just open the item itself, but can be overridden by a derived controller to open other related items by default

    Declaration
    public override string OpenFromRelatedColumnName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.OpenFromRelatedColumnName

    Methods

    Columns()

    Provides a list of all the columns to be created against the IBaseGrid<T> by this control

    The default behaviour is to enumerate ColumnNames() and create the list automatically. You can also override AlterColumnInfo(ControlDisplayInfo) to provide more detail for specific columns

    Alternatively you can override this to explicitly define them
    Declaration
    public override IEnumerable<ControlDisplayInfo> Columns()
    Returns
    Type Description
    IEnumerable<ControlDisplayInfo>

    A list of all the columns to be created against the IBaseGrid<T> by this control

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.Columns()

    GetGridSourceItems()

    A function that must be implemented by inheriting classes that returns the list of items to be displayed against the grid given all active filters, sorting, searches, paging, etc

    Declaration
    public override Task<IEnumerable<IPathInfo>> GetGridSourceItems()
    Returns
    Type Description
    Task<IEnumerable<IPathInfo>>

    A list of items to be displayed against the grid given all active filters, sorting, searches, paging, etc

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.IPathInfo>.GetGridSourceItems()

    InitAsync()

    Provides the controller a chance to initialize any dependant data. Called once by the system after controller creation.

    Declaration
    public override Task InitAsync()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    BaseGridController.InitAsync()

    InitCommands(IList<ViewCommand>)

    Adds the following commands, if the associated AllowXXXCommand property returns true: A public toggle, multi-select row, open, column visiblitiy, transfer visible, search, view cancelled, view system, export, new, copy, move up/down, xml export, and delete commands

    Declaration
    protected override void InitCommands(IList<ViewCommand> commands)
    Parameters
    Type Name Description
    IList<ViewCommand> commands

    The initial set of commands for this view

    Overrides
    BaseGridControllerAny<IPathInfo>.InitCommands(IList<ViewCommand>)

    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.