Search Results for

    Show / Hide Table of Contents

    Class CompanyEmployeeController

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

    Constructors

    CompanyEmployeeController(IBaseGridRelatedCollection<ICompany, IEmployee>)

    Declaration
    public CompanyEmployeeController(IBaseGridRelatedCollection<ICompany, IEmployee> view)
    Parameters
    Type Name Description
    IBaseGridRelatedCollection<ICompany, IEmployee> view

    Properties

    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.LegalEntity.IEmployee>.AllowOpenCommand

    CollectionRelationshipColumnName

    This is the property on the IEmployee 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.LegalEntity.ICompany, LemonEdge.API.Entities.FinancialServices.LegalEntity.IEmployee>.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

    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.LegalEntity.ICompany, LemonEdge.API.Entities.FinancialServices.LegalEntity.IEmployee>.PopulateNewFromLookupColumnName

    Methods

    ColumnNames()

    A list of all the columns to be dynamically created in the IBaseGrid<T>

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

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

    A list of all the columns to be dynamically created in the IBaseGrid<T>

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.LegalEntity.IEmployee>.ColumnNames()

    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.