Search Results for

    Show / Hide Table of Contents

    Class EntityTransactionsController

    A standard base controller for displaying all the transactions against transactional entity. All transactions with this SingleItem as their EntityID

    Inheritance
    System.Object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<ITransaction>
    BaseGridController<ITransaction>
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>
    EntityTransactionsController
    Implements
    IBaseGridController
    IModelViewController
    ICollectionExportable
    INewGridItemImplementor<ITransaction>
    ICopyGridItemImplementor<ITransaction>
    IGrid
    IDeleteGridItemImplementor<ITransaction>
    Inherited Members
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.SingleItem
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.AllowIDFilter
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.AlterQuery(QueryableExecuter<ITransaction>)
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.AddRelationshipJoin(QueryableExecuter<ITransaction>)
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.UpdateNewItem(ITransaction)
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.CollectionRelationshipColumnName
    BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>.PopulateNewFromLookupColumnName
    BaseGridController<ITransaction>.GetGridSourceItems()
    BaseGridController<ITransaction>.GetInternalDescriptor()
    BaseGridController<ITransaction>.GetCurrentQuery()
    BaseGridController<ITransaction>.GetQueryForExcelResults()
    BaseGridController<ITransaction>.AllowIDFilter
    BaseGridController<ITransaction>.GetCreationQuery()
    BaseGridController<ITransaction>.NewItemHelper
    BaseGridController<ITransaction>.CopyItemHelper
    BaseGridController<ITransaction>.AllowOpenCommand
    BaseGridController<ITransaction>.AllowNewCommand
    BaseGridController<ITransaction>.AllowDeleteCommand
    BaseGridController<ITransaction>.GetOpenGridCommand()
    BaseGridController<ITransaction>.GetCopyGridCommand()
    BaseGridController<ITransaction>.OnOpenRowItem(ITransaction)
    BaseGridController<ITransaction>.OpenInSameContext
    BaseGridControllerAny<ITransaction>.GetGridController(IBaseGrid<ITransaction>)
    BaseGridControllerAny<ITransaction>.CollectionType
    BaseGridControllerAny<ITransaction>.Descriptor
    BaseGridControllerAny<ITransaction>.CanEditRowItem(ITransaction)
    BaseGridControllerAny<ITransaction>.TrackItemChanges
    BaseGridControllerAny<ITransaction>.OnTrackedItemChanged(Object, String)
    BaseGridControllerAny<ITransaction>.RowPreviewColumns
    BaseGridControllerAny<ITransaction>.BulkUpdateMulltipleSelectedItemsOnEdit
    BaseGridControllerAny<ITransaction>.GridView
    BaseGridControllerAny<ITransaction>.GetGridSourceItems(IEnumerable<ITransaction>)
    BaseGridControllerAny<ITransaction>.AlterLoadedItems(IEnumerable<ITransaction>)
    BaseGridControllerAny<ITransaction>.Clear()
    BaseGridControllerAny<ITransaction>.CloseController()
    BaseGridControllerAny<ITransaction>.CurrentGridItems
    BaseGridControllerAny<ITransaction>.CurrentItems
    BaseGridControllerAny<ITransaction>.InitDisplay()
    BaseGridControllerAny<ITransaction>.ResetColumnsAndGroups(Boolean)
    BaseGridControllerAny<ITransaction>.DisplayUI()
    BaseGridControllerAny<ITransaction>.AutoSelectFirstRow
    BaseGridControllerAny<ITransaction>.LoadAdditionalColumns()
    BaseGridControllerAny<ITransaction>.Columns()
    BaseGridControllerAny<ITransaction>.AddCol(Int16, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<ITransaction>.PivotColumns(Int16)
    BaseGridControllerAny<ITransaction>.AddStandardColumns
    BaseGridControllerAny<ITransaction>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<ITransaction>.SelectedItemForSubViews
    BaseGridControllerAny<ITransaction>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<ITransaction>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<ITransaction>.SetTotalCount(Int32)
    BaseGridControllerAny<ITransaction>.DefaultRowCount
    BaseGridControllerAny<ITransaction>.PagerRequired
    BaseGridControllerAny<ITransaction>.CurrentPageIndex
    BaseGridControllerAny<ITransaction>.TotalCount
    BaseGridControllerAny<ITransaction>.TotalPageCount
    BaseGridControllerAny<ITransaction>.Sortings
    BaseGridControllerAny<ITransaction>.Filters
    BaseGridControllerAny<ITransaction>.SetPageIndex(Int32)
    BaseGridControllerAny<ITransaction>.Redisplay()
    BaseGridControllerAny<ITransaction>.TrackResults(IEnumerable<ITransaction>)
    BaseGridControllerAny<ITransaction>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<ITransaction>.UpdateColumnFromName(String)
    BaseGridControllerAny<ITransaction>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<ITransaction>.TogglerZeroColumn
    BaseGridControllerAny<ITransaction>.IsZeroColumnColumnVisible(String)
    BaseGridControllerAny<ITransaction>.ToggleZeroColumns()
    BaseGridControllerAny<ITransaction>.UpdateAllZeroColumns()
    BaseGridControllerAny<ITransaction>.UpdateTransferColumnStatus()
    BaseGridControllerAny<ITransaction>.TransferColToggler
    BaseGridControllerAny<ITransaction>.CanDelete(ITransaction)
    BaseGridControllerAny<ITransaction>.CanCreateNew
    BaseGridControllerAny<ITransaction>.GetStandardExtraColumns(String)
    BaseGridControllerAny<ITransaction>.IDeleteGridItemImplementor<ITransaction>.Grid
    BaseGridControllerAny<ITransaction>.ExcelExportCommand
    BaseGridControllerAny<ITransaction>.GetPublicToggleCommand()
    BaseGridControllerAny<ITransaction>.GetNewGridCommand()
    BaseGridControllerAny<ITransaction>.GetDeleteCommand()
    BaseGridControllerAny<ITransaction>.GetUpCommand()
    BaseGridControllerAny<ITransaction>.GetDownCommand()
    BaseGridControllerAny<ITransaction>.AllowColumnSelection
    BaseGridControllerAny<ITransaction>.AllowPublicToggleCommand
    BaseGridControllerAny<ITransaction>.AllowSearchCommand
    BaseGridControllerAny<ITransaction>.AllowMultipleSelect
    BaseGridControllerAny<ITransaction>.AllowExcelExport
    BaseGridControllerAny<ITransaction>.AllowSequencing
    BaseGridControllerAny<ITransaction>.OpenFromRelatedColumnName
    BaseGridControllerAny<ITransaction>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<ITransaction>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<ITransaction>.PreventDuplicateLookupIDs
    BaseGridControllerAny<ITransaction>.RemoveItems(IEnumerable<ITransaction>)
    BaseGridControllerAny<ITransaction>.AddItem(ITransaction)
    BaseGridController.ComboItemsClear
    BaseGridController.ColumnGroups()
    BaseGridController.DefaultColumnGroupIndexes
    BaseGridController.DefaultFrozenColumnCount
    BaseGridController.AllPossibleSearchColumns()
    BaseGridController.InternalFilter
    BaseGridController.ColumnSortings
    BaseGridController.ColumnFilters
    BaseGridController.SearchColumns
    BaseGridController.Search
    BaseGridController.SetOrdering(IEnumerable<QueryableSort>)
    BaseGridController.SetFilters(IEnumerable<QueryableFilter>)
    BaseGridController.SetSearch(String, IEnumerable<String>)
    BaseGridController.BaseGridView
    BaseGridController.GetVisibleColumnNames()
    BaseGridController.OnlyExportGrid
    BaseGridController.OnlyExportFromQuery
    BaseGridController.Created
    BaseGridController.IGrid.GridItems
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.ContextHelpURL
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views
    Assembly: ClientCore.dll
    Syntax
    public class EntityTransactionsController : BaseGridRelatedCollectionController<IObjectEntityBase, ITransaction>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<ITransaction>, ICopyGridItemImplementor<ITransaction>, IGrid, IDeleteGridItemImplementor<ITransaction>

    Constructors

    EntityTransactionsController(IBaseGridRelatedCollection<IObjectEntityBase, ITransaction>)

    Creates a new EntityTransactionsController

    Declaration
    public EntityTransactionsController(IBaseGridRelatedCollection<IObjectEntityBase, ITransaction> view)
    Parameters
    Type Name Description
    IBaseGridRelatedCollection<IObjectEntityBase, ITransaction> view

    The IBaseGridRelatedCollection view implementation using the UI components of the client application

    Properties

    AllowCopyCommand

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

    AllowXMLImportExport

    Declaration
    public override bool AllowXMLImportExport { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.ITransaction>.AllowXMLImportExport

    AutoOpenNewItemInTab

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

    CollectionRelationshipColumnName

    Specified that the property EntityID holds the relationship from an ITransaction to the parent IObjectEntityBase SingleItem of this view

    Declaration
    public override string CollectionRelationshipColumnName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<LemonEdge.API.Entities.IObjectEntityBase, LemonEdge.API.Entities.ITransaction>.CollectionRelationshipColumnName

    DefaultSearchColumn

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

    Methods

    AlterQuery(QueryableExecuter<ITransaction>)

    Returns all transactions ordered by Date/Reference

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

    The transaction query

    Returns
    Type Description
    QueryableExecuter<ITransaction>

    The query to find all transactions for this grid

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

    ColumnNames()

    Adds the standard header columns from ColumnNames()

    Declaration
    protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfoLight>

    The standard header columns for a grid of header transactions

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

    InitCommands(IList<ViewCommand>)

    Adds the ViewAllocation and TransactionSettingsEdit commands to the standard grid commands

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

    The commands for this transaction grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.ITransaction>.InitCommands(System.Collections.Generic.IList<LemonEdge.Client.Core.Commands.ViewCommands.ViewCommand>)

    UpdateNewItem(ITransaction)

    ENsures all new transactions created in this grid have the EntityID set to the id of this parent SingleItem entity

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

    The new transaction

    Returns
    Type Description
    System.Threading.Tasks.Task

    A task indicating the completion of this operation

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

    Implements

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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.