Class DocumentContextRule

java.lang.Object
com.priint.pubserver.plugin.PluginControlDefault
com.priint.pubserver.comet.bridge.contextrule.DocumentContextRule
All Implemented Interfaces:
com.priint.pubserver.comet.bridge.contextrule.DocumentContextRuleLocal, com.priint.pubserver.plugin.interfaces.PluginControl

public class DocumentContextRule extends com.priint.pubserver.plugin.PluginControlDefault implements com.priint.pubserver.comet.bridge.contextrule.DocumentContextRuleLocal
  • Field Summary

    Fields inherited from interface com.priint.pubserver.comet.bridge.contextrule.DocumentContextRuleLocal

    MAPPED_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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)
     

    Methods inherited from class com.priint.pubserver.plugin.PluginControlDefault

    afterCreateConfigurations, afterDeleteConfigurations, afterUpdateConfigurations, createConfiguration, deleteConfigurations, getSession, getSessionId, initInstance, loadServerConfig, ping, readSessionAttribute, updateConfigurations, writeSessionAttribute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.priint.pubserver.plugin.interfaces.PluginControl

    validateConfigurations
  • Constructor Details

    • DocumentContextRule

      public DocumentContextRule()
  • Method Details

    • useLayerName

      public String useLayerName(String contextCriteria, String format)
      Specified by:
      useLayerName in interface com.priint.pubserver.comet.bridge.contextrule.DocumentContextRuleLocal
    • useDocumentVariable

      public String useDocumentVariable(String contextCriteria, String name) throws com.priint.pubserver.exception.PubServerException
      Use a document variable for this context criteria
      Specified by:
      useDocumentVariable in interface com.priint.pubserver.comet.bridge.contextrule.DocumentContextRuleLocal
      Parameters:
      contextCriteria - the context criteria. This value will be set by the application framework
      name - The name of the document variable
      Returns:
      Throws:
      com.priint.pubserver.exception.PubServerException