Search Results for

    Show / Hide Table of Contents

    Class TransactionItemParameter

    A base server task parameter class that can be inherited by server tasks that process algorithms against transactional entities in the system

    This allows the selection of the transaction entity in the system for the task to run against

    Inheritance
    object
    SerializedParam
    ServerTaskParameter
    ItemParameter
    TransactionItemParameter
    BlendProcessParameter
    PeriodEndProcessParameter
    SplitProcessParameter
    StepChangeProcessParameter
    TransferProcessParameter
    Implements
    ICloneable
    INotifyPropertyChanged
    Inherited Members
    ItemParameter.OnPropChanged(string)
    ItemParameter.ID
    ItemParameter.ID_Label
    ItemParameter.PropertyChanged
    ServerTaskParameter.GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)
    ServerTaskParameter.ShouldAutomaticallyCreateTask(IHasSaveProcessingTask, IEntityUpdater)
    SerializedParam.GetParam<T>(string)
    SerializedParam.GetParam<T>(byte[])
    SerializedParam.GetParam(string)
    SerializedParam.GetParam(string, bool)
    SerializedParam.GetParam(byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    SerializedParam.Clone()
    SerializedParam.CreateNewParam()
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Tasks.Parameters
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    [DataContract]
    public abstract class TransactionItemParameter : ItemParameter, ICloneable, INotifyPropertyChanged

    Constructors

    TransactionItemParameter()

    Creates a new transaction item parameter server task process parameter

    Declaration
    public TransactionItemParameter()

    TransactionItemParameter(ITransactionalEntity)

    Creates a new transaction item server task process parameter for the item

    Declaration
    public TransactionItemParameter(ITransactionalEntity item)
    Parameters
    Type Name Description
    ITransactionalEntity item

    An transactional item this parameter will make the task run against

    Properties

    AllowAutoCreateOnLockedItems

    Returns true by default indicating the process allows tasks to run against finalized transactions

    Declaration
    protected override bool AllowAutoCreateOnLockedItems { get; }
    Property Value
    Type Description
    bool
    Overrides
    ServerTaskParameter.AllowAutoCreateOnLockedItems

    Recalculate

    Indicates if the transaction process task should fully recalculate

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

    Status

    Holds the status of the transactional item that it should be updated to

    Declaration
    public TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    Methods

    AllowSaveWithNoChangesForTaskCreation(IHasSaveProcessingTask, IEntityUpdater)

    Indicates if the transaction process task should fully recalculate

    Declaration
    public override bool AllowSaveWithNoChangesForTaskCreation(IHasSaveProcessingTask item, IEntityUpdater context)
    Parameters
    Type Name Description
    IHasSaveProcessingTask item

    The transactional item that has been modified

    IEntityUpdater context

    The current context that it has been modified within

    Returns
    Type Description
    bool

    True if the current status of the transactional item is less than finalized

    Overrides
    ServerTaskParameter.AllowSaveWithNoChangesForTaskCreation(IHasSaveProcessingTask, IEntityUpdater)

    CopyFromParam(SerializedParam)

    Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified source

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source

    The source instance of a SerializedParam that is of the same type as this one to copy parameter values from

    Overrides
    ItemParameter.CopyFromParam(SerializedParam)
    Remarks

    Used by the generic implementation of Clone()

    DisplayUserParamOnSave(IHasSaveProcessingTask, IEntityUpdater)

    Holds the status of the transactional item that it should be updated to

    Declaration
    public override bool DisplayUserParamOnSave(IHasSaveProcessingTask item, IEntityUpdater context)
    Parameters
    Type Name Description
    IHasSaveProcessingTask item

    The transactional item that has been modified

    IEntityUpdater context

    The current context that it has been modified within

    Returns
    Type Description
    bool

    True if the current status of the transactional item is less than finalized

    Overrides
    ServerTaskParameter.DisplayUserParamOnSave(IHasSaveProcessingTask, IEntityUpdater)

    Implements

    ICloneable
    INotifyPropertyChanged

    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.