Search Results for

    Show / Hide Table of Contents

    Class Team

    Inheritance
    object
    BaseEntity
    BaseEntityWithPermissions
    Team
    Implements
    ITeam
    IBaseEntityWithPermissions
    ISetCopier
    ICanBeLocked
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<ITeam>
    ISetCopierCloneAlterer
    Inherited Members
    BaseEntityWithPermissions.IsLocked(object)
    BaseEntityWithPermissions.CanWriteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.PreLoadPermissions<T>(IEnumerable<T>, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanDeleteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanChangeItemPermissions(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.OnPropertyChanged(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.Administration
    Assembly: LemonEdge.API.Entities.Auto.dll
    Syntax
    [DataContract]
    public class Team : BaseEntityWithPermissions, ITeam, IBaseEntityWithPermissions, ISetCopier, ICanBeLocked, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<ITeam>, ISetCopierCloneAlterer

    Constructors

    Team()

    Declaration
    public Team()

    Properties

    AdminPermissions

    Indicates if this team has admin permissions and can always access all data.

    This permission is locked to the default Admin Team and can not be altered in other teams.

    Declaration
    [ReadOnly]
    public bool AdminPermissions { get; set; }
    Property Value
    Type Description
    bool

    CanApproveCanvasItems

    Indicates if the team is allowed to approve canvas items

    Declaration
    [EnumDataType(typeof(CanApproveCanvasItems))]
    public CanApproveCanvasItems CanApproveCanvasItems { get; set; }
    Property Value
    Type Description
    CanApproveCanvasItems

    CanApproveCanvasItems_Tooltip

    Declaration
    [NotMapped]
    public string CanApproveCanvasItems_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CanCancel

    Indicates if users of this team can cancel transactions or not

    Declaration
    [EnumDataType(typeof(CanCancelTransactions))]
    public CanCancelTransactions CanCancel { get; set; }
    Property Value
    Type Description
    CanCancelTransactions

    CanCancel_Tooltip

    Declaration
    [NotMapped]
    public string CanCancel_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CanEditSystemItems

    Indicates if the team is allowed to edit items that are marked as being system items

    Declaration
    public bool CanEditSystemItems { get; set; }
    Property Value
    Type Description
    bool

    CanFinalizeTransactions

    Indicates if the team is allowed to finalize transactions

    Declaration
    [EnumDataType(typeof(CanFinalizeTransactions))]
    public CanFinalizeTransactions CanFinalizeTransactions { get; set; }
    Property Value
    Type Description
    CanFinalizeTransactions

    CanFinalizeTransactions_Tooltip

    Declaration
    [NotMapped]
    public string CanFinalizeTransactions_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CanImpersonateUsersForTasks

    Can impersonate users to run tasks as

    Declaration
    public bool CanImpersonateUsersForTasks { get; set; }
    Property Value
    Type Description
    bool

    CanModifyLockedTransactions

    Indicates if the team is allowed to modify locked (cancelled or finalized) transactions.

    Declaration
    [EnumDataType(typeof(CanModifyLockedTransactions))]
    public CanModifyLockedTransactions CanModifyLockedTransactions { get; set; }
    Property Value
    Type Description
    CanModifyLockedTransactions

    CanModifyLockedTransactions_Tooltip

    Declaration
    [NotMapped]
    public string CanModifyLockedTransactions_Tooltip { get; set; }
    Property Value
    Type Description
    string

    CanModifySQLWrappers

    Indicates if team is allowed to modify code of sql wrapper

    Declaration
    public bool CanModifySQLWrappers { get; set; }
    Property Value
    Type Description
    bool

    CanRunClientImports

    Indicates users of this team can run client imports. Typically only used for testing large imports on the task service. Running on a client can cause heavy use of the web service, and if the imports have errors cause incorrect diagnosis on the web service health

    Declaration
    public bool CanRunClientImports { get; set; }
    Property Value
    Type Description
    bool

    CopierCloneType

    Declaration
    public SetCopierCloneType CopierCloneType { get; set; }
    Property Value
    Type Description
    SetCopierCloneType

    Description

    A user friendly description of the team and its purpose

    Declaration
    [StringLength(2000)]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    Locked

    Indicates the current record is locked and can not be modified until it is unlocked.

    Declaration
    [Required]
    public bool Locked { get; set; }
    Property Value
    Type Description
    bool

    Name

    [Key] The user friendly unique name for a team

    Declaration
    [Unique]
    [Required]
    [StringLength(500)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    RunnableTasks

    Indicates which tasks that require special permissions this team can run

    Declaration
    [EnumDataType(typeof(BulkTaskPermissions))]
    public BulkTaskPermissions RunnableTasks { get; set; }
    Property Value
    Type Description
    BulkTaskPermissions

    RunnableTasks_Tooltip

    Declaration
    [NotMapped]
    public string RunnableTasks_Tooltip { get; set; }
    Property Value
    Type Description
    string

    ThreeLetterCode

    The unique short name for the team that is used throughout the application

    Declaration
    [Unique]
    [PropertyValidation("true", "MyItem.ThreeLetterCode.Length <= 3", "Length of short code must be less than or equal to 3")]
    [StringLength(3)]
    public string ThreeLetterCode { get; set; }
    Property Value
    Type Description
    string

    Methods

    AlterCopiedItem(IEntityUpdater, UserInfo, IReadOnlyCache, IBaseEntity)

    A custom ability to alter this item when it is was copied by the user in the UI, not when it is being imported

    Declaration
    public Task AlterCopiedItem(IEntityUpdater host, UserInfo user, IReadOnlyCache cache, IBaseEntity sourceItem)
    Parameters
    Type Name Description
    IEntityUpdater host

    The context this item was copied into

    UserInfo user

    The current user

    IReadOnlyCache cache

    The current local cache

    IBaseEntity sourceItem

    The original source item this item was copied from

    Returns
    Type Description
    Task

    A task inidicating the finishing of this method

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    BaseEntity.CopyFromEntity(IBaseEntity)

    CopyFromSource(ITeam)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(ITeam source)
    Parameters
    Type Name Description
    ITeam source

    The source object to copy all values from.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ITeam
    IBaseEntityWithPermissions
    ISetCopier
    ICanBeLocked
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ICloneableAsync<T>
    ISetCopierCloneAlterer

    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.