Class AddInExtension

java.lang.Object
com._1c.g5.v8.dt.addin.model.AddInExtension

public class AddInExtension extends Object
Operation implementations for EClass AddIn
  • Constructor Details

    • AddInExtension

      public AddInExtension()
  • Method Details

    • getContent

      public static InputStream getContent(AddIn addIn)
      Gets the contents of the specified AddIn instance.
      Parameters:
      addIn - The AddIn instance. May not be null.
      Returns:
      an InputStream instance providing the content. Never null.
    • setContent

      public static void setContent(AddIn addIn, InputStream content)
      Sets the contents of the specified AddIn instance.
      Parameters:
      addIn - The AddIn instance. May not be null.
      content - An InputStream instance providing the content. May not be null.
    • isAddInContentBlobFqn

      public static boolean isAddInContentBlobFqn(String fqn)
      Checks if the specified FQN belongs to an add-in content blob.
      Parameters:
      fqn - The FQN. May not be null.
      Returns:
      true if the specified FQN belongs to an add-in content blob, false otherwise.
    • buildAddInContentBlobFqn

      public static String buildAddInContentBlobFqn(AddIn addIn)
      Builds add-in content blob FQN.
      Parameters:
      addIn - The add-in. May not be null.
      Returns:
      the blob FQN. Never null.
    • buildAddInContentBlobFqn

      public static String buildAddInContentBlobFqn(String addInFqn)
      Builds add-in content blob FQN.
      Parameters:
      addIn - The add-in FQN. May not be null.
      Returns:
      the blob FQN. Never null.
    • extractAddInFqnFromContentBlobFqn

      public static String extractAddInFqnFromContentBlobFqn(String fqn)
      Extracts the add-in FQN from the corresponding content blob FQN.
      Parameters:
      fqn - The blob FQN. May not be null.
      Returns:
      the extracted add-in FQN. Never null.