CCommsDatabaseProtect Class Reference
class CCommsDatabaseProtect : public CCommsDatabase |
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() |
| CCommsDatabase::CCommsDatabase() |
| CCommsDatabase::ClearAgentAndExtL(const TDesC &) |
| CCommsDatabase::ClearGlobalSettingL(const TDesC &) |
| CCommsDatabase::DoOpenL(TCommDbOpeningMethod &,TBool) |
| CCommsDatabase::GetAgentClientTimeoutL(const TDesC &) |
| CCommsDatabase::GetAgentExtL(const TDesC &,TDes &) |
| CCommsDatabase::GetAgentL(const TDesC &,TDes &) |
| CCommsDatabase::GetAgentRouteTimeoutL(const TDesC &) |
| CCommsDatabase::GetCurrentDialInSettingL(const TDesC &,TUint32 &) |
| CCommsDatabase::GetCurrentDialOutSettingL(const TDesC &,TUint32 &) |
| CCommsDatabase::GetDefaultTsyL(TDes &) |
| CCommsDatabase::GetGlobalSettingL(const TDesC &,TDes &) |
| CCommsDatabase::GetGlobalSettingL(const TDesC &,TUint32 &) |
| CCommsDatabase::NewL(TCommDbDatabaseType) |
| CCommsDatabase::NewL(TCommDbDatabaseType,TCommDbOpeningMethod &) |
| CCommsDatabase::OpenConnectionPrefTableInRankOrderLC(TCommDbConnectionDirection) |
| CCommsDatabase::OpenConnectionPrefTableLC() |
| CCommsDatabase::OpenConnectionPrefTableLC(TCommDbConnectionDirection) |
| CCommsDatabase::OpenConnectionPrefTableViewOnRankLC(TCommDbConnectionDirection,TUint32) |
| CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC(TUint32,TCommDbConnectionDirection) |
| CCommsDatabase::OpenIAPTableViewMatchingNetworkLC(TUint32) |
| CCommsDatabase::OpenViewOnProxyRecordLC(TUint32,const TDesC &) |
| CCommsDatabase::SetAgentClientTimeoutL(const TDesC &,TInt) |
| CCommsDatabase::SetAgentExtL(const TDesC &,const TDesC &) |
| CCommsDatabase::SetAgentL(const TDesC &,const TDesC &) |
| CCommsDatabase::SetAgentRouteTimeoutL(const TDesC &,TInt) |
| CCommsDatabase::SetGlobalSettingL(const TDesC &,TUint32) |
| CCommsDatabase::SetGlobalSettingL(const TDesC &,const TDesC &) |
| CCommsDatabase::~CCommsDatabase() |
| CCommsDatabaseBase::BeginInternalTransactionL() |
| CCommsDatabaseBase::BeginTransaction() |
| CCommsDatabaseBase::CCommsDatabaseBase() |
| CCommsDatabaseBase::CancelRequestNotification() |
| CCommsDatabaseBase::CheckDBCapability(RDbs::TPolicyType,const TDesC &,const RMessagePtr2 *) |
| CCommsDatabaseBase::CheckReadCapability(const TDesC &,const RMessagePtr2 *) |
| CCommsDatabaseBase::CheckWriteCapability(const TDesC &,const RMessagePtr2 *) |
| CCommsDatabaseBase::CommitInternalTransaction() |
| CCommsDatabaseBase::CommitTransaction() |
| CCommsDatabaseBase::ConvertToUid(const TDesC &,TUint32,TCommDbPublishSubscribeNotification &) |
| CCommsDatabaseBase::Database() |
| CCommsDatabaseBase::DatabaseUpdateHasOccurred() |
| CCommsDatabaseBase::DoClose() |
| CCommsDatabaseBase::DoOpenIAPTableViewL(const TDesC &,const TDesC &) |
| CCommsDatabaseBase::DoOpenTableViewL(const TDesC &,const TDesC &) |
| CCommsDatabaseBase::DoOpenViewMatchingTextL(const TDesC &,const TDesC &,const TDesC16 &,TBool) |
| CCommsDatabaseBase::DoOpenViewMatchingTextL(const TDesC &,const TDesC &,const TDesC8 &,TBool) |
| CCommsDatabaseBase::DoOpenViewMatchingUintL(const TDesC &,const TDesC &,TUint32,TBool) |
| CCommsDatabaseBase::GetNewNumber(TUid) |
| CCommsDatabaseBase::InTransaction() |
| CCommsDatabaseBase::InitializeFilestore() |
| CCommsDatabaseBase::IsDatabaseWriteLockedL() |
| CCommsDatabaseBase::NotifyAllChanges() |
| CCommsDatabaseBase::NotifyChangeL(const TDesC &,TUint32) |
| CCommsDatabaseBase::OpenTableLC(const TDesC &) |
| CCommsDatabaseBase::OpenViewLC(const TDesC &,const TDesC &) |
| CCommsDatabaseBase::OpenViewMatchingBoolLC(const TDesC &,const TDesC &,TBool) |
| CCommsDatabaseBase::OpenViewMatchingTextLC(const TDesC &,const TDesC &,const TDesC16 &) |
| CCommsDatabaseBase::OpenViewMatchingTextLC(const TDesC &,const TDesC &,const TDesC8 &) |
| CCommsDatabaseBase::OpenViewMatchingUintLC(const TDesC &,const TDesC &,TUint32) |
| CCommsDatabaseBase::PopulateChargeCardL(TUint32,TChargeCard &) |
| CCommsDatabaseBase::PopulateDialLocationL(TUint32,TDialLocation &) |
| CCommsDatabaseBase::RequestNotification(TRequestStatus &) |
| CCommsDatabaseBase::ResolvePhoneNumberFromDatabaseL(TDesC &,TDes &,TParseMode,TUint32,TUint32) |
| CCommsDatabaseBase::ResolvePhoneNumberL(TDesC &,TDes &,TParseMode,TUint32,TUint32) |
| CCommsDatabaseBase::RollbackInternalTransaction() |
| CCommsDatabaseBase::RollbackTransaction() |
| CCommsDatabaseBase::ShowHiddenRecords() |
| CCommsDatabaseBase::Version()const |
| CCommsDatabaseBase::~CCommsDatabaseBase() |
Constructor & Destructor Documentation
CCommsDatabaseProtect()
CCommsDatabaseProtect | ( | ) | [private] |
~CCommsDatabaseProtect()
IMPORT_C | ~CCommsDatabaseProtect | ( | ) | |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
DoTableProtectionL(CMDBRecordSetBase *, TBool)
DoTablesProtectionL(CPtrCArray &, TBool)
GetTableAccessL(const TDesC &)
returns the access rights for aTableName from the ACCESS_TYPE_TABLE
returns the access rights for aTableName from the ACCESS_TYPE_TABLE
- capability
- Dependent on table, see the guide page referenced below.
Parameters
const TDesC & aTableName | Contains the descriptor of a CommDb table name |
NewL()
Creates a `CCommsDatabase`. If the database filestore does not exist the default filestore is duplicated. If no default filestore exists an empty database is created.
Creates a `CCommsDatabaseProtect`. If the database filestore does not exist the default filestore is duplicated. If no default filestore exists an empty database is created.
NewL(TBool)
Creates a `CCommsDatabase`. If the database filestore exists and `aUseDefaultDb` is True the default filestore is duplicated. Otherwise an empty database is created.
Creates a `CCommsDatabaseProtect`. If the database filestore exists and `aUseDefaultDb` is True the default filestore is duplicated. Otherwise an empty database is created.
NewL(TCommDbOpeningMethod &)
Creates a `CCommsDatabase` as with `NewL()`. The method of opening: (Created, CopiedDefault or Opened) is returned in `aOpeningMethod`.
Creates a `CCommsDatabaseProtect` as with `NewL()`. The method of opening: (Created, CopiedDefault or Opened) is returned in `aOpeningMethod`.
ProtectTable(const TDesC &)
IMPORT_C TInt | ProtectTable | ( | const TDesC & | aTableName | ) | |
Sets the access right field in the ACCESS_TYPE_TABLE for the table specified in aTableName to RDbRowSet::EReadOnly
Sets the access right field in the ACCESS_TYPE_TABLE for the table specified in aTableName to
RDbRowSet::EReadOnly - capability
- Dependent on table, see the guide page referenced below.
Parameters
const TDesC & aTableName | Contains the descriptor of a CommDb table name |
ProtectTables(CPtrCArray &)
Sets the access right fields in the ACCESS_TYPE_TABLE for the tables specified in aTableList to RDbRowSet::EReadOnly
Sets the access right fields in the ACCESS_TYPE_TABLE for the tables specified in aTableList to
RDbRowSet::EReadOnly - capability
- Dependent on table, see the guide page referenced below.
Parameters
CPtrCArray & aTableList | array of CommDb table names |
UnProtectTable(const TDesC &)
IMPORT_C TInt | UnProtectTable | ( | const TDesC & | aTableName | ) | |
Sets the access right field in the ACCESS_TYPE_TABLE for the table specified in aTableName to RDbRowSet::EUpdatable
Sets the access right field in the ACCESS_TYPE_TABLE for the table specified in aTableName to
RDbRowSet::EUpdatable - capability
- Dependent on table, see the guide page referenced below.
Parameters
const TDesC & aTableName | Contains the descriptor of a CommDb table name |
UnprotectTables(CPtrCArray &)
Sets the access right fields in the ACCESS_TYPE_TABLE for the tables specified in aTableList to RDbRowSet::EUpdatable
Sets the access right fields in the ACCESS_TYPE_TABLE for the tables specified in aTableList to
RDbRowSet::EUpdatable - capability
- Dependent on table, see the guide page referenced below.
Parameters
CPtrCArray & aTableList | array of CommDb table names |
Member Data Documentation
CCommDbTableExtension * iTableExt
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.