Class DcsNativeSupportLoader

java.lang.Object
com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
com._1c.g5.v8.dt.dcsnative.common.DcsNativeSupportLoader

public class DcsNativeSupportLoader extends AbstractScomConnectionLoader
Special provider for getting content of the preview part of DataCompositionAppearanceTemplate by its xml serialization content and concrete Version.
Important: Client should call dispose() for release special data at the end operation for getting content of the preview part of DataCompositionAppearanceTemplate by its xml serialization content
  • Constructor Details

  • Method Details

    • getAppearanceTemplatePreviewContent

      public String getAppearanceTemplatePreviewContent(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale)
      Gets moxel document content of the preview part of appearance template.
      Important: There is no StyleItems in template
      Parameters:
      appearanceTemplate - actual DataCompositionAppearanceTemplate for getting preview content, can't be null
      langCode - current language code, can't be null
      locale - system locale, can't be null
      Returns:
      moxel document content of the preview part of appearance template, never null, can be empty if appearanceTemplate wasn't serialized to xml
    • getAppearanceTemplatePreviewContent

      public String getAppearanceTemplatePreviewContent(String appearanceTemplateXml, String langCode, String locale)
      Gets moxel document content of the preview part of appearance template
      Important: There is no StyleItems in template
      Parameters:
      appearanceTemplateXml - content of DataCompositionAppearanceTemplate serialized to xml, can't be null
      langCode - current language code, can't be null
      locale - system locale, can't be null
      Returns:
      moxel document content of the preview part of appearance template, never null
    • dispose

      public void dispose()
      Releases special data for getting moxel document content of the preview part of appearance template
      You should call this method if you have no plans to soon get moxel document content of the preview part of appearance template or calling other methods from this class. Attention! Client shouldn't call it after each call of methods from this class.