contentstorage/castorage/inc/castorage.h
changeset 127 7b66bc3c6dc9
parent 107 b34d53f6acdf
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
    43      * Adds localization row to the localization table
    43      * Adds localization row to the localization table
    44      *
    44      *
    45      * @param aLocalization localization information about entry.
    45      * @param aLocalization localization information about entry.
    46      */
    46      */
    47     virtual void AddLocalizationL( const CCaLocalizationEntry& aLocalization ) = 0;
    47     virtual void AddLocalizationL( const CCaLocalizationEntry& aLocalization ) = 0;
    48     
    48 
    49     /**
    49     /**
    50      * Fetches data from database
    50      * Fetches data from database
    51      *
    51      *
    52      * @param aResultContainer container for localizations information.
    52      * @param aResultContainer container for localizations information.
    53      */
    53      */
    77      * Fetches parent id from database by entry ids.
    77      * Fetches parent id from database by entry ids.
    78      *
    78      *
    79      * @param aEntryIdArray list of enties ids.
    79      * @param aEntryIdArray list of enties ids.
    80      * @param aParentIdArray The result list of parents' ids
    80      * @param aParentIdArray The result list of parents' ids
    81      * for a specific select.
    81      * for a specific select.
    82      * @param aCheckParentsParent flag if set to true then 
    82      * @param aCheckParentsParent flag if set to true then
    83      * search also for parent of the parent 
    83      * search also for parent of the parent
    84      */
    84      */
    85     virtual void GetParentsIdsL( const RArray<TInt>& aEntryIdArray,
    85     virtual void GetParentsIdsL( const RArray<TInt>& aEntryIdArray,
    86             RArray<TInt>& aParentIdArray, 
    86             RArray<TInt>& aParentIdArray,
    87             TBool aCheckParentsParent = ETrue ) = 0;
    87             TBool aCheckParentsParent = ETrue ) = 0;
    88 
    88 
    89     /**
    89     /**
    90      * Adds or Updates data & action to the storage.
    90      * Adds or Updates data & action to the storage.
    91      *
    91      *
   147      * @param aGroupId Group to sort.
   147      * @param aGroupId Group to sort.
   148      */
   148      */
   149     virtual void CustomSortL( const RArray<TInt>& aEntryIds,
   149     virtual void CustomSortL( const RArray<TInt>& aEntryIds,
   150             const TInt aGroupId ) = 0;
   150             const TInt aGroupId ) = 0;
   151 
   151 
   152     
       
   153     /**
       
   154     * Saves a copy of database to private.
       
   155     */
       
   156     virtual void RestoreDatabaseL() = 0;
       
   157         
       
   158     /**
   152     /**
   159      * Saves a copy of database to private.
   153      * Saves a copy of database to private.
   160      */
   154      */
   161     virtual void SaveDatabaseL() = 0;
   155     virtual void SaveDatabaseL() = 0;
   162     
   156 
   163     /**
   157     /**
   164      * Loads data base from rom.
   158      * Loads data base from rom.
   165      */
   159      */
   166     virtual void LoadDataBaseFromRomL() = 0;
   160     virtual void LoadDataBaseFromRomL() = 0;
   167 
   161