CPublisherRegistryMap Class Reference

class CPublisherRegistryMap : public CCPLiwMap

Map which contains Publisher Registry information

cputils.dll
Since
S60 v5.0

Inherits from

Public Member Functions
~CPublisherRegistryMap()
IMPORT_C CPublisherRegistryMap *NewL()
IMPORT_C CPublisherRegistryMap *NewLC()
Private Member Functions
CPublisherRegistryMap()
TBool ActivateActionSupport()
TInt32 AddL(RSqlDatabase, CLiwDefaultList *)
TInt32 AddToDbL(RSqlDatabase, CLiwDefaultList *)
voidAppendFilterL(RBuf &, TUint &)
voidAppendSortL(RBuf &, const TCPSortOrder &)
voidConstructL()
voidFillChangeInfoMapL(RSqlStatement &, CLiwDefaultMap *)
TBool GetActivateInfo()
TUint GetListL(RSqlDatabase, CLiwGenericParamList *, RArray< TInt32 > &)
voidIsValidForDeleteL()
voidIsValidForGetListL()
voidPrepareStmtforAddL(RSqlDatabase, RSqlStatement &, const TDesC &)
voidPrepareStmtforUpdateL(RSqlDatabase, RSqlStatement &, TInt32)
voidRemoveL(RSqlDatabase, CLiwDefaultList *)
voidSaveQueryResultsL(RSqlStatement &, CLiwGenericParamList &, RArray< TInt32 > &)
voidUpdateL(RSqlDatabase, TInt32, CLiwDefaultList *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCPLiwMap::AppendGetListFilterL(RBuf &,TUint &)const
CCPLiwMap::AppendRemoveFilterL(RBuf &,TUint &)const
CCPLiwMap::AtL(TInt,TDes8 &)const
CCPLiwMap::BindBinaryL(RSqlStatement &,TInt,const TDesC8 &)const
CCPLiwMap::BindInt64L(RSqlStatement &,TInt,TInt64)const
CCPLiwMap::BindIntL(RSqlStatement &,TInt,TInt)const
CCPLiwMap::BindTextL(RSqlStatement &,TInt,const TDesC &)const
CCPLiwMap::BindValueL(const RBuf &,RSqlStatement &)const
CCPLiwMap::CCPLiwMap()
CCPLiwMap::CheckIdentifiersL()const
CCPLiwMap::ColumnIndexL(RSqlStatement &,const TDesC &)const
CCPLiwMap::ConstructGetListSelectL(RBuf &,TBool)const
CCPLiwMap::ConstructRemoveSelectL(RBuf &,TBool)const
CCPLiwMap::ConstructSelectIdL(RBuf &)const
CCPLiwMap::Count()const
CCPLiwMap::ExternalizeL(RWriteStream &)const
CCPLiwMap::ExtractParamL(const TLiwGenericParam &)
CCPLiwMap::FetchIdL(RSqlDatabase,const TDesC &,TInt32 &)const
CCPLiwMap::FetchIdsL(TInt32,const TDesC &,CLiwDefaultMap *,RSqlDatabase)const
CCPLiwMap::FindL(const TDesC8 &,TLiwVariant &)const
CCPLiwMap::GetActionTriggersLC()const
CCPLiwMap::GetFilterL()const
CCPLiwMap::GetIdsOfRemovedEntriesL(RSqlDatabase,const TDesC &,CLiwDefaultList *)const
CCPLiwMap::GetListL(RSqlDatabase,const TDesC &,CLiwGenericParamList *,RArray< TInt32 > &)const
CCPLiwMap::GetProperty(const TDesC8 &,TInt32 &)const
CCPLiwMap::GetPropertyL(const TDesC8 &,RBuf &)const
CCPLiwMap::GetPropertyL(const TDesC8 &,RBuf8 &)const
CCPLiwMap::GetSortL()const
CCPLiwMap::InsertL(const TDesC8 &,const TLiwVariant &)
CCPLiwMap::IsContentIdL()const
CCPLiwMap::IsContentTypeL()const
CCPLiwMap::IsFlag()const
CCPLiwMap::IsGetListAllL(TUint)const
CCPLiwMap::IsId()const
CCPLiwMap::IsProperOperationL(const TLiwVariant &)const
CCPLiwMap::IsPropertyValidL(const TDesC8 &)const
CCPLiwMap::IsPublisherNameL()const
CCPLiwMap::IsTriggerL()const
CCPLiwMap::IsTypePublisherL(const TLiwVariant &)
CCPLiwMap::IsValidForActionL()const
CCPLiwMap::IsValidForAddL()const
CCPLiwMap::IsValidForNotificationL()const
CCPLiwMap::NewL(RDesReadStream &)
CCPLiwMap::NewL(const CLiwGenericParamList &)
CCPLiwMap::NewL(const CLiwMap &)
CCPLiwMap::PackForServerLC()const
CCPLiwMap::PropertyExists(const TDesC8 &)const
CCPLiwMap::Remove(const TDesC8 &)
CCPLiwMap::RemoveAllAttributeL(TUint &)const
CCPLiwMap::RemoveL(RSqlDatabase,const TDesC &)const
CCPLiwMap::Reset()const
CCPLiwMap::SaveQueryResultsIdsL(RSqlStatement &,CLiwDefaultList *)const
CCPLiwMap::SetL(const CLiwGenericParamList &)
CCPLiwMap::SetL(const CLiwMap &)
CCPLiwMap::SetSecurityL(const RMessage2 &)
CCPLiwMap::Size()const
CCPLiwMap::~CCPLiwMap()
CLiwContainer::CLiwContainer()
CLiwContainer::Close()
CLiwContainer::DecRef()
CLiwContainer::IncRef()
CLiwContainer::PushL()
CLiwContainer::~CLiwContainer()
CLiwMap::operator==(const CLiwMap &)const
Inherited Enumerations
CCPLiwMap:TCPProperties
CCPLiwMap:TCPSortOrder
Inherited Attributes
CCPLiwMap::iMap
CCPLiwMap::iPolicy

Constructor & Destructor Documentation

CPublisherRegistryMap()

CPublisherRegistryMap()[private]

C++ default constructor.

~CPublisherRegistryMap()

~CPublisherRegistryMap()[virtual]

Destructor.

Member Functions Documentation

ActivateActionSupport()

TBool ActivateActionSupport()const [private, virtual]

AddL(RSqlDatabase, CLiwDefaultList *)

TInt32 AddL(RSqlDatabaseaSqlDb,
CLiwDefaultList *aNotificationList = 0
)const [private, virtual]

Adds to database current content

Parameters

RSqlDatabase aSqlDbhandle to database
CLiwDefaultList * aNotificationList = 0list of notifications to fill in when something was actually changed in dataabse

AddToDbL(RSqlDatabase, CLiwDefaultList *)

TInt32 AddToDbL(RSqlDatabaseaSqlDb,
CLiwDefaultList *aNotificationList
)const [private, virtual]

Performs actuall add operation

Parameters

RSqlDatabase aSqlDbhandle to database
CLiwDefaultList * aNotificationListlist of notifications to fill in when something was actually changed in dataabse

AppendFilterL(RBuf &, TUint &)

voidAppendFilterL(RBuf &aQuery,
TUint &aFilter
)const [private, virtual]

Appends filter as strings to SQL query according to aFilter

Parameters

RBuf & aQuerySQL query
TUint & aFilteras enum

AppendSortL(RBuf &, const TCPSortOrder &)

voidAppendSortL(RBuf &aQuery,
const TCPSortOrder &aSort
)const [private, virtual]

Appends sorting criteria as strings to SQL query according to aSort

Parameters

RBuf & aQuerySQL query
const TCPSortOrder & aSortsort filter as TInt

ConstructL()

voidConstructL()[private]

Perform the second phase construction of a CPublisherRegistryMap object.

FillChangeInfoMapL(RSqlStatement &, CLiwDefaultMap *)

voidFillChangeInfoMapL(RSqlStatement &aStmt,
CLiwDefaultMap *aMap
)const [private, virtual]

Fills change info map with proper values aStmt

Parameters

RSqlStatement & aStmthandle to SQL statement
CLiwDefaultMap * aMap

GetActivateInfo()

TBool GetActivateInfo()const [private, virtual]

GetListL(RSqlDatabase, CLiwGenericParamList *, RArray< TInt32 > &)

TUint GetListL(RSqlDatabaseaSqlDb,
CLiwGenericParamList *aList,
RArray< TInt32 > &aItemsToDelete
)const [private, virtual]

Fetches entries from database

Parameters

RSqlDatabase aSqlDbhandle to database
CLiwGenericParamList * aListtarget list for enntries
RArray< TInt32 > & aItemsToDeleteids of entries for removal - they were found to be expired

IsValidForDeleteL()

voidIsValidForDeleteL()const [private, virtual]

Check if IDs are valid for Delete operation

IsValidForGetListL()

voidIsValidForGetListL()const [private, virtual]

Check if IDs are valid for GetList operation

NewL()

IMPORT_C CPublisherRegistryMap *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CPublisherRegistryMap *NewLC()[static]

Two-phased constructor.

PrepareStmtforAddL(RSqlDatabase, RSqlStatement &, const TDesC &)

voidPrepareStmtforAddL(RSqlDatabaseaSqlDb,
RSqlStatement &aStmt,
const TDesC &aQuery
)const [private, virtual]

Prepares SQL query for Add operation

Parameters

RSqlDatabase aSqlDbhandle to database
RSqlStatement & aStmthandle to SQL statement
const TDesC & aQuerySQL query

PrepareStmtforUpdateL(RSqlDatabase, RSqlStatement &, TInt32)

voidPrepareStmtforUpdateL(RSqlDatabaseaSqlDb,
RSqlStatement &aStmt,
TInt32aId
)const [private]

Prepares SQL query for Update operation

Parameters

RSqlDatabase aSqlDbhandle to database
RSqlStatement & aStmthandle to SQL statement
TInt32 aIdid of entry to update

RemoveL(RSqlDatabase, CLiwDefaultList *)

voidRemoveL(RSqlDatabaseaSqlDb,
CLiwDefaultList *aNotificationList = 0
)const [private, virtual]

Removes entries from database

Parameters

RSqlDatabase aSqlDbhandle to database
CLiwDefaultList * aNotificationList = 0list of notifications to fill in when something was actually changed in dataabse

SaveQueryResultsL(RSqlStatement &, CLiwGenericParamList &, RArray< TInt32 > &)

voidSaveQueryResultsL(RSqlStatement &aStmt,
CLiwGenericParamList &aList,
RArray< TInt32 > &aItemsToDelete
)const [private, virtual]

Removes entries from database

Parameters

RSqlStatement & aStmt
CLiwGenericParamList & aList
RArray< TInt32 > & aItemsToDelete

UpdateL(RSqlDatabase, TInt32, CLiwDefaultList *)

voidUpdateL(RSqlDatabaseaSqlDb,
TInt32aId,
CLiwDefaultList *aNotificationList = 0
)const [private, virtual]

Updates entry in database

Parameters

RSqlDatabase aSqlDbhandle to database
TInt32 aIdid entry to update
CLiwDefaultList * aNotificationList = 0list of notifications to fill in when something was actually changed in dataabse