|
ImagingTools Core SDK
|
#include <IAccountInfo.h>
Inherits iser::IObject.
Inherited by imtauth::CAccountInfo [virtual].
Public Types | |
| enum | AccountType { AT_PERSON , AT_COMPANY , AT_REPRESENTATIVE } |
| enum | MetaInfoTypes { MIT_ACCOUNT_TYPE = idoc::IDocumentMetaInfo::MIT_USER + 1 , MIT_ACCOUNT_NAME , MIT_ACCOUNT_DESCRIPTION , MIT_CONTACT_EMAIL , MIT_CONTACT_BIRTHDAY , MIT_CONTACT_FIRST_NAME , MIT_CONTACT_LAST_NAME , MIT_CONTACT_NICKNAME } |
Public Member Functions | |
| virtual AccountType | GetAccountType () const =0 |
| virtual void | SetAccountType (AccountType accountType)=0 |
| virtual QString | GetAccountName () const =0 |
| virtual void | SetAccountName (QString accountName)=0 |
| virtual QString | GetAccountDescription () const =0 |
| virtual void | SetAccountDescription (QString accountDescription)=0 |
| virtual const iimg::IBitmap & | GetAccountPicture () const =0 |
| virtual void | SetAccountPicture (const iimg::IBitmap &picture)=0 |
| virtual const IContactInfo * | GetAccountOwner () const =0 |
| virtual void | SetAccountOwner (const IContactInfo &ownerInfo)=0 |
| virtual const iauth::IRightsProvider & | GetAccountRights () const =0 |
Interface for describing an user account.
Definition at line 23 of file IAccountInfo.h.
Supported account types.
| Enumerator | |
|---|---|
| AT_PERSON | A personal account. |
| AT_COMPANY | A company account. |
| AT_REPRESENTATIVE | An account of a company representative. |
Definition at line 29 of file IAccountInfo.h.
Definition at line 48 of file IAccountInfo.h.
|
pure virtual |
Get description of the account.
|
pure virtual |
Get name of the account.
|
pure virtual |
Get information about the person who owns and manages this account.
|
pure virtual |
Get account picture.
|
pure virtual |
Get the access to the rights provider associated with this account.
|
pure virtual |
Get information about the type of the account.
|
pure virtual |
Set description of the account.
|
pure virtual |
Set name of the account.
|
pure virtual |
Set informations about account owner.
|
pure virtual |
Set account picture.
|
pure virtual |
Set information about the type of the account.