1#ifndef INC_GLOREFERENCE_H
2#define INC_GLOREFERENCE_H
47#include "GloLockSpecification.h"
48#include "GloWatchSpecification.h"
76 friend class ObjectMaker;
77 friend class OndemandLot;
78 friend class OndemandList;
79 friend class OndemandSet;
80 friend class TableReaderInterface;
83 friend class OdRefRecordAttribute;
481 virtual int lock( EnLockMode eLockMode = LK_DELETEvWRITE,
482 EnDeepMode eDeepMode = DM_SHALLOW )
const;
505 virtual int lock(
const LockSpecification & rLockSpecification )
const;
533 virtual int unlock( EnLockMode eLockMode = LK_DELETEvWRITE,
534 EnDeepMode eDeepMode = DM_SHALLOW )
const;
560 virtual int unlock(
const LockSpecification & rLockSpecification )
const;
584 virtual int isLocked( EnLockMode eLockMode = LK_DELETEvWRITE,
585 EnDeepMode eDeepMode = DM_SHALLOW )
const;
606 virtual int isLocked(
const LockSpecification & rLockSpecification )
const;
634 EnDeepMode eDeepMode = DM_SHALLOW )
const;
655 virtual int isPossible(
const LockPossibleSpecification & rLockPossibleSpec,
656 EnDeepMode eDeepMode = DM_SHALLOW )
const;
708 virtual int setWatch( TdWatchNotifyMode ulWatchMode,
709 EnDeepMode eDeepMode,
734 virtual int setWatch(
const WatchSpecification & rWatchSpec )
const;
787 EnDeepMode eDeepMode,
815 virtual int unsetWatch(
const WatchSpecification & rWatchSpec )
const;
Ist die Basisklasse von Template-AllSets und dem generischen AllSet.
Definition GloBaseAllSet.h:87
Abstrakte Basisklasse für Persistent und die generische GenericPersistent.
Definition GloBasePersistent.h:124
Oberklasse für die Klassen, welche mit einer Base 'verbunden' sind.
Definition GloCallBack.h:81
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:84
Die Basisklasse eines Referenz-Attributs von persistenten Objekten auf andere persistente Objekte in ...
Definition GloReference.h:72
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 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)
virtual int lock(EnLockMode eLockMode=LK_DELETEvWRITE, EnDeepMode eDeepMode=DM_SHALLOW) const
virtual int isPossible(const LockPossibleSpecification &rLockPossibleSpec, EnDeepMode eDeepMode=DM_SHALLOW) const
virtual int deleteInBase(EnDeepMode eDeepMode=DM_SHALLOW)
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
Definition GloBasePersistent.h:60