73 ERR_Code selectByOwner ( Q_ULLONG ido );
74 ERR_Code groupSelect ();
75 ERR_Code groupByParent(Q_ULLONG idp );
78 virtual int New(
bool child);
82 virtual int newGroup( Q_ULLONG parentId );
83 virtual int newElement( Q_ULLONG parentId );
89 virtual int Select(
bool grouponly =
false );
90 void UnSelect(
bool grouponly =
false );
91 virtual int selectByLevel (
int level );
92 virtual int selectByGroup ( Q_ULLONG idg );
93 virtual Q_ULLONG idGroupByElement(Q_ULLONG ide );
94 virtual int groupSelect ( Q_ULLONG idg );
96 virtual QVariant GetElementValue(QVariant ide,
const QString &fname);
97 virtual bool FindById(QString el_id);
99 virtual Q_ULLONG delElement();
100 virtual Q_ULLONG delGroup(Q_ULLONG idg, QValueList<Q_ULLONG> &listDelId);
102 Q_ULLONG setMarkDeletedElement(Q_ULLONG el_id,
bool del);
103 Q_ULLONG setMarkDeletedGroup(Q_ULLONG gr_id,
bool del);
104 void getMarkDeletedList(Q_ULLONG idg, QValueList<Q_ULLONG> &listDelId);
106 virtual bool isGroupMarkDeleted();
107 virtual bool isElementMarkDeleted();
111 virtual bool First();
114 virtual bool NextInGroupTable();
115 virtual bool PrevInGroupTable();
116 virtual bool FirstInGroupTable();
117 virtual bool LastInGroupTable();
119 virtual int GroupNew(
bool reparent =
false );
120 virtual int GroupDelete();
121 virtual int GroupMarkDeleted();
122 virtual int GroupUpdate();
123 virtual int GroupSelect();
124 virtual int GroupSetGroup(
aCatalogue * cat );
125 virtual QVariant GroupValue(
const QString & name );
126 virtual int GroupSetValue(
const QString & name,
const QVariant & value);
127 virtual QVariant GroupSysValue(
const QString & name );
128 virtual int GroupSetSysValue(
const QString & name,
const QVariant & value);
130 virtual QStringList getUserFields();
131 virtual QStringList getGroupUserFields();
157 void setLevel( Q_ULLONG newlevel );
158 virtual QString
trSysName(
const QString & sname );
159 QVariant
sysValue(
const QString & sname );
164 Q_ULLONG parentUid();
169 ERR_Code SelectChild(
aCatGroup * parent = 0 );
170 ERR_Code SetParent(
aCatGroup * parent );
175 #endif// ACATALOGUE_H
virtual bool Last(const QString &tableName="")
Перемещает указатель на последнюю запись SQL таблицы.
Definition: aobject.cpp:1078
Definition: acatalogue.h:54
virtual ERR_Code initObject()
Init object after create.
Definition: aobject.cpp:253
virtual QVariant sysValue(const QString &name, const QString &tableName="")
Gets system field value.
Definition: aobject.cpp:438
virtual int Delete()
Definition: aobject.cpp:692
virtual bool Prev(const QString &tableName="")
Перемещает указатель на предыдующую запись SQL таблицы...
Definition: aobject.cpp:1052
Definition: acatalogue.h:154
virtual bool First(const QString &tableName="")
Перемещает указатель на первую запись SQL таблицы.
Definition: aobject.cpp:1065
virtual int New()
Add new object record in database.
Definition: aobject.cpp:625
virtual int Update()
Update curent selected object record to database.
Definition: aobject.cpp:718
Definition: acatalogue.h:134
Definition: adatabase.h:77
virtual aCfgItem displayStringContext()
Возвращает контекст (узел дерева) метаданных для вычис...
Definition: aobject.cpp:1311
virtual int Copy()
Definition: aobject.cpp:674
virtual QString trSysName(const QString &sname)
Not implemented.
Definition: aobject.cpp:426
virtual bool Next(const QString &tableName="")
Перемещает указатель на следующую запись SQL таблицы.
Definition: aobject.cpp:1040