CCommsDbProtectTableView Class Reference
class CCommsDbProtectTableView : public CCommsDbTableView |
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() |
| CCommsDbTableView::CCommsDbTableView(CCommsDatabaseBase &,const TDesC &) |
| CCommsDbTableView::CancelRecordChanges() |
| CCommsDbTableView::Close() |
| CCommsDbTableView::ColNumL(const TDesC &)const |
| CCommsDbTableView::ConstructL(TUint32) |
| CCommsDbTableView::ConstructL(TUint32,TCommDbConnectionDirection) |
| CCommsDbTableView::ConstructL(TUint32,const TDesC &) |
| CCommsDbTableView::ConstructL(const TDesC &) |
| CCommsDbTableView::ConstructL(const TDesC &,TBool,TBool) |
| CCommsDbTableView::ConstructL(const TDesC &,const TDesC &,TBool) |
| CCommsDbTableView::ConstructL(const TDesC &,const TDesC &,TUint32) |
| CCommsDbTableView::ConstructL(const TDesC &,const TDesC &,const TDesC16 &) |
| CCommsDbTableView::ConstructL(const TDesC &,const TDesC &,const TDesC8 &) |
| CCommsDbTableView::Database()const |
| CCommsDbTableView::DeleteRecord() |
| CCommsDbTableView::GetL() |
| CCommsDbTableView::GetTableName(TDes &)const |
| CCommsDbTableView::GotoFirstRecord() |
| CCommsDbTableView::GotoNextRecord() |
| CCommsDbTableView::GotoPreviousRecord() |
| CCommsDbTableView::InsertCopyRecord(TUint32 &) |
| CCommsDbTableView::InsertRecord(TUint32 &) |
| CCommsDbTableView::NewL(CCommsDatabaseBase &,const TDesC &,const TDesC &,TUint32) |
| CCommsDbTableView::NewL(CCommsDatabaseBase &,const TDesC &,const TDesC &,const TDesC16 &) |
| CCommsDbTableView::NewL(CCommsDatabaseBase &,const TDesC &,const TDesC &,const TDesC8 &) |
| CCommsDbTableView::NewLC(CCommsDatabaseBase &,TUint32) |
| CCommsDbTableView::NewLC(CCommsDatabaseBase &,TUint32,TCommDbConnectionDirection) |
| CCommsDbTableView::NewLC(CCommsDatabaseBase &,TUint32,const TDesC &) |
| CCommsDbTableView::NewLC(CCommsDatabaseBase &,const TDesC &,TBool) |
| CCommsDbTableView::NewLC(CCommsDatabaseBase &,const TDesC &,const TDesC &,TBool) |
| CCommsDbTableView::NewLC(const TDesC &,CCommsDatabaseBase &) |
| CCommsDbTableView::OpenL(const TDbQuery &) |
| CCommsDbTableView::PutRecordChanges(TBool,TBool) |
| CCommsDbTableView::ReadBoolL(const TDesC &,TBool &) |
| CCommsDbTableView::ReadColumnLengthL(const TDesC &,TInt &) |
| CCommsDbTableView::ReadColumnMaxLengthL(const TDesC &,TInt &) |
| CCommsDbTableView::ReadLongTextLC(const TDesC &) |
| CCommsDbTableView::ReadTextL(const TDesC &,TDes16 &) |
| CCommsDbTableView::ReadTextL(const TDesC &,TDes8 &) |
| CCommsDbTableView::ReadTypeAttribL(const TDesC &,TDbColType &,TUint32 &) |
| CCommsDbTableView::ReadUintL(const TDesC &,TUint32 &) |
| CCommsDbTableView::SetNullL(const TDesC &) |
| CCommsDbTableView::UpdateRecord() |
| CCommsDbTableView::WriteBoolL(const TDesC &,const TBool &) |
| CCommsDbTableView::WriteLongTextL(const TDesC &,const TDesC &) |
| CCommsDbTableView::WriteTextL(const TDesC &,const TDesC16 &) |
| CCommsDbTableView::WriteTextL(const TDesC &,const TDesC8 &) |
| CCommsDbTableView::WriteUintL(const TDesC &,const TUint32 &) |
| CCommsDbTableView::~CCommsDbTableView() |
Constructor & Destructor Documentation
CCommsDbProtectTableView(CCommsDatabaseBase &, const TDesC &)
Parameters
CCommsDatabaseBase & aDb | reference to the database to use. |
const TDesC & aTableName | A reference to a descriptor containing the name of a table in the communications database protect table view. |
~CCommsDbProtectTableView()
IMPORT_C | ~CCommsDbProtectTableView | ( | ) | |
Member Functions Documentation
ConstructL(const TDbQuery &, TBool)
void | ConstructL | ( | const TDbQuery & | aQuery, |
| TBool | aUseTemplate |
| ) | [private] |
This method is deprecated from 9.1 and always returns/leaves with KErrNotSupported instead of describing past operation/parameters.
Prepare and evaluate the table view using the SQL query aQuery
DoProtectionL(CMDBSession *, CMDBElement *, TBool)
GetRecordAccess(TInt &)
IMPORT_C TInt | GetRecordAccess | ( | TInt & | aAccess | ) | |
Check record's protection setting Currently a record can be Writable (0) or Read Only (1). Read Only records cannot be amended or deleted until they are unprotected via this API.
-
capability
- Dependent on table, see the guide page referenced below.
Parameters
TInt & aAccess | On return contains the value of the column ordinal |
GetTableAccess(RDbRowSet::TAccess &)
Checks table's ReadOnly Setting
-
capability
- Dependent on table, see the guide page referenced below.
NewL(CCommsDatabaseBase &, const TDesC &, const TDbQuery &, TBool)
This method is deprecated from 9.1 and always returns/leaves with KErrNotSupported instead of describing past operation/parameters.
Parameters
CCommsDatabaseBase & aDb | reference to the database to use. |
const TDesC & aTableName | A reference to a descriptor containing the name of a table in the communications database protect table view. |
const TDbQuery & aQuery | Query to perform |
TBool aUseTemplate | A boolean value whether to use template while creating the object or not |
ProtectRecord()
IMPORT_C TInt | ProtectRecord | ( | ) | |
Marks record as read-only so that it cannot be modified or deleted.
-
capability
- Dependent on table, see the guide page referenced below.
ProtectTable()
IMPORT_C TInt | ProtectTable | ( | ) | |
Protects the table Protection of settings
- capability
- Dependent on table, see the guide page referenced below.
UnprotectRecord()
IMPORT_C TInt | UnprotectRecord | ( | ) | |
Marks record as not read-only so that it can be modified or deleted
-
capability
- Dependent on table, see the guide page referenced below.
UnprotectTable()
IMPORT_C TInt | UnprotectTable | ( | ) | |
Unprotects the table
-
capability
- Dependent on table, see the guide page referenced below.
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.