class xqlObject

root class for all abstract Objects. More...

Definition#include <xql/xqlobject.h>
Inherited byxqlAttribute, xqlBizzObject, xqlIcon, xqlInt, xqlObjectWithAttributes, xqlStore, xqlString, xqlUser
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

root class for all abstract Objects. provides useraccess etc.

 xqlObject (xqlSession * pThisSession)

xqlObject

 xqlObject (xqlOdbc * pconnection)

xqlObject

 ~xqlObject ()

~xqlObject

[virtual]

const char*  getType ()

getType

[const virtual]

bool  isSame (const xqlObject& obj)

isSame

[const virtual]

bool  isSaved ()

isSaved

[virtual]

bool  save ()

save

[virtual]

bool  setType (char* pType)

setType

[virtual]

to set the object name. this name must be unique. every object is identified by its objectname. Setting the object name does not imply that it exists in the database.

bool  createType ()

createType

[virtual]

this function creates all the nesseccary database objects to save instances of the object. the objectname has to be set before by setObjectType()

bool  loadType (int pTypeId)

loadType

[virtual]

this function loads the structure information for the object "ObjectType" from the database. The objectname has to be set before by setObjectType()

bool  saveType ()

saveType

[virtual]

bool  createInstance ()

createInstance

[virtual]

creates a new instance of the object. an id is given, space is allocated in the database.

bool  saveInstance ()

saveInstance

[virtual]

saves the current instance of the object.

bool  deleteInstance ()

deleteInstance

[virtual]

bool  loadInstance (int pInstId)

loadInstance

[virtual]

loads the instance given by pInstId from the database. Attention with the objectname? is the objectname already known?

int  getTypeId ()

getTypeId

[virtual]

char *  className ()

className

[const virtual]

void  getTableName (char * pTableName)

getTableName

int  getTypeIdOfInstance (int pInstId)

getTypeIdOfInstance

int  getInstId ()

getInstId

xqlOdbc *  getConnection ()

getConnection

bool  loadType (std::string& pType)

loadType

std::string *  getClassnameByTypeId (int pTypeId)

getClassnameByTypeId

const xqlid  getIconId ()

getIconId

[const virtual]

void  setIconId (xqlid pIconId)

setIconId

int mInstId

mInstId

[protected]

xqlOdbc* thisOdbc

thisOdbc

[protected]

bool mIsSaved

mIsSaved

[protected]

bool mTypeCreated

mTypeCreated

[protected]

int mSimple

mSimple

[protected]

char * mType

mType

[protected]

xqlUserId userId

userId

[protected]

xqlSession * mCurrentSession

mCurrentSession

[protected]

int mTypeId

mTypeId

[protected]

bool mTypeIsSet

mTypeIsSet

[protected]

xqlid mIconId

mIconId

[protected]

void  operator= (const xqlObject&)

operator=

[protected]

true, if the Type is set, i. e. that mType has a meaningfull value. Is only manipulated by setType, loadType....

bool  haveRight (const char * pAction)

haveRight

[protected]

void  loadIconId (xqlid pType)

loadIconId

[protected]

void  saveIconId ()

saveIconId

[protected]


Generated by: markus on hobbes on Fri Mar 29 16:15:24 2002, using kdoc 2.0a53.