Search Results for

    Show / Hide Table of Contents

    Class SafeStatusController

    Inheritance
    object
    ModelViewController
    BaseDefaultSingleViewController<IBaseEntity>
    SafeStatusController
    Implements
    IModelViewController
    Inherited Members
    BaseDefaultSingleViewController<IBaseEntity>.InitCommands(IList<ViewCommand>)
    BaseDefaultSingleViewController<IBaseEntity>.ProcessCustomCommandResult(object)
    BaseDefaultSingleViewController<IBaseEntity>.GetSingleViewController(IBaseDefaultSingleView<IBaseEntity>, string)
    BaseDefaultSingleViewController<IBaseEntity>.LoadSingleItem()
    BaseDefaultSingleViewController<IBaseEntity>.LoadExtendedItem(Type)
    BaseDefaultSingleViewController<IBaseEntity>.SetAndLoadSingleItem()
    BaseDefaultSingleViewController<IBaseEntity>.LoadControls()
    BaseDefaultSingleViewController<IBaseEntity>.IncrementControlCheck(int)
    BaseDefaultSingleViewController<IBaseEntity>.DecrementControlCheck()
    BaseDefaultSingleViewController<IBaseEntity>.DisplayUI()
    BaseDefaultSingleViewController<IBaseEntity>.DisplayControlItem(ControlDisplayInfo, IBaseEntity)
    BaseDefaultSingleViewController<IBaseEntity>.DisplayFormulaItem(ControlDisplayInfo, IBaseEntity)
    BaseDefaultSingleViewController<IBaseEntity>.Controls()
    BaseDefaultSingleViewController<IBaseEntity>.GetControls()
    BaseDefaultSingleViewController<IBaseEntity>.OnTrackedItemChanged(object, string)
    BaseDefaultSingleViewController<IBaseEntity>.GetControlDescriptor(EntityDescriptor, string)
    BaseDefaultSingleViewController<IBaseEntity>.GetControlEntityDescriptor(string)
    BaseDefaultSingleViewController<IBaseEntity>.SingleItem
    BaseDefaultSingleViewController<IBaseEntity>.SelectedItemForSubViews
    BaseDefaultSingleViewController<IBaseEntity>.SingleView
    BaseDefaultSingleViewController<IBaseEntity>.Descriptor
    BaseDefaultSingleViewController<IBaseEntity>.ViewDisplayType
    BaseDefaultSingleViewController<IBaseEntity>.ViewMaxWidth
    BaseDefaultSingleViewController<IBaseEntity>.ViewMaxHeight
    BaseDefaultSingleViewController<IBaseEntity>.ViewRowCount
    BaseDefaultSingleViewController<IBaseEntity>.ViewColumnCount
    BaseDefaultSingleViewController<IBaseEntity>.ListenToChanges
    BaseDefaultSingleViewController<IBaseEntity>.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.CanWrite
    ModelViewController.TrackChanges
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    ModelViewController.ContextHelpURL
    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 SafeStatusController : BaseDefaultSingleViewController<IBaseEntity>, IModelViewController

    Constructors

    SafeStatusController(IBaseDefaultSingleView<IBaseEntity>)

    Declaration
    public SafeStatusController(IBaseDefaultSingleView<IBaseEntity> view)
    Parameters
    Type Name Description
    IBaseDefaultSingleView<IBaseEntity> view

    Properties

    CheckIsLockedForCanWrite

    Indicates the controller should check if the item is locked before allowing CanWrite to be true. Defaults to true.

    Declaration
    protected override bool CheckIsLockedForCanWrite { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelViewController.CheckIsLockedForCanWrite

    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.IBaseEntity>.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.IBaseEntity>.ControlNames()

    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
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.IBaseEntity>.InitAsync()

    Implements

    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.