Instances of this class are used to exchange data between the Favourites Engine and clients using it.
|
Public Types |
| enum | TType { ENone,
EItem,
EFolder
} |
| | Type of an item (item or folder). More...
|
Public Member Functions |
| virtual IMPORT_C | ~CFavouritesItem () |
| | Destructor.
|
| IMPORT_C CFavouritesItem & | operator= (const CFavouritesItem &aCopyFrom) |
| | Assignment operator.
|
| IMPORT_C TInt | Uid () const |
| | Get unique id of the item.
|
| IMPORT_C TInt | ParentFolder () const |
| | Get the uid of the parent folder of this item.
|
| IMPORT_C TType | Type () const |
| | Get type of the item (item or folder).
|
| IMPORT_C const TPtrC | Name () const |
| | Get the name of this item.
|
| IMPORT_C const TPtrC | Url () const |
| | Get the URL of this item.
|
| IMPORT_C TFavouritesWapAp | WapAp () const |
| | Get WAP Access Point id associated with this item.
|
| IMPORT_C const TPtrC | UserName () const |
| | Get the username associated with this item.
|
| IMPORT_C const TPtrC | Password () const |
| | Get password associated with this item.
|
| IMPORT_C TInt32 | ContextId () const |
| | Get context id associated with this item.
|
| IMPORT_C TBool | IsItem () const |
| | Check if this is an item (not folder).
|
| IMPORT_C TBool | IsFolder () const |
| | Check if this is a folder.
|
| IMPORT_C TBool | IsFactoryItem () const |
| | Check if this is a factory item.
|
| IMPORT_C TBool | IsReadOnly () const |
| | Check if this is a read-only in database.
|
| IMPORT_C TTime | Modified () const |
| | Get last modification time (of database entry), universal time.
|
| IMPORT_C void | ClearL () |
| | Reset the item to default values.
|
| IMPORT_C void | SetParentFolder (TInt aId) |
| | Set parent folder.
|
| IMPORT_C void | SetType (TType aType) |
| | Set item type (item or folder).
|
| IMPORT_C void | SetNameL (const TDesC &aName) |
| | Set name of the item.
|
| IMPORT_C void | SetUrlL (const TDesC &aUrl) |
| | Set URL of the item.
|
| IMPORT_C void | SetWapAp (const TFavouritesWapAp &aAccessPoint) |
| | Set WAP Access Point of the item.
|
| IMPORT_C void | SetUserNameL (const TDesC &aUserName) |
| | Set username of the item.
|
| IMPORT_C void | SetPasswordL (const TDesC &aPassword) |
| | Set password.
|
| IMPORT_C void | SetContextId (TInt32 aContextId) |
| | Set context id of the item.
|
| void | ExternalizeL (RWriteStream &aStream) const |
| | Externalize into a stream.
|
| void | InternalizeL (RReadStream &aStream) |
| | Internalize from a stream.
|
Static Public Member Functions |
| static IMPORT_C CFavouritesItem * | NewLC () |
| | Two-phased constructor.
|
| static IMPORT_C CFavouritesItem * | NewL () |
| | Two-phased constructor.
|
Friends |
| class | RFavouritesDb |