contentpublishingsrv/contentpublishingserver/cpserver/inc/cpactiondatacache.h
branchRCL_3
changeset 74 edd621764147
parent 51 15e4dd19031c
equal deleted inserted replaced
64:b276298d5729 74:edd621764147
    65      * @param aParamList a list to be added to the cache
    65      * @param aParamList a list to be added to the cache
    66      */
    66      */
    67     void AppendL( const CLiwGenericParamList* aParamList); 
    67     void AppendL( const CLiwGenericParamList* aParamList); 
    68     
    68     
    69     /**
    69     /**
       
    70      * Appends empty item to the cache to indicate that the entry 
       
    71      * doesn't exist in a storage and it makes not sense to call GetList
       
    72      * operation on a storage
       
    73      * 
       
    74      * @param aIdsMap a map containing entry identifiers
       
    75      */
       
    76     void AppendEmptyL( const CLiwMap* aIdsMap );
       
    77 
       
    78     /**
    70      * Checks if it is possible to cache the item. 
    79      * Checks if it is possible to cache the item. 
    71      * Only items that are specified, which means that id or 
    80      * Only items that are specified, which means that id or 
    72      * all parameters ( publisher, content_type, content_id ) are provided
    81      * all parameters ( publisher, content_type, content_id ) are provided
    73      * 
    82      * 
    74      * @param aMap a map containing item identifiers 
    83      * @param aMap a map containing item identifiers 
   111      * @param aCachedMap a map from the cache containing item identifiers 
   120      * @param aCachedMap a map from the cache containing item identifiers 
   112      * @param aInputMap an input map containing item identifiers 
   121      * @param aInputMap an input map containing item identifiers 
   113      * @return ETrue if items match , EFalse if not
   122      * @return ETrue if items match , EFalse if not
   114      */
   123      */
   115     TBool MatchL(const CLiwMap* aCachedMap, const CLiwMap* aInputMap);
   124     TBool MatchL(const CLiwMap* aCachedMap, const CLiwMap* aInputMap);
       
   125     
       
   126     /**
       
   127      * Checks if types of two items match
       
   128      * 
       
   129      * @param aCachedMap a map from the cache containing item identifiers 
       
   130      * @param aInputMap an input map containing item identifiers 
       
   131      * @return ETrue if types match , EFalse if not
       
   132      */
       
   133     TBool TypesMatchL(const CLiwMap* aCachedMap, const CLiwMap* aInputMap);
       
   134     
       
   135     /**
       
   136      * Extracts RBuf from a variant
       
   137      * 
       
   138      * @param aVariant a variant
       
   139      * @param aBuf a result descriptor
       
   140      */
       
   141     void ExtractRBufL(const TLiwVariant& aVariant, RBuf& aBuf);
   116     
   142     
   117     /**
   143     /**
   118      * Checks if two strings contained in both maps match
   144      * Checks if two strings contained in both maps match
   119      * 
   145      * 
   120      * @param aLeft first map
   146      * @param aLeft first map