emailservices/emailstore/message_store/server/inc/ContainerStoreSortingTable.h
branchRCL_3
changeset 29 6b8f3b30d0ec
parent 8 e1b6206813b4
child 63 d189ee25cf9d
equal deleted inserted replaced
26:67369d1b217f 29:6b8f3b30d0ec
   111         TBool EncryptFirstL( TDbBookmark& aNextRow );
   111         TBool EncryptFirstL( TDbBookmark& aNextRow );
   112         TBool EncryptNextL( TDbBookmark& aNextRow );
   112         TBool EncryptNextL( TDbBookmark& aNextRow );
   113         
   113         
   114         TBool DecryptFirstL( TDbBookmark& aNextRow );
   114         TBool DecryptFirstL( TDbBookmark& aNextRow );
   115         TBool DecryptNextL( TDbBookmark& aNextRow );
   115         TBool DecryptNextL( TDbBookmark& aNextRow );
       
   116         TBool DeleteNextContainerMarkedForDeletionL();
   116         
   117         
   117 	private:
   118 	private:
   118 
   119 
   119         // ===============
   120         // ===============
   120         // PRIVATE METHODS
   121         // PRIVATE METHODS
   157         
   158         
   158         TInt GetColumnNumL( TMsgStoreSortByField aSortBy );
   159         TInt GetColumnNumL( TMsgStoreSortByField aSortBy );
   159         
   160         
   160         TBool IsEncrypted( RDbRowSet& aRowSet );
   161         TBool IsEncrypted( RDbRowSet& aRowSet );
   161         void SetEncryptedL( TBool aIsEncrypted );
   162         void SetEncryptedL( TBool aIsEncrypted );
   162         
   163         void CreateMarkedForDeletionTableL();
   163 
   164         void CreateOrOpenMarkedForDeletionTableL();
       
   165         void MarkIdForDeletionL( TContainerId aId);
       
   166         TBool DeleteNextMessageL( TContainerId aId );
       
   167         TBool DeleteFromMarkedForDeletionTableL();
   164     private:
   168     private:
   165     
   169     
   166         // ==================
   170         // ==================
   167         // PRIVATE ATTRIBUTES
   171         // PRIVATE ATTRIBUTES
   168         // ==================
   172         // ==================
   184         TInt                  iToColNum;
   188         TInt                  iToColNum;
   185         TInt                  iSubjectColNum;
   189         TInt                  iSubjectColNum;
   186         TInt                  iIsEncryptedColNum;
   190         TInt                  iIsEncryptedColNum;
   187         
   191         
   188         TUint                 iFieldsChanged;
   192         TUint                 iFieldsChanged;
   189 	    
   193         RDbTable              iMarkedForDeleteTable;
       
   194         TInt                  iMarkedForDeleteIdColNum;
   190 	    __LOG_DECLARATION
   195 	    __LOG_DECLARATION
   191     		
   196     		
   192 	}; // end class CContainerStoreSortingTable
   197 	}; // end class CContainerStoreSortingTable
   193 
   198 
   194 #endif
   199 #endif