Package com.priint.pubserver.comet.bridge.datamapping
Data Mapping: com.priint.pubserver.comet.bridge.datamapping
Contains local and remote interfaces for the several DataMapping EJBs.
The purpose of data mapping methods is to map data obtained from the EntityModelManager to a format suitable for the output system, i.e. InDesign or priint:pdf renderer
User defined data mappings can be added as methods of a PubServerPlugin Stateless or Singleton bean.
Furthermore, the following conditions must be fulfilled:
- the method must be annotated as @PubServerMethod with type PluginMethod.MethodType.DATAMAPPING
- parameters should be annotated as @PubServerMethodParameters
- the first parameter must take the result list of the EntityModelManager request. The parameter name should be inputList and it should annotated as @PubServerMethodParameter
- inputList must be a java.util.List, the list elements can be any of the com.priint.pubserver.plugin.entitydata types
- the return type must be any of:
- java.lang.String
- all primitive types including the corresponding Java class type
- any of the com.priint.pubserver.comet.bridge.entitydata types
- java.util.Lists of any of these types
See the com.priint.pubserver.comet.bridge.datamapping package info for examples and more information.
-
Interface Summary Interface Description CometDataMapping The interface Comet data mapping.CometIdBuilder Interface for ID builders.DataMappingToElementLocal Interface for the DataMappingToElement Plug-In.DataMappingToPreviewLocal The interface Data mapping to preview local.DataMappingToProductLocal The interface Data mapping to product local.DataMappingToRecordIdLocal The interface Data mapping to record id local.DataMappingToStringLocal The interface Data mapping to string local.DataMappingUtilitiesLocal The interface Data mapping utilities local.EntityResultFilter Interface for entity result filters.ProductDataMapping Interface for ProductDataMapping Plugins. -
Class Summary Class Description CometIdBuilderFactory The CometIdBuilderFactory provides factory methods for several standard IdBuildersDataMappingUtils The type Data mapping utils.EntityResultAll EntityResultFilter implementation, which is used, when no entities should be hidden.EntityResultFilterDefault Default implementation of EntityResultFilter.ProductDataMappingDefault The type Product data mapping default.ProductDataMappingDefault.PageItemHash The type Page item hash.ProductDataMappingDefault.PageTemplateHash The type Page template hash.ProductDataMappingUtils The type Product data mapping utils. -
Enum Summary Enum Description CometDataMapping.IdMapping Enumeration flag to specify type of mapping.