Package ru.curs.celesta.syscursors
Class TablesCursor
- java.lang.Object
-
- ru.curs.celesta.dbutils.CsqlBasicDataAccessor<CallContext>
-
- ru.curs.celesta.dbutils.BasicDataAccessor
-
- ru.curs.celesta.dbutils.BasicCursor
-
- ru.curs.celesta.dbutils.Cursor
-
- ru.curs.celesta.syscursors.TablesCursor
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<TablesCursor>
,InFilterSupport
@Generated(value="ru.curs.celesta.plugin.maven.CursorGenerator", date="2024-12-10T14:11:41.806271") public class TablesCursor extends Cursor implements Iterable<TablesCursor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TablesCursor.Columns
-
Field Summary
Fields Modifier and Type Field Description TablesCursor.Columns
COLUMNS
static String
TABLE_NAME
-
Constructor Summary
Constructors Constructor Description TablesCursor(CallContext context)
TablesCursor(CallContext context, ColumnMeta<?>... columns)
-
Method Summary
-
Methods inherited from class ru.curs.celesta.dbutils.Cursor
clear, create, create, delete, deleteAll, getByValuesArray, getCurrentKeyValues, getIn, getMaxStrLen, getMaxStrLen, getRecversion, getXRec, init, insert, meta, setIn, setRecversion, tryGetByValuesArray, tryGetCurrent, tryInsert, tryUpdate, update
-
Methods inherited from class ru.curs.celesta.dbutils.BasicCursor
asCSVLine, canDelete, canInsert, canModify, clearBuffer, copyFiltersFrom, copyOrderFrom, count, descOrders, findSet, first, getBufferCopy, getComplexFilter, getCurrentValues, getOrderBy, getValue, isEquivalent, last, limit, navigate, navigate, next, nextInSet, orderBy, orderBy, orderBy, orderByColumnNames, position, previous, reset, setComplexFilter, setFilter, setFilter, setRange, setRange, setRange, setRange, setRange, setRange, setValue, tryFindSet, tryFirst, tryLast
-
Methods inherited from class ru.curs.celesta.dbutils.BasicDataAccessor
canRead
-
Methods inherited from class ru.curs.celesta.dbutils.CsqlBasicDataAccessor
callContext, close, isClosed
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
COLUMNS
public final TablesCursor.Columns COLUMNS
-
-
Constructor Detail
-
TablesCursor
public TablesCursor(CallContext context)
-
TablesCursor
public TablesCursor(CallContext context, ColumnMeta<?>... columns)
-
-
Method Detail
-
getGrainid
public String getGrainid()
-
setGrainid
public TablesCursor setGrainid(String grainid)
-
getTablename
public String getTablename()
-
setTablename
public TablesCursor setTablename(String tablename)
-
getTabletype
public String getTabletype()
-
setTabletype
public TablesCursor setTabletype(String tabletype)
-
getOrphaned
public Boolean getOrphaned()
-
setOrphaned
public TablesCursor setOrphaned(Boolean orphaned)
-
_clearBuffer
public void _clearBuffer(boolean withKeys)
-
_currentValues
public Object[] _currentValues()
-
onPreDelete
public static void onPreDelete(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
onPostDelete
public static void onPostDelete(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
onPreInsert
public static void onPreInsert(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
onPostInsert
public static void onPostInsert(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
onPreUpdate
public static void onPreUpdate(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
onPostUpdate
public static void onPostUpdate(ICelesta celesta, Consumer<? super TablesCursor> cursorConsumer)
-
_getBufferCopy
public TablesCursor _getBufferCopy(CallContext context, Collection<? extends ColumnMeta<?>> fields)
-
copyFieldsFrom
public void copyFieldsFrom(BasicCursor c)
Description copied from class:BasicCursor
Copy field values from a cursor of the same type.- Specified by:
copyFieldsFrom
in classBasicCursor
- Parameters:
c
- cursor that field values have to be copied from
-
iterator
public Iterator<TablesCursor> iterator()
- Specified by:
iterator
in interfaceIterable<TablesCursor>
-
-