Search Results for

    Show / Hide Table of Contents

    Class ArchivManager

    Main archive manager

    Inheritance
    System.Object
    ArchivManager
    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.Framework.Extension
    Assembly: Simplic.Framework.Extension.dll
    Syntax
    public class ArchivManager

    Properties

    | Improve this Doc View Source

    ArchiveInterface

    Interface which will be used for archiving files

    Declaration
    public IArchiveInterface ArchiveInterface { get; set; }
    Property Value
    Type Description
    IArchiveInterface
    | Improve this Doc View Source

    Singleton

    Archive singleton access

    Declaration
    public static ArchivManager Singleton { get; }
    Property Value
    Type Description
    ArchivManager

    Methods

    | Improve this Doc View Source

    Archive(String, DocCenterParameter)

    Archive document and show document UI

    Declaration
    public void Archive(string path, DocCenterParameter parameter)
    Parameters
    Type Name Description
    System.String path

    Path to the documenbt

    DocCenterParameter parameter

    Parameter which are needed for archiving

    | Improve this Doc View Source

    GetBlob(Guid)

    Get blob by blob guid

    Declaration
    public byte[] GetBlob(Guid blobGuid)
    Parameters
    Type Name Description
    System.Guid blobGuid

    Unique blob guid

    Returns
    Type Description
    System.Byte[]

    Blob as byte-array

    | Improve this Doc View Source

    GetBlob(Int64, IDictionary<String, Object>)

    Gibt ein Blob direkt anhand der Archive-Quellen-Id zurück

    Declaration
    public byte[] GetBlob(long ArchiveSourceId, IDictionary<string, object> Row)
    Parameters
    Type Name Description
    System.Int64 ArchiveSourceId

    Id der Archiv-Quelle

    System.Collections.Generic.IDictionary<System.String, System.Object> Row

    Datensatz mit den Informationen zum Blob

    Returns
    Type Description
    System.Byte[]

    Instanz eines byte[]-Arrays (Blob)

    | Improve this Doc View Source

    GetBlob(Int64, IDictionary<String, String>)

    Gibt ein Blob direkt anhand der Archive-Quellen-Id zurück

    Declaration
    public byte[] GetBlob(long ArchiveSourceId, IDictionary<string, string> Row)
    Parameters
    Type Name Description
    System.Int64 ArchiveSourceId

    Id der Archiv-Quelle

    System.Collections.Generic.IDictionary<System.String, System.String> Row

    Datensatz mit den Informationen zum Blob

    Returns
    Type Description
    System.Byte[]

    Instanz eines byte[]-Arrays (Blob)

    | Improve this Doc View Source

    GetBlob(String, IDictionary<String, String>)

    Gibt ein Blob direkt anhand der in der Ablage hinterlegten Archivs zurück

    Declaration
    public byte[] GetBlob(string StackName, IDictionary<string, string> Row)
    Parameters
    Type Name Description
    System.String StackName

    Name der Ablage

    System.Collections.Generic.IDictionary<System.String, System.String> Row

    Datensatz

    Returns
    Type Description
    System.Byte[]

    Instanz eines byte[]-Arrays (Blob)

    | Improve this Doc View Source

    GetBlob(String, Int32, IDictionary<String, String>)

    Declaration
    [Obsolete("Diese Methode is veraltet und sollte unter keinen Umständen mehr verwendet werden!")]
    public byte[] GetBlob(string StackName, int SourceId, IDictionary<string, string> Row)
    Parameters
    Type Name Description
    System.String StackName
    System.Int32 SourceId
    System.Collections.Generic.IDictionary<System.String, System.String> Row
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBlobByObjectDictionary(String, IDictionary<String, Object>)

    Declaration
    [Obsolete("Diese Methode is veraltet und sollte unter keinen Umständen mehr verwendet werden!")]
    public byte[] GetBlobByObjectDictionary(string StackName, IDictionary<string, object> Row)
    Parameters
    Type Name Description
    System.String StackName
    System.Collections.Generic.IDictionary<System.String, System.Object> Row
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBlobByObjectDictionary(String, Int32, IDictionary<String, Object>)

    Declaration
    [Obsolete("Diese Methode is veraltet und sollte unter keinen Umständen mehr verwendet werden!")]
    public byte[] GetBlobByObjectDictionary(string StackName, int SourceId, IDictionary<string, object> Row)
    Parameters
    Type Name Description
    System.String StackName
    System.Int32 SourceId
    System.Collections.Generic.IDictionary<System.String, System.Object> Row
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBlobId(IDictionary<String, String>)

    Get blob id

    Declaration
    public Guid GetBlobId(IDictionary<string, string> Row)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.String, System.String> Row

    Datensatz

    Returns
    Type Description
    System.Guid

    Instanz eines byte[]-Arrays (Blob)

    | Improve this Doc View Source

    SetBlob(Byte[], Guid)

    Sets a blob with the given BlobGuid

    Declaration
    public void SetBlob(byte[] Blob, Guid BlobGuid)
    Parameters
    Type Name Description
    System.Byte[] Blob
    System.Guid BlobGuid
    | Improve this Doc View Source

    SetBlob(Byte[], Nullable<Int64>)

    Speichert ein Blob in dem angegeben archiv

    Declaration
    public Guid SetBlob(byte[] Blob, long? ArchiveSourceId = null)
    Parameters
    Type Name Description
    System.Byte[] Blob

    Blob als bytearray

    System.Nullable<System.Int64> ArchiveSourceId

    Ziel-System, wenn null => Standard-Archiv (aktuell Id: 1)

    Returns
    Type Description
    System.Guid

    Guid der blobs, leere Guid wenn das Speichern nicht erfolgreich war

    | Improve this Doc View Source

    SetBlob(Int64, Byte[])

    Save Blob in source

    Declaration
    public IDictionary<string, string> SetBlob(long ArchivSourceId, byte[] Blob)
    Parameters
    Type Name Description
    System.Int64 ArchivSourceId
    System.Byte[] Blob
    Returns
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>
    | Improve this Doc View Source

    ShowBlob(Byte[], String)

    Open Blob in the assigned program (.docx => Word, ...)

    Declaration
    public static void ShowBlob(byte[] Blob, string MimeType)
    Parameters
    Type Name Description
    System.Byte[] Blob

    Blob

    System.String MimeType

    MimeType

    | Improve this Doc View Source

    ShowBlobByExtension(Byte[], String)

    Opens a Blob with the default program

    Declaration
    public static void ShowBlobByExtension(byte[] blob, string fileExtension)
    Parameters
    Type Name Description
    System.Byte[] blob

    Blob as Byte-Array

    System.String fileExtension

    file extension

    | Improve this Doc View Source

    ShowBlobByExtension(Byte[], String, String)

    Opens a Blob with the default program

    Declaration
    public static void ShowBlobByExtension(byte[] blob, string fileExtension, string fileName = null)
    Parameters
    Type Name Description
    System.Byte[] blob

    Blob as Byte-Array

    System.String fileExtension

    file extension

    System.String fileName

    file name

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