Interface TemplateVariationDefinition

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getContentId()
      Returns the optional id of the referenced content to retrieve the template variation content with the content engine.
      String getDeploymentId()
      Returns the deployment id this definition variation was deployed with.
      String getExternalId()
      Returns the optional external id this template variation is linked with (e.g.
      String getId()
      Returns the unique id of this template variation definition.
      String getName()
      Returns the name of this template variation definition.
      String getResourceName()
      Returns the optional resource name of the persisted template.
      String getTemplateDefinitionKey()
      Returns the referenced business key of the TemplateDefinition this variation is based on.
      String getTenantId()
      Returns the id of the tenant this definition variation belongs to.
      Date getValidFrom()
      Returns the timestamp from which this template variation is valid, must not be null, use new Date(0L) instead if the variation definition should be valid back in time.
      Date getValidTo()
      Returns the timestamp until which this template variation is valid, must not be null, use new Date(Long.MAX_VALUE) instead if the variation definition should be valid forever.
      String getVariationKey()
      Returns the single, composed variation key created out of all variation values this template is used for (e.g.
      int getVersion()
      Returns the version of this template variation definition (increases upon a new deployment).
      boolean hasSmallContent()
      Returns true, if this template only has small content (e.g.
    • Method Detail

      • getId

        String getId()
        Returns the unique id of this template variation definition.
      • getTemplateDefinitionKey

        String getTemplateDefinitionKey()
        Returns the referenced business key of the TemplateDefinition this variation is based on.
      • getVersion

        int getVersion()
        Returns the version of this template variation definition (increases upon a new deployment).
      • getValidFrom

        Date getValidFrom()
        Returns the timestamp from which this template variation is valid, must not be null, use new Date(0L) instead if the variation definition should be valid back in time.
      • getValidTo

        Date getValidTo()
        Returns the timestamp until which this template variation is valid, must not be null, use new Date(Long.MAX_VALUE) instead if the variation definition should be valid forever.
      • getDeploymentId

        String getDeploymentId()
        Returns the deployment id this definition variation was deployed with.
      • getTenantId

        String getTenantId()
        Returns the id of the tenant this definition variation belongs to.
      • getExternalId

        String getExternalId()
        Returns the optional external id this template variation is linked with (e.g. the id of a template message in WeChat or an externally referenced document template in a ECM system).
      • getVariationKey

        String getVariationKey()
        Returns the single, composed variation key created out of all variation values this template is used for (e.g. 'che_de' or 'mobile_de', etc).
      • getName

        String getName()
        Returns the name of this template variation definition.
      • hasSmallContent

        boolean hasSmallContent()
        Returns true, if this template only has small content (e.g. a message or email template), false, if the content needs to be retrieved with the content engine.
      • getContentId

        String getContentId()
        Returns the optional id of the referenced content to retrieve the template variation content with the content engine. If this template variation only contains small content (hasSmallContent() returning true), the content id is null.
      • getResourceName

        String getResourceName()
        Returns the optional resource name of the persisted template.