Search Results for

    Show / Hide Table of Contents

    Class CallListManager

    Manager to work with simplic contact call lists

    Inheritance
    System.Object
    CallListManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PlugIn.SAC.Contact
    Assembly: Simplic.PlugIn.SAC.dll
    Syntax
    public class CallListManager

    Constructors

    | Improve this Doc View Source

    CallListManager(ICallListTemplate)

    Initialize new call list manager

    Declaration
    public CallListManager(ICallListTemplate template)
    Parameters
    Type Name Description
    ICallListTemplate template

    Instance of the template generator

    Methods

    | Improve this Doc View Source

    AddContact(Guid, Guid)

    Assign a contact to a call list

    Declaration
    public void AddContact(Guid contactId, Guid callListId)
    Parameters
    Type Name Description
    System.Guid contactId

    Unique contact id

    System.Guid callListId

    Unique call list id

    | Improve this Doc View Source

    ClearCallList(Guid)

    Remove all contacts from a call list

    Declaration
    public void ClearCallList(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique call list id

    | Improve this Doc View Source

    CreateCallList(String, Int32, Nullable<Guid>)

    Create a new call list

    Declaration
    public CallList CreateCallList(string name, int userId, Guid? templateConfiguration)
    Parameters
    Type Name Description
    System.String name

    Name of the list

    System.Int32 userId

    User to which the list belongs

    System.Nullable<System.Guid> templateConfiguration

    Configuration guid, pass an null if no configuration should be used

    Returns
    Type Description
    CallList

    Instance of a call list

    | Improve this Doc View Source

    Delete(Guid)

    Remove a call list with all connections

    Declaration
    public void Delete(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique call list id

    | Improve this Doc View Source

    DeleteSqlTemplate(Guid)

    Delet the sql template

    Declaration
    public void DeleteSqlTemplate(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique template id

    | Improve this Doc View Source

    Get(Guid)

    Gets a call list by its id. The call list will not be fileld

    Declaration
    public CallList Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique contact list id

    Returns
    Type Description
    CallList

    If the list exists, an instance of the list will be returned

    | Improve this Doc View Source

    GetSqlTemplate(Guid)

    Get a sql template instance

    Declaration
    public CallListSqlTemplate GetSqlTemplate(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique template id

    Returns
    Type Description
    CallListSqlTemplate

    An instance of a sql template

    | Improve this Doc View Source

    RemoveContact(Guid)

    Remove a contact from all call lists

    Declaration
    public int RemoveContact(Guid contactId)
    Parameters
    Type Name Description
    System.Guid contactId

    Unique contact id

    Returns
    Type Description
    System.Int32

    Amount of removed assignments

    | Improve this Doc View Source

    RemoveContact(Guid, Guid)

    Remove a contact from a call list

    Declaration
    public void RemoveContact(Guid contactId, Guid callListId)
    Parameters
    Type Name Description
    System.Guid contactId

    Unique contact id

    System.Guid callListId

    Unique call list id

    | Improve this Doc View Source

    Save(CallList)

    Save or create a call list

    Declaration
    public void Save(CallList list)
    Parameters
    Type Name Description
    CallList list

    Call list instance

    | Improve this Doc View Source

    SaveSqlTemplate(CallListSqlTemplate)

    Save or create a call list sql template

    Declaration
    public void SaveSqlTemplate(CallListSqlTemplate template)
    Parameters
    Type Name Description
    CallListSqlTemplate template

    Template instance

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx