Interface DocumentContextRuleLocal


public interface DocumentContextRuleLocal
The Interface DocumentContextRuleLocal.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant MAPPED_NAME: "com.priint.pubserver.comet.bridge.contextrule.DocumentContextRule"
  • Method Summary

    Modifier and Type
    Method
    Description
    useDocumentVariable(String contextCriteria, String name)
    Use a document variable for this context criteria.
    useLayerName(String contextCriteria, String format)
    Use the layer name of the output document to determine context criteria.\nThis method takes one parameter, which describes the expected format of the layer name, e.g.
  • Field Details

    • MAPPED_NAME

      static final String MAPPED_NAME
      The Constant MAPPED_NAME: "com.priint.pubserver.comet.bridge.contextrule.DocumentContextRule"
      See Also:
  • Method Details

    • useDocumentVariable

      String useDocumentVariable(String contextCriteria, String name) throws PubServerException
      Use a document variable for this context criteria.
      Parameters:
      contextCriteria - the context criteria
      name - the name
      Returns:
      the string
      Throws:
      PubServerException - the pub server exception
    • useLayerName

      String useLayerName(String contextCriteria, String format)
      Use the layer name of the output document to determine context criteria.\nThis method takes one parameter, which describes the expected format of the layer name, e.g. \"text#language\".\nWhen applied for the language criteria and the target layer name is \"descriptions#eng\", the context language will be set to English. The same rule applied for country, well or assortment will result in empty values for these criteria.
      Parameters:
      contextCriteria - the context criteria
      format - the format
      Returns:
      the string