Search Results for

    Show / Hide Table of Contents

    Class TransactionValuesAllocatedController

    Inheritance
    object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<ITransactionAllocated>
    BaseGridController<ITransactionAllocated>
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>
    TransactionValuesAllocatedController
    Implements
    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<ITransactionAllocated>
    ICopyGridItemImplementor<ITransactionAllocated>
    IGrid
    IDeleteGridItemImplementor<ITransactionAllocated>
    ISearchController
    ILockableController
    IModelViewController
    Inherited Members
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.InitCommands(IList<ViewCommand>)
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.GetNewEntityFromLookupCommand()
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.AlterQuery(QueryableExecuter<ITransactionAllocated>)
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.AddRelationshipJoin(QueryableExecuter<ITransactionAllocated>)
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.UpdateNewItem(ITransactionAllocated)
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.SingleItem
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.AllowIDFilter
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.CollectionRelationshipColumnName
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.PopulateNewFromLookupColumnName
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.AllowNewEntityFromLookupColumn
    BaseGridController<ITransactionAllocated>.LoadExtendedItem(Type, object)
    BaseGridController<ITransactionAllocated>.LoadExtendedData(IEnumerable<ITransactionAllocated>)
    BaseGridController<ITransactionAllocated>.ConvertParameterItemsFilterToItems(IEnumerable<IBaseEntity>)
    BaseGridController<ITransactionAllocated>.GetInternalDescriptor()
    BaseGridController<ITransactionAllocated>.GetCurrentQuery()
    BaseGridController<ITransactionAllocated>.GetQueryForExcelResults()
    BaseGridController<ITransactionAllocated>.GetCreationQuery()
    BaseGridController<ITransactionAllocated>.AddParameterIDFilterToQuery(QueryableExecuter<ITransactionAllocated>, IEnumerable<Guid>)
    BaseGridController<ITransactionAllocated>.AddParameterFilterToQuery(QueryableExecuter<ITransactionAllocated>, QueryableFilter)
    BaseGridController<ITransactionAllocated>.GetOpenGridCommand()
    BaseGridController<ITransactionAllocated>.GetCopyGridCommand()
    BaseGridController<ITransactionAllocated>.OnOpenRowItem(ITransactionAllocated)
    BaseGridController<ITransactionAllocated>.ProcessCustomCommandResult(object)
    BaseGridController<ITransactionAllocated>.AllowIDFilter
    BaseGridController<ITransactionAllocated>.NewItemHelper
    BaseGridController<ITransactionAllocated>.CopyItemHelper
    BaseGridController<ITransactionAllocated>.AllowNewCommand
    BaseGridController<ITransactionAllocated>.AllowDeleteCommand
    BaseGridController<ITransactionAllocated>.OpenInSameContext
    BaseGridController<ITransactionAllocated>.HasGlobalFilter
    BaseGridControllerAny<ITransactionAllocated>.CloseController()
    BaseGridControllerAny<ITransactionAllocated>.Redisplay()
    BaseGridControllerAny<ITransactionAllocated>.GetGridController(IBaseGrid<ITransactionAllocated>)
    BaseGridControllerAny<ITransactionAllocated>.CanEditRowItem(ITransactionAllocated)
    BaseGridControllerAny<ITransactionAllocated>.CanEditRowItem(ITransactionAllocated, short)
    BaseGridControllerAny<ITransactionAllocated>.OnTrackedItemChanged(object, string)
    BaseGridControllerAny<ITransactionAllocated>.GetGridSourceItems(IEnumerable<ITransactionAllocated>, QueryableExecuterApplyType)
    BaseGridControllerAny<ITransactionAllocated>.AlterLoadedItems(IEnumerable<ITransactionAllocated>)
    BaseGridControllerAny<ITransactionAllocated>.InitDisplay()
    BaseGridControllerAny<ITransactionAllocated>.ResetColumnsAndGroups(bool)
    BaseGridControllerAny<ITransactionAllocated>.GetItemToReselect(object)
    BaseGridControllerAny<ITransactionAllocated>.LoadAdditionalColumns()
    BaseGridControllerAny<ITransactionAllocated>.AddCol(short, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<ITransactionAllocated>.ColumnNames()
    BaseGridControllerAny<ITransactionAllocated>.PivotColumns(short)
    BaseGridControllerAny<ITransactionAllocated>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<ITransactionAllocated>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<ITransactionAllocated>.SetTotalCount(int)
    BaseGridControllerAny<ITransactionAllocated>.SetPageIndex(int)
    BaseGridControllerAny<ITransactionAllocated>.TrackResults(IEnumerable<ITransactionAllocated>)
    BaseGridControllerAny<ITransactionAllocated>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<ITransactionAllocated>.UpdateColumnFromName(string)
    BaseGridControllerAny<ITransactionAllocated>.IsZeroColumnColumnVisible(string)
    BaseGridControllerAny<ITransactionAllocated>.ToggleZeroColumns()
    BaseGridControllerAny<ITransactionAllocated>.UpdateAllZeroColumns()
    BaseGridControllerAny<ITransactionAllocated>.UpdateTransferColumnStatus()
    BaseGridControllerAny<ITransactionAllocated>.OnSelectedItemsChanged(IEnumerable<ITransactionAllocated>)
    BaseGridControllerAny<ITransactionAllocated>.GetStandardExtraColumns(string)
    BaseGridControllerAny<ITransactionAllocated>.ReApply()
    BaseGridControllerAny<ITransactionAllocated>.GetPublicToggleCommand()
    BaseGridControllerAny<ITransactionAllocated>.GetNewGridCommand()
    BaseGridControllerAny<ITransactionAllocated>.GetDeleteCommand()
    BaseGridControllerAny<ITransactionAllocated>.DeleteCommandIsQuickAccess()
    BaseGridControllerAny<ITransactionAllocated>.GetUpCommand()
    BaseGridControllerAny<ITransactionAllocated>.GetDownCommand()
    BaseGridControllerAny<ITransactionAllocated>.MoveItemSequence(object, object)
    BaseGridControllerAny<ITransactionAllocated>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<ITransactionAllocated>.AddItem(ITransactionAllocated)
    BaseGridControllerAny<ITransactionAllocated>.ToggleSearch(bool)
    BaseGridControllerAny<ITransactionAllocated>.CollectionType
    BaseGridControllerAny<ITransactionAllocated>.Descriptor
    BaseGridControllerAny<ITransactionAllocated>.ListenToChanges
    BaseGridControllerAny<ITransactionAllocated>.RowPreviewColumns
    BaseGridControllerAny<ITransactionAllocated>.GridView
    BaseGridControllerAny<ITransactionAllocated>.CurrentGridItems
    BaseGridControllerAny<ITransactionAllocated>.CurrentItems
    BaseGridControllerAny<ITransactionAllocated>.AutoSelectFirstRow
    BaseGridControllerAny<ITransactionAllocated>.AddStandardColumns
    BaseGridControllerAny<ITransactionAllocated>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<ITransactionAllocated>.DefaultRowCount
    BaseGridControllerAny<ITransactionAllocated>.DefaultOrOverridenRowCount
    BaseGridControllerAny<ITransactionAllocated>.UserOverridenPagingAmount
    BaseGridControllerAny<ITransactionAllocated>.PagerRequired
    BaseGridControllerAny<ITransactionAllocated>.TotalCount
    BaseGridControllerAny<ITransactionAllocated>.LimitPagesToTotal
    BaseGridControllerAny<ITransactionAllocated>.TotalPageCount
    BaseGridControllerAny<ITransactionAllocated>.Sortings
    BaseGridControllerAny<ITransactionAllocated>.Filters
    BaseGridControllerAny<ITransactionAllocated>.ShowCheckboxForMultiSelect
    BaseGridControllerAny<ITransactionAllocated>.TogglerZeroColumn
    BaseGridControllerAny<ITransactionAllocated>.TransferColToggler
    BaseGridControllerAny<ITransactionAllocated>.ItemRowColorProperty
    BaseGridControllerAny<ITransactionAllocated>.SelectedItemForSubViews
    BaseGridControllerAny<ITransactionAllocated>.UpdateSubViewsWhenMultipleRowSelectionChanges
    BaseGridControllerAny<ITransactionAllocated>.ExcelExportCommand
    BaseGridControllerAny<ITransactionAllocated>.AllowColumnSelection
    BaseGridControllerAny<ITransactionAllocated>.AllowPublicToggleCommand
    BaseGridControllerAny<ITransactionAllocated>.AllowSearchCommand
    BaseGridControllerAny<ITransactionAllocated>.AllowPageSizeCommand
    BaseGridControllerAny<ITransactionAllocated>.AllowClearSearchSortFilter
    BaseGridControllerAny<ITransactionAllocated>.ShowGrouping
    BaseGridControllerAny<ITransactionAllocated>.ShowFrozenColumnsSplitter
    BaseGridControllerAny<ITransactionAllocated>.ShowVerticalGridLines
    BaseGridControllerAny<ITransactionAllocated>.CanUserSelect
    BaseGridControllerAny<ITransactionAllocated>.AllowXMLImportExport
    BaseGridControllerAny<ITransactionAllocated>.AllowMultipleSelect
    BaseGridControllerAny<ITransactionAllocated>.AllowExcelExport
    BaseGridControllerAny<ITransactionAllocated>.AllowSequencing
    BaseGridControllerAny<ITransactionAllocated>.OpenFromRelatedColumnName
    BaseGridControllerAny<ITransactionAllocated>.PopulateNewFromLookupRelationship
    BaseGridControllerAny<ITransactionAllocated>.SearchGroups
    BaseGridControllerAny<ITransactionAllocated>.SearchElements
    BaseGridController.ClearSearchSortFilter()
    BaseGridController.AddCustomCommand(ICustomCommand)
    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.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.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    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 TransactionValuesAllocatedController : BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<ITransactionAllocated>, ICopyGridItemImplementor<ITransactionAllocated>, IGrid, IDeleteGridItemImplementor<ITransactionAllocated>, ISearchController, ILockableController, IModelViewController

    Constructors

    TransactionValuesAllocatedController(IBaseGridRelatedCollection<ITransaction, ITransactionAllocated>)

    Declaration
    public TransactionValuesAllocatedController(IBaseGridRelatedCollection<ITransaction, ITransactionAllocated> view)
    Parameters
    Type Name Description
    IBaseGridRelatedCollection<ITransaction, ITransactionAllocated> view

    Properties

    AllowCopyCommand

    Indicates that by default selected entities can be copied by the user with the copy command

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

    AllowOpenCommand

    Indicates that by default selected entities can be opened by the user with the open command

    Declaration
    public override bool AllowOpenCommand { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.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 ITransactionAllocated 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.ITransactionAllocated>.AutoOpenNewItemInTab

    CanCreateNew

    Indicates if the user can create new items in the grid

    The default implementation is true, allowing specific controller implementations to provide override values

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

    CanWrite

    Indicates if the user currently has permissions to edit the displayed item

    Default to false if the main displayed item for this layout has read only set to true ( ReadOnly). Or loads the permissions for the item

    Declaration
    public override bool CanWrite { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelViewController.CanWrite

    CollectionRelationshipColumnName

    This is the property on the ITransactionAllocated 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.BaseGridRelatedCollectionController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction, LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.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

    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

    DisplayIfNull

    Indicates that even if the item is null the view should still update and display a null value. Default value is false.

    Declaration
    public override bool DisplayIfNull { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelViewController.DisplayIfNull

    ItemCellDisableCell

    Declaration
    public override Func<object, string, string, bool> ItemCellDisableCell { get; }
    Property Value
    Type Description
    Func<object, string, string, bool>
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.ItemCellDisableCell

    LockableHandler

    The implementation that specified if this view can be edited/locked

    Declaration
    public ILockable LockableHandler { get; }
    Property Value
    Type Description
    ILockable

    OnlyExportFromQuery

    Indicates when performing a stadard data export that the data should only be exported by re-running a query to fetch the results again

    The default is false

    Declaration
    public override bool OnlyExportFromQuery { get; }
    Property Value
    Type Description
    bool
    Overrides
    BaseGridController.OnlyExportFromQuery

    PopulateNewFromLookupColumnName

    Returns OpenFromRelatedColumnName

    Declaration
    public override string PopulateNewFromLookupColumnName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction, LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.PopulateNewFromLookupColumnName

    PreventDuplicateLookupIDs

    If PopulateNewFromLookupColumnName is set and this is true then the system will ensure that new items are only created for selected entities that there are no current existing items with those values too

    In other words this prevents duplication of items in the collection that have the same value for the PopulateNewFromLookupColumnName property on entity type ITransactionAllocated

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

    TransactionValuesAllocatedEntityTargetFilter

    Declaration
    public static RelatedItemSearchExecuter TransactionValuesAllocatedEntityTargetFilter { get; set; }
    Property Value
    Type Description
    RelatedItemSearchExecuter

    Methods

    AlterQuery(QueryableExecuter<ITransactionAllocated>)

    Additionally alters the base query alteration by ensuring all entities returned are related to the SingleItem by having their CollectionRelationshipColumnName have the same value as the SingleItem ID

    This is achieved via AddRelationshipJoin(QueryableExecuter<TCollection>) which can be overidden to customise how the entities of type ITransactionAllocated are precisely related to the SingleItem if not directly through that join

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

    The existing query to return all the results that will populate the grid

    Returns
    Type Description
    QueryableExecuter<ITransactionAllocated>

    An altered query that also ensures all entities returned are related to the SingleItem by having their CollectionRelationshipColumnName have the same value as the SingleItem ID

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction, LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.AlterQuery(LemonEdge.Utils.QueryableExecuter<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>)

    CanDelete(ITransactionAllocated)

    Indicates if the selected item is allowed to be deleted based on the status of the item itself

    The default implementation is false, allowing specific controller implementations to provide override values

    Declaration
    public override Task<bool> CanDelete(ITransactionAllocated item)
    Parameters
    Type Name Description
    ITransactionAllocated item

    The item to check if it can be deleted

    Returns
    Type Description
    Task<bool>

    True if the specified item can be deleted

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.CanDelete(LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated)

    Clear()

    Clears the paging information for the loaded grid items

    Declaration
    public override Task Clear()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.Clear()

    ColumnGroups()

    Header groupings that columns belong to. Can be hierarchical

    Declaration
    public override IEnumerable<GridColumnGroup> ColumnGroups()
    Returns
    Type Description
    IEnumerable<GridColumnGroup>
    Overrides
    BaseGridController.ColumnGroups()

    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.ITransactionAllocated>.Columns()

    DisplayUI()

    Initializes the grid, and creates every ControlDisplayInfo in the defined Columns() and creates them on the grid

    Then loads the data for the grid accounting for all view sorting, filtering, searching and paging, and loads the results into the grid as an observable collection

    Declaration
    public override Task DisplayUI()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.DisplayUI()

    GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)

    Returns all the information on the columns that can be exported from this grid

    The default information contains the info of all Columns() in the grid

    Declaration
    public override Task<IEnumerable<ControlDisplayVisibilityInfo>> GetExportableColumnInfo(IEnumerable<ColumnDescriptor> visibleColumns)
    Parameters
    Type Name Description
    IEnumerable<ColumnDescriptor> visibleColumns

    The currently visible columns in the grid

    Returns
    Type Description
    Task<IEnumerable<ControlDisplayVisibilityInfo>>

    All the information on the columns that can be exported from this grid

    Overrides
    BaseGridControllerAny<ITransactionAllocated>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)

    GetGridSourceItems()

    Executes the query (GetCurrentQuery()) for the entities required in this grid, sets the total count (as it is different due to paging), and returns the results

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

    The result of executing the GetCurrentQuery() to return all the entities that should be displayed in this grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.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
    BaseGridRelatedCollectionController<ITransaction, ITransactionAllocated>.InitCommands(IList<ViewCommand>)

    LoadCodeValues()

    Declaration
    protected Task LoadCodeValues()
    Returns
    Type Description
    Task

    RemoveItems(IEnumerable<ITransactionAllocated>)

    Removes the specified set of items from the grid and if the items in the grid have a property marked as SequenceStart then it will decrement the ones above these deleted items to reflect their change in order

    Declaration
    public override Task RemoveItems(IEnumerable<ITransactionAllocated> items)
    Parameters
    Type Name Description
    IEnumerable<ITransactionAllocated> items

    The items to be removed from the CurrentItems

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    BaseGridControllerAny<ITransactionAllocated>.RemoveItems(IEnumerable<ITransactionAllocated>)

    UpdateLocked()

    Updates the view itself to reflect the lock status of this controller, ensuring all the controls conform to them

    Declaration
    public void UpdateLocked()

    UpdateNewItem(ITransactionAllocated)

    Updates any new item created in this grid to also have the CollectionRelationshipColumnName property hold the value of the SingleItem ID

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

    The new item created for this grid

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction, LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated>.UpdateNewItem(LemonEdge.API.Entities.FinancialServices.Transactions.ITransactionAllocated)

    Implements

    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<T>
    ICopyGridItemImplementor<T>
    IGrid
    IDeleteGridItemImplementor<T>
    ISearchController
    ILockableController
    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.