TPresCondIdentityOne Class Reference
class TPresCondIdentityOne |
This class should be used in conjunction with an already created CPresenceXDM. The CPresenceXDM deals with the Presence rules as a whole and has communication with the server. TPresCondIdentityOne is used to manipulate the 'one' identity part of a Condition in a rule. Remember to call Init function after constructing this object.
rlspresxdm.lib
- Since
- S60 3.2
Constructor & Destructor Documentation
TPresCondIdentityOne()
IMPORT_C | TPresCondIdentityOne | ( | ) | |
C++ Constructor, After contructing Init must be called before using this object.
Member Functions Documentation
AddIdentitiesL(const TDesC &, const MDesCArray &)
IMPORT_C TInt | AddIdentitiesL | ( | const TDesC & | aRuleID, |
| const MDesCArray & | aIds |
| ) | |
Adds condition identities to a rule. This functions doesnt give error if any or all ids already exists, nor it overwrites them.
Parameters
const TDesC & aRuleID | |
const MDesCArray & aIds | It contains array of ids. |
AddIdentityL(const TDesC &, const TDesC &)
Adds a condition identity to a rule
Parameters
const TDesC & aRuleID | |
const TDesC & aId | an identity to be added |
DeleteAllIdentitiesL(const TDesC &)
IMPORT_C void | DeleteAllIdentitiesL | ( | const TDesC & | aRuleID | ) | |
Deletes all conditions identities from a rule if found
DeleteIdentitiesL(const TDesC &, const MDesCArray &)
IMPORT_C void | DeleteIdentitiesL | ( | const TDesC & | aRuleID, |
| const MDesCArray & | aIds |
| ) | |
Deletes specific condition identities if they found.
Parameters
const TDesC & aRuleID | |
const MDesCArray & aIds | contains array of ids to be deleted. |
DeleteIdentityL(const TDesC &, const TDesC &)
Deletes an identity from a condition
GetIdentitiesL(const TDesC &, CDesCArray &)
Gets condition identities from a rule
Init(CPresenceXDM *const)
Initializes the object with the given pointer to CPresenceXDM. This function must be called before using other functions.
IsIdExistInNodeArray(const RPointerArray< CXdmDocumentNode > &, const TDesC &)
Finds whether the given id exists in the node array
IsIdentityExistL(const TDesC &, const TDesC &)
Finds if a identity exist in a rule
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.