1#ifndef INC_GLOREFERENCE_H
2#define INC_GLOREFERENCE_H
40#include "GloLockSpecification.h"
41#include "GloWatchSpecification.h"
69 friend class ObjectMaker;
70 friend class OndemandLot;
71 friend class OndemandList;
72 friend class OndemandSet;
73 friend class TableReaderInterface;
76 friend class OdRefRecordAttribute;
373 virtual int lock( EnLockMode eLockMode = LK_DELETEvWRITE,
374 EnDeepMode eDeepMode = DM_SHALLOW )
const;
397 virtual int lock(
const LockSpecification & rLockSpecification )
const;
425 virtual int unlock( EnLockMode eLockMode = LK_DELETEvWRITE,
426 EnDeepMode eDeepMode = DM_SHALLOW )
const;
452 virtual int unlock(
const LockSpecification & rLockSpecification )
const;
476 virtual int isLocked( EnLockMode eLockMode = LK_DELETEvWRITE,
477 EnDeepMode eDeepMode = DM_SHALLOW )
const;
498 virtual int isLocked(
const LockSpecification & rLockSpecification )
const;
526 EnDeepMode eDeepMode = DM_SHALLOW )
const;
547 virtual int isPossible(
const LockPossibleSpecification & rLockPossibleSpec,
548 EnDeepMode eDeepMode = DM_SHALLOW )
const;
604 virtual int setWatch( TdWatchNotifyMode ulWatchMode,
605 EnDeepMode eDeepMode,
630 virtual int setWatch(
const WatchSpecification & rWatchSpec )
const;
687 EnDeepMode eDeepMode,
715 virtual int unsetWatch(
const WatchSpecification & rWatchSpec )
const;
Is the base class of template AllSets and the generic AllSet.
Definition GloBaseAllSet.h:80
Abstract base class for Persistent and the generic GenericPersistent.
Definition GloBasePersistent.h:116
Superclass for the classes that are 'connected' to a Base.
Definition GloCallBack.h:74
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:77
The base class of a reference attribute from persistent objects to other persistent objects in the da...
Definition GloReference.h:65
virtual int unsetWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
virtual int setWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) const
virtual int lock(const LockSpecification &rLockSpecification) const
virtual int unsetWatch(const WatchSpecification &rWatchSpec) const
virtual int isLocked(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
virtual int isLocked(const LockSpecification &rLockSpecification) const
Reference(const Reference &rT)
virtual int setWatch(const WatchSpecification &rWatchSpec) const
virtual int getTypeAsString(std::string &rsTypeName) override
virtual int isPossible(bool bRead, bool bWrite, bool bDelete, EnDeepMode eDeepMode=DM_SHALLOW) const
int setReference(const BasePersistent *pObj)
int setReference(const BasePersistent &rObj)
Reference(const ObjID &rObjID)
virtual int lock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
virtual int isPossible(const LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const
int getReference(BasePersistent *&prRetVal) const
virtual void setReference(const ObjID &rObjID)
virtual int deleteInBase(EnDeepMode eDeepMode=DM_SHALLOW)
ObjID m_RefObjID
Definition GloReference.h:90
const ObjID * getObjIDAsPointer() const
int getReference(std::shared_ptr< BasePersistent > &sprRetVal) const
Reference(const ObjID &rObjID, Base &rBase)
virtual int unlock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
virtual int unlock(const LockSpecification &rLockSpecification) const
Definition GloBasePersistent.h:52