Interface DataMappingToRecordIdLocal
-
public interface DataMappingToRecordIdLocalThe interface Data mapping to record id local.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJNDINAMEThe constant JNDINAME "java:global/CometDataMapping/DataMappingToRecordId!com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordIdLocal".static java.lang.StringMAPPED_NAMEThe constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordId".
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RecordId>bucketsToRecordIds(java.util.List<Bucket> buckets)Buckets to record ids list.java.util.List<RecordId>cordsToRecordIds(java.util.List<Cord> cords)Cords to record ids list.RecordIdcreateRecordIdFromBucket(Bucket bucket)Create record id from bucket record id.RecordIdcreateRecordIdFromCord(Cord cord)Create record id from cord record id.RecordIdcreateRecordIdFromKeyValue(KeyValue keyValue)Create record id from key value record id.RecordIdcreateRecordIdFromMediaAsset(MediaAsset mediaAsset)Create record id from media asset record id.RecordIdcreateRecordIdFromPlanning(Planning planning, Context context)Create record id from planning record id.RecordIdcreateRecordIdFromPrice(Price price)Create record id from price record id.RecordIdcreateRecordIdFromText(Text text)Create record id from text record id.RecordIdcreateRecordIdFromTocEntry(CometTocEntry entry)Create record id from toc entry record id.java.util.List<RecordId>keyValuesToRecordIds(java.util.List<KeyValue> keyValues)Key values to record ids list.java.util.List<RecordId>mediaAssetsToRecordIds(java.util.List<MediaAsset> mediaAssets)Media assets to record ids list.java.util.List<RecordId>planningsToPlanningRecordIds(java.util.List<Planning> inputList, Context context, java.lang.String idProperty, java.lang.String id2Property, java.lang.String id3Property, java.lang.String stringIdProperty, java.lang.String groupNameProperty)Plannings to planning record ids list.java.util.List<RecordId>planningsToRecordIds(java.util.List<Planning> inputList, Context context)Plannings to record ids list.java.util.List<RecordId>planningsToRecordIdsGeneric(java.util.List<Planning> inputList, Context context, java.lang.String groupNameProperty)Plannings to record ids generic list.java.util.List<RecordId>pricesToRecordIds(java.util.List<Price> prices)Prices to record ids list.java.util.List<RecordId>textsToRecordIds(java.util.List<Text> texts)Texts to record ids list.java.util.List<RecordId>tocEntriesToRecordId(java.util.List<CometTocEntry> entries)Toc entries to record id list.
-
-
-
Field Detail
-
JNDINAME
static final java.lang.String JNDINAME
The constant JNDINAME "java:global/CometDataMapping/DataMappingToRecordId!com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordIdLocal".- See Also:
- Constant Field Values
-
MAPPED_NAME
static final java.lang.String MAPPED_NAME
The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordId".- See Also:
- Constant Field Values
-
-
Method Detail
-
bucketsToRecordIds
java.util.List<RecordId> bucketsToRecordIds(java.util.List<Bucket> buckets) throws CometException
Buckets to record ids list.- Parameters:
buckets- the buckets- Returns:
- the list
- Throws:
CometException- the comet exception
-
cordsToRecordIds
java.util.List<RecordId> cordsToRecordIds(java.util.List<Cord> cords) throws CometException
Cords to record ids list.- Parameters:
cords- the cords- Returns:
- the list
- Throws:
CometException- the comet exception
-
createRecordIdFromBucket
RecordId createRecordIdFromBucket(Bucket bucket)
Create record id from bucket record id.- Parameters:
bucket- the bucket- Returns:
- the record id
-
createRecordIdFromCord
RecordId createRecordIdFromCord(Cord cord)
Create record id from cord record id.- Parameters:
cord- the cord- Returns:
- the record id
-
createRecordIdFromKeyValue
RecordId createRecordIdFromKeyValue(KeyValue keyValue)
Create record id from key value record id.- Parameters:
keyValue- the key value- Returns:
- the record id
-
createRecordIdFromMediaAsset
RecordId createRecordIdFromMediaAsset(MediaAsset mediaAsset)
Create record id from media asset record id.- Parameters:
mediaAsset- the media asset- Returns:
- the record id
-
createRecordIdFromPrice
RecordId createRecordIdFromPrice(Price price)
Create record id from price record id.- Parameters:
price- the price- Returns:
- the record id
-
createRecordIdFromText
RecordId createRecordIdFromText(Text text)
Create record id from text record id.- Parameters:
text- the text- Returns:
- the record id
-
createRecordIdFromTocEntry
RecordId createRecordIdFromTocEntry(CometTocEntry entry)
Create record id from toc entry record id.- Parameters:
entry- the entry- Returns:
- the record id
-
keyValuesToRecordIds
java.util.List<RecordId> keyValuesToRecordIds(java.util.List<KeyValue> keyValues) throws CometException
Key values to record ids list.- Parameters:
keyValues- the key values- Returns:
- the list
- Throws:
CometException- the comet exception
-
mediaAssetsToRecordIds
java.util.List<RecordId> mediaAssetsToRecordIds(java.util.List<MediaAsset> mediaAssets) throws CometException
Media assets to record ids list.- Parameters:
mediaAssets- the media assets- Returns:
- the list
- Throws:
CometException- the comet exception
-
pricesToRecordIds
java.util.List<RecordId> pricesToRecordIds(java.util.List<Price> prices) throws CometException
Prices to record ids list.- Parameters:
prices- the prices- Returns:
- the list
- Throws:
CometException- the comet exception
-
textsToRecordIds
java.util.List<RecordId> textsToRecordIds(java.util.List<Text> texts) throws CometException
Texts to record ids list.- Parameters:
texts- the texts- Returns:
- the list
- Throws:
CometException- the comet exception
-
tocEntriesToRecordId
java.util.List<RecordId> tocEntriesToRecordId(java.util.List<CometTocEntry> entries) throws CometException
Toc entries to record id list.- Parameters:
entries- the entries- Returns:
- the list
- Throws:
CometException- the comet exception
-
planningsToRecordIds
java.util.List<RecordId> planningsToRecordIds(java.util.List<Planning> inputList, Context context) throws CometException
Plannings to record ids list.- Parameters:
inputList- the input listcontext- the context- Returns:
- the list
- Throws:
CometException- the comet exception
-
createRecordIdFromPlanning
RecordId createRecordIdFromPlanning(Planning planning, Context context) throws CometException
Create record id from planning record id.- Parameters:
planning- the planningcontext- the context- Returns:
- the record id
- Throws:
CometException- the comet exception
-
planningsToRecordIdsGeneric
java.util.List<RecordId> planningsToRecordIdsGeneric(java.util.List<Planning> inputList, Context context, java.lang.String groupNameProperty) throws CometException
Plannings to record ids generic list.- Parameters:
inputList- the input listcontext- the contextgroupNameProperty- the group name property- Returns:
- the list
- Throws:
CometException- the comet exception
-
planningsToPlanningRecordIds
java.util.List<RecordId> planningsToPlanningRecordIds(java.util.List<Planning> inputList, Context context, java.lang.String idProperty, java.lang.String id2Property, java.lang.String id3Property, java.lang.String stringIdProperty, java.lang.String groupNameProperty) throws CometException
Plannings to planning record ids list.- Parameters:
inputList- the input listcontext- the contextidProperty- the id propertyid2Property- the id 2 propertyid3Property- the id 3 propertystringIdProperty- the string id propertygroupNameProperty- the group name property- Returns:
- the list
- Throws:
CometException- the comet exception
-
-