contentstorage/cautils/inc/cainnerquery.h
changeset 104 9b022b1f357c
parent 61 8e5041d13c84
child 127 7b66bc3c6dc9
equal deleted inserted replaced
103:b99b84bcd2d1 104:9b022b1f357c
    88      * @return Id of entry's parent.
    88      * @return Id of entry's parent.
    89      */
    89      */
    90     IMPORT_C TInt GetParentId() const;
    90     IMPORT_C TInt GetParentId() const;
    91 
    91 
    92     /**
    92     /**
    93      * Sets the parent id to be queried. This will cause returning only entries whose aprent ids are aId.
    93      * Sets the parent id to be queried. This will cause returning only entries whose parent ids are aId.
    94      * @param aId The parent id to be set for the query.
    94      * @param aId The parent id to be set for the query.
    95      */
    95      */
    96     IMPORT_C void SetParentId( TInt aId );
    96     IMPORT_C void SetParentId( TInt aId );
    97 
    97 
       
    98     /**
       
    99      * Returns the child id set for the query.
       
   100      * @return Id of entry's child.
       
   101      */
       
   102     IMPORT_C TInt GetChildId() const;
       
   103 
       
   104     /**
       
   105      * Sets the child id to be queried. This will cause returning parents of the entry with id aId
       
   106      * @param aId The child id to be set for the query.
       
   107      */
       
   108     IMPORT_C void SetChildId( TInt aId );
       
   109     
       
   110     
    98     /**
   111     /**
    99      * Gets the typenames filter set in the query.
   112      * Gets the typenames filter set in the query.
   100      * @return Array of typenames set in this query. 
   113      * @return Array of typenames set in this query. 
   101      */
   114      */
   102     IMPORT_C const CDesC16ArrayFlat* GetEntryTypeNames() const;
   115     IMPORT_C const CDesC16ArrayFlat* GetEntryTypeNames() const;
   229      * Unique identifier of the parent.
   242      * Unique identifier of the parent.
   230      */
   243      */
   231     TInt iParentId;
   244     TInt iParentId;
   232 
   245 
   233     /*
   246     /*
       
   247      * Unique identifier of the child entry.
       
   248      */
       
   249     TInt iChildId;
       
   250 
       
   251     /*
   234      * Own.
   252      * Own.
   235      */
   253      */
   236     CDesC16ArrayFlat* iEntryTypeNames;
   254     CDesC16ArrayFlat* iEntryTypeNames;
   237 
   255 
   238     /*
   256     /*