Show / Hide Table of Contents

Class DocumentDataHandler

Inheritance
Object
DataHandlerBase
ActivityDialogDataHandler
DocumentDataHandler
Implements
IDataHandler
IWebObject
IPlugin
Inherited Members
ActivityDialogDataHandler._currentEntity
ActivityDialogDataHandler._superState
ActivityDialogDataHandler.SetActivityCustomValues(IActivityEntityCarrier, String)
DataHandlerBase.isPreLoadMode
DataHandlerBase._dataCarriers
DataHandlerBase._mandatoryDataCarriers
DataHandlerBase._primaryCurrent
DataHandlerBase._currentHistoryItem
DataHandlerBase._config
DataHandlerBase._id
DataHandlerBase._hasLoaded
DataHandlerBase._isNew
DataHandlerBase.GetRawDataValue(String, String)
DataHandlerBase.GetRawDataValue(String)
DataHandlerBase.Clear()
DataHandlerBase.New()
DataHandlerBase.OnBeforeValidate()
DataHandlerBase.CheckMandatoryData(String)
DataHandlerBase.DataCarriersToExpose
DataHandlerBase.ExposeToClient
DataHandlerBase.Id
DataHandlerBase.HasLoaded
DataHandlerBase.IsNew
DataHandlerBase.DataCarriers
DataHandlerBase.PrimaryCurrent
DataHandlerBase.CurrentHistoryItem
DataHandlerBase.EventArgument
DataHandlerBase.EventTarget
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Web.Data
Assembly: SuperOffice.CRMWeb.dll
Syntax
public class DocumentDataHandler : ActivityDialogDataHandler, IDataHandler, IWebObject, IPlugin

Constructors

DocumentDataHandler()

Declaration
public DocumentDataHandler()

Properties

ActivityEntity

Declaration
protected override IActivityEntityCarrier ActivityEntity { get; }
Property Value
Type Description
IActivityEntityCarrier
Overrides
ActivityDialogDataHandler.ActivityEntity

ActivityEntityCurrentName

Declaration
protected override string ActivityEntityCurrentName { get; }
Property Value
Type Description
String
Overrides
ActivityDialogDataHandler.ActivityEntityCurrentName

Methods

CreateTempDocument(String, Stream)

Declaration
public static string CreateTempDocument(string name, Stream inputStream)
Parameters
Type Name Description
String name
Stream inputStream
Returns
Type Description
String

Delete()

Declaration
public override void Delete()
Overrides
DataHandlerBase.Delete()

DeleteTempBlob(String)

Declaration
public static void DeleteTempBlob(string blob_filename)
Parameters
Type Name Description
String blob_filename

DeleteTempDocument(String)

Declaration
public static void DeleteTempDocument(string name)
Parameters
Type Name Description
String name

GetBlobStream(String)

Declaration
public static Stream GetBlobStream(string blob_filename)
Parameters
Type Name Description
String blob_filename
Returns
Type Description
Stream

GetDocumentFilename(Int32)

Declaration
public static string GetDocumentFilename(int documentId)
Parameters
Type Name Description
Int32 documentId
Returns
Type Description
String

GetDocumentHeaderWithFileExtention(Int32)

Declaration
public static string GetDocumentHeaderWithFileExtention(int documentId)
Parameters
Type Name Description
Int32 documentId
Returns
Type Description
String

GetDocumentPreviewStream(Int32)

Declaration
public static Stream GetDocumentPreviewStream(int documentId)
Parameters
Type Name Description
Int32 documentId
Returns
Type Description
Stream

GetDocumentStream(Int32)

Declaration
public static Stream GetDocumentStream(int documentId)
Parameters
Type Name Description
Int32 documentId
Returns
Type Description
Stream

GetDocumentTemplateFilename(Int32)

Declaration
public static string GetDocumentTemplateFilename(int docTmplId)
Parameters
Type Name Description
Int32 docTmplId
Returns
Type Description
String

GetDocumentTemplateStream(Int32, String)

Declaration
public static Stream GetDocumentTemplateStream(int docTmplId, string languageCode = "")
Parameters
Type Name Description
Int32 docTmplId
String languageCode
Returns
Type Description
Stream

GetOurRef(DocumentEntity)

Declaration
public static string GetOurRef(DocumentEntity entity)
Parameters
Type Name Description
DocumentEntity entity
Returns
Type Description
String

GetSalutation(DocumentEntity)

Declaration
public static string GetSalutation(DocumentEntity documentEntity)
Parameters
Type Name Description
DocumentEntity documentEntity
Returns
Type Description
String

GetSuggestedDocumentId()

Declaration
public static int GetSuggestedDocumentId()
Returns
Type Description
Int32

GetSuperOfficeFilename(DocumentEntity)

Declaration
public static string GetSuperOfficeFilename(DocumentEntity document)
Parameters
Type Name Description
DocumentEntity document
Returns
Type Description
String

GetTempDocumentStream(String)

Declaration
public static Stream GetTempDocumentStream(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Stream

Initialize(XmlNode, String)

Declaration
public override void Initialize(XmlNode config, string id)
Parameters
Type Name Description
XmlNode config
String id
Overrides
ActivityDialogDataHandler.Initialize(XmlNode, String)

IsEmailEnabled()

Declaration
public static bool IsEmailEnabled()
Returns
Type Description
Boolean

IsEmailTemplate(Int32)

Declaration
public static bool IsEmailTemplate(int docTemplateId)
Parameters
Type Name Description
Int32 docTemplateId
Returns
Type Description
Boolean

isQuoteTemplate(Int32)

Declaration
public bool isQuoteTemplate(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Boolean

Load(String)

Declaration
public override void Load(string carrierId)
Parameters
Type Name Description
String carrierId
Overrides
ActivityDialogDataHandler.Load(String)

New(String)

Declaration
public override void New(string carrierId)
Parameters
Type Name Description
String carrierId
Overrides
ActivityDialogDataHandler.New(String)

OnBeforeDataBind()

Declaration
public override void OnBeforeDataBind()
Overrides
DataHandlerBase.OnBeforeDataBind()

Save()

Declaration
public override object Save()
Returns
Type Description
Object
Overrides
ActivityDialogDataHandler.Save()

SubstituteTemplateVariables(DocumentEntity, String)

Declaration
public static string SubstituteTemplateVariables(DocumentEntity entity, string str)
Parameters
Type Name Description
DocumentEntity entity
String str
Returns
Type Description
String

Implements

IDataHandler
IWebObject
SuperOffice.Factory.IPlugin
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top