Package com.priint.pubserver.comet.bridge.contextrule
package com.priint.pubserver.comet.bridge.contextrule
Local and remote interfaces for the DocumentContextRule EJB
This bean provides a collection of basic rules to obtain context criteria from the document.
User defined context rules can be added as methods of a PubServerPlugin Stateless or Singleton bean.
Furthermore, the following conditions must be fulfilled:
- the return type for context rule methods must be java.lang.String
- the method must be annotated as @PubServerMethod with type PluginMethod.MethodType.CONTEXTRULE
- parameters should be annotated as @PubServerMethodParameters
See the com.priint.pubserver.comet.bridge.contextrule package info for examples and more information.
-
ClassDescriptionThe Interface ContextRule which contains ContextCriteria Enum.\The Enum ContextCriteria WELL, ASSORTMENT, COUNTRY, LANGUAGE, PUBLICATION, DOCUMENTID, TARGETGROUP, MARKETNAME .The Class ContextRules.The Interface DocumentContextRuleLocal.