contentpublishingsrv/contentpublishingserver/cpserver/inc/cpactiondatacache.h
branchRCL_3
changeset 19 edd621764147
parent 14 15e4dd19031c
--- a/contentpublishingsrv/contentpublishingserver/cpserver/inc/cpactiondatacache.h	Tue Apr 27 16:57:49 2010 +0300
+++ b/contentpublishingsrv/contentpublishingserver/cpserver/inc/cpactiondatacache.h	Tue May 11 16:30:05 2010 +0300
@@ -67,6 +67,15 @@
     void AppendL( const CLiwGenericParamList* aParamList); 
     
     /**
+     * Appends empty item to the cache to indicate that the entry 
+     * doesn't exist in a storage and it makes not sense to call GetList
+     * operation on a storage
+     * 
+     * @param aIdsMap a map containing entry identifiers
+     */
+    void AppendEmptyL( const CLiwMap* aIdsMap );
+
+    /**
      * Checks if it is possible to cache the item. 
      * Only items that are specified, which means that id or 
      * all parameters ( publisher, content_type, content_id ) are provided
@@ -115,6 +124,23 @@
     TBool MatchL(const CLiwMap* aCachedMap, const CLiwMap* aInputMap);
     
     /**
+     * Checks if types of two items match
+     * 
+     * @param aCachedMap a map from the cache containing item identifiers 
+     * @param aInputMap an input map containing item identifiers 
+     * @return ETrue if types match , EFalse if not
+     */
+    TBool TypesMatchL(const CLiwMap* aCachedMap, const CLiwMap* aInputMap);
+    
+    /**
+     * Extracts RBuf from a variant
+     * 
+     * @param aVariant a variant
+     * @param aBuf a result descriptor
+     */
+    void ExtractRBufL(const TLiwVariant& aVariant, RBuf& aBuf);
+    
+    /**
      * Checks if two strings contained in both maps match
      * 
      * @param aLeft first map