1#ifndef INC_GLOREFERENCE_H
2#define INC_GLOREFERENCE_H
Header for LockSpecification
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Header for WatchSpecification
Abstract base class for Persistent and the generic GenericPersistent.
Definition GloBasePersistent.h:124
To be able to lock objects, the 'lock mode' and the 'lock depth' are required as parameters....
Definition GloLockSpecification.h:65
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
virtual int unsetWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack) const
friend class OndemandSet
Definition GloReference.h:79
virtual int setWatch(TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pCallBack=0) const
friend class OdRefRecordAttribute
Definition GloReference.h:83
virtual int lock(const LockSpecification &rLockSpecification) const
virtual int unsetWatch(const WatchSpecification &rWatchSpec) const
virtual int setReference(const ObjID &rObjID)
int getReference(std::shared_ptr< BasePersistent > &sprRetVal)
int getReference(BasePersistent *&prRetVal)
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)
virtual Base * getBase() const override
virtual int setBase(Base *pBase) override
Reference(unsigned long ulDatabaseID)
Reference(const ObjID &rObjID)
friend class ObjectMaker
Definition GloReference.h:76
virtual int lock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
friend class OndemandList
Definition GloReference.h:78
virtual int isPossible(const LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const
friend class Base
Definition GloReference.h:82
friend class OndemandLot
Definition GloReference.h:77
friend class TableReaderInterface
Definition GloReference.h:80
virtual int deleteInBase(EnDeepMode eDeepMode=DM_SHALLOW)
friend class BaseAllSet
Definition GloReference.h:81
unsigned long m_ulDatabaseID
Definition GloReference.h:97
ObjID m_RefObjID
Definition GloReference.h:108
Reference(const ObjID &rObjID, unsigned long ulDatabaseID)
const ObjID * getObjIDAsPointer() 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
To be able to watch objects, the 'watching mode', the 'watching depth' and the 'notification object' ...
Definition GloWatchSpecification.h:67
Definition GloAbstractBaseLot.h:49
EnDeepMode
Definition GloTypes.h:254
@ DM_SHALLOW
Definition GloTypes.h:290
EnLockMode
Definition GloTypes.h:1055
@ LK_DELETEvWRITE
Definition GloTypes.h:1105
unsigned long TdWatchNotifyMode
Definition GloTypes.h:558
Permitted actions in the database such as read, write and delete can be queried for an object....
Definition GloTypes.h:1256