Package s1
Class HeaderCursor
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<HeaderCursor>
,InFilterSupport
@Generated(value="ru.curs.celesta.plugin.maven.CursorGenerator", date="2024-12-04T10:47:20.701624") public class HeaderCursor extends Cursor implements Iterable<HeaderCursor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderCursor.Columns
-
Field Summary
Fields Modifier and Type Field Description HeaderCursor.Columns
COLUMNS
-
Constructor Summary
Constructors Constructor Description HeaderCursor(CallContext context)
HeaderCursor(CallContext context, ColumnMeta<?>... columns)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_clearBuffer(boolean withKeys)
Object[]
_currentValues()
HeaderCursor
_getBufferCopy(CallContext context, Collection<? extends ColumnMeta<?>> fields)
void
copyFieldsFrom(BasicCursor c)
Copy field values from a cursor of the same type.void
get(Integer id)
Integer
getId()
Iterator<HeaderCursor>
iterator()
static void
onPostDelete(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
static void
onPostInsert(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
static void
onPostUpdate(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
static void
onPreDelete(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
static void
onPreInsert(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
static void
onPreUpdate(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
HeaderCursor
setId(Integer id)
boolean
tryGet(Integer id)
-
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
-
COLUMNS
public final HeaderCursor.Columns COLUMNS
-
-
Constructor Detail
-
HeaderCursor
public HeaderCursor(CallContext context)
-
HeaderCursor
public HeaderCursor(CallContext context, ColumnMeta<?>... columns)
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public HeaderCursor setId(Integer id)
-
tryGet
public boolean tryGet(Integer id)
-
get
public void get(Integer id)
-
_clearBuffer
public void _clearBuffer(boolean withKeys)
-
_currentValues
public Object[] _currentValues()
-
onPreDelete
public static void onPreDelete(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
onPostDelete
public static void onPostDelete(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
onPreInsert
public static void onPreInsert(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
onPostInsert
public static void onPostInsert(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
onPreUpdate
public static void onPreUpdate(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
onPostUpdate
public static void onPostUpdate(ICelesta celesta, Consumer<? super HeaderCursor> cursorConsumer)
-
_getBufferCopy
public HeaderCursor _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<HeaderCursor> iterator()
- Specified by:
iterator
in interfaceIterable<HeaderCursor>
-
-