TPresCondIdentityMany Class Reference
class TPresCondIdentityMany |
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. TPresCondIdentityMany is used to manipulate the 'many' element part of a Condition in a rule. Remember to call Init function after constructing this object.
rlspresxdm.lib
- Since
- S60 3.2
Public Member Functions |
---|
| TPresCondIdentityMany() |
IMPORT_C TInt | AddIdentitiesInManyExceptL(const TDesC &, const CDesCArray &, const TDesC &) |
IMPORT_C TInt | AddIdentityInManyExceptL(const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C TInt | AddManyIdentityL(const TDesC &, const TDesC &) |
IMPORT_C TInt | DeleteAllIdentitiesFromManyExceptL(const TDesC &, const TDesC &) |
IMPORT_C TInt | GetIdentitiesFromManyExceptL(const TDesC &, CDesCArray &, const TDesC &) |
IMPORT_C TInt | GetManyIdentityElementsL(const TDesC &, CDesCArray &) |
IMPORT_C void | Init(CPresenceXDM *const ) |
IMPORT_C TBool | IsIdentityExistsInManyExceptL(const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C TBool | IsManyExistsL(const TDesC &, const TDesC &) |
IMPORT_C TInt | RemoveIdentityFromManyExceptL(const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C TInt | RemoveManyIdentityL(const TDesC &, const TDesC &) |
Constructor & Destructor Documentation
TPresCondIdentityMany()
IMPORT_C | TPresCondIdentityMany | ( | ) | |
C++ Constructor, After contructing Init must be called before using this object.
Member Functions Documentation
AddIdentitiesInManyExceptL(const TDesC &, const CDesCArray &, const TDesC &)
Add identities to 'except' child of many element
AddIdentityInManyExceptL(const TDesC &, const TDesC &, const TDesC &)
IMPORT_C TInt | AddIdentityInManyExceptL | ( | const TDesC & | aRuleID, |
| const TDesC & | aEntity, |
| const TDesC & | aDomain |
| ) | |
Add identity to 'except' child of many element
AddManyIdentityL(const TDesC &, const TDesC &)
IMPORT_C TInt | AddManyIdentityL | ( | const TDesC & | aRuleID, |
| const TDesC & | aDomain |
| ) | |
Puts the 'many' element in identity, with domain name
DeleteAllIdentitiesFromManyExceptL(const TDesC &, const TDesC &)
IMPORT_C TInt | DeleteAllIdentitiesFromManyExceptL | ( | const TDesC & | aRuleID, |
| const TDesC & | aDomain |
| ) | |
Deletes all identities in the 'except' child of 'many'
GetIdentitiesFromManyExceptL(const TDesC &, CDesCArray &, const TDesC &)
Get identities from 'except' child of many element
GetManyIdentityElementsL(const TDesC &, CDesCArray &)
Get the number of 'many' elements in identity node, those elements which has domain name are returned in aDomains array
GetManyNodeL(const TDesC &, TBool, const TDesC &)
Gets the 'many' node pointer in a rule
Init(CPresenceXDM *const)
Initializes the object with the given pointer to CPresenceXDM. This function must be called before using other functions.
IsEntityExistInNodeArray(const RPointerArray< CXdmDocumentNode > &, const TDesC &)
Finds whether the given entity exists in the node array
IsIdentityExistsInManyExceptL(const TDesC &, const TDesC &, const TDesC &)
IMPORT_C TBool | IsIdentityExistsInManyExceptL | ( | const TDesC & | aRuleID, |
| const TDesC & | aEntity, |
| const TDesC & | aDomain |
| ) | |
Is identity exists in the 'except' child of many element
IsManyExistsL(const TDesC &, const TDesC &)
Finds whether 'many' element exists in identities or not, with optional domain name
RemoveIdentityFromManyExceptL(const TDesC &, const TDesC &, const TDesC &)
IMPORT_C TInt | RemoveIdentityFromManyExceptL | ( | const TDesC & | aRuleID, |
| const TDesC & | aEntity, |
| const TDesC & | aDomain |
| ) | |
Removes an identity from 'except' child of many element
RemoveManyIdentityL(const TDesC &, const TDesC &)
IMPORT_C TInt | RemoveManyIdentityL | ( | const TDesC & | aRuleID, |
| const TDesC & | aDomain |
| ) | |
Removes the 'many' element from identity, optional domain name
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.