Search Results for

    Show / Hide Table of Contents

    Class SplitTransactionController

    Inheritance
    object
    ModelViewController
    BaseDefaultSingleViewController<ISplitTransaction>
    SplitTransactionController
    Implements
    ILockableController
    IModelViewController
    Inherited Members
    BaseDefaultSingleViewController<ISplitTransaction>.ProcessCustomCommandResult(object)
    BaseDefaultSingleViewController<ISplitTransaction>.GetSingleViewController(IBaseDefaultSingleView<ISplitTransaction>, string)
    BaseDefaultSingleViewController<ISplitTransaction>.InitAsync()
    BaseDefaultSingleViewController<ISplitTransaction>.LoadSingleItem()
    BaseDefaultSingleViewController<ISplitTransaction>.LoadExtendedItem(Type)
    BaseDefaultSingleViewController<ISplitTransaction>.SetAndLoadSingleItem()
    BaseDefaultSingleViewController<ISplitTransaction>.LoadControls()
    BaseDefaultSingleViewController<ISplitTransaction>.IncrementControlCheck(int)
    BaseDefaultSingleViewController<ISplitTransaction>.DecrementControlCheck()
    BaseDefaultSingleViewController<ISplitTransaction>.DisplayControlItem(ControlDisplayInfo, ISplitTransaction)
    BaseDefaultSingleViewController<ISplitTransaction>.DisplayFormulaItem(ControlDisplayInfo, ISplitTransaction)
    BaseDefaultSingleViewController<ISplitTransaction>.Controls()
    BaseDefaultSingleViewController<ISplitTransaction>.GetControls()
    BaseDefaultSingleViewController<ISplitTransaction>.OnTrackedItemChanged(object, string)
    BaseDefaultSingleViewController<ISplitTransaction>.GetControlDescriptor(EntityDescriptor, string)
    BaseDefaultSingleViewController<ISplitTransaction>.GetControlEntityDescriptor(string)
    BaseDefaultSingleViewController<ISplitTransaction>.SingleItem
    BaseDefaultSingleViewController<ISplitTransaction>.SelectedItemForSubViews
    BaseDefaultSingleViewController<ISplitTransaction>.SingleView
    BaseDefaultSingleViewController<ISplitTransaction>.Descriptor
    BaseDefaultSingleViewController<ISplitTransaction>.ViewDisplayType
    BaseDefaultSingleViewController<ISplitTransaction>.ViewMaxWidth
    BaseDefaultSingleViewController<ISplitTransaction>.ViewMaxHeight
    BaseDefaultSingleViewController<ISplitTransaction>.ViewRowCount
    BaseDefaultSingleViewController<ISplitTransaction>.ViewColumnCount
    BaseDefaultSingleViewController<ISplitTransaction>.ListenToChanges
    BaseDefaultSingleViewController<ISplitTransaction>.HasParentToAnyRelationship
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    ModelViewController.Clear()
    ModelViewController.CloseController()
    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.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 SplitTransactionController : BaseDefaultSingleViewController<ISplitTransaction>, ILockableController, IModelViewController

    Constructors

    SplitTransactionController(IBaseDefaultSingleView<ISplitTransaction>)

    Declaration
    public SplitTransactionController(IBaseDefaultSingleView<ISplitTransaction> view)
    Parameters
    Type Name Description
    IBaseDefaultSingleView<ISplitTransaction> view

    Properties

    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

    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

    LockableHandler

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

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

    Methods

    AlterControlInfo(ControlDisplayInfo)

    Automatically assigns relationship control info and other work for controls from the entity definition itself

    Provides inheriting classes the option to tailor any control as much as they like before it is created in the SingleView

    Declaration
    protected override void AlterControlInfo(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info

    The control definition to be altered

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ISplitTransaction>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo)

    ControlNames()

    A list of all the controls to be dynamically created in the SingleView

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

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

    A list of all the controls to be dynamically created in the SingleView

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ISplitTransaction>.ControlNames()

    DisplayUI()

    Loads all the controls dynamically into the SingleView if they haven't been already, loads the item to be displayed and then displays it against the view itself

    Declaration
    public override Task DisplayUI()
    Returns
    Type Description
    Task
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ISplitTransaction>.DisplayUI()

    InitCommands(IList<ViewCommand>)

    Provides the inheriting class an opportunity to add custom commands to this controller

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

    The current set of commands for this controller

    Overrides
    BaseDefaultSingleViewController<ISplitTransaction>.InitCommands(IList<ViewCommand>)

    UpdateLocked()

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

    Declaration
    public void UpdateLocked()

    Implements

    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.