Package s1
Class LineCursor
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<LineCursor>
,InFilterSupport
@Generated(value="ru.curs.celesta.plugin.maven.CursorGenerator", date="2024-12-04T10:47:20.70701") public class LineCursor extends Cursor implements Iterable<LineCursor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LineCursor.Columns
-
Field Summary
Fields Modifier and Type Field Description LineCursor.Columns
COLUMNS
-
Constructor Summary
Constructors Constructor Description LineCursor(CallContext context)
LineCursor(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()
LineCursor
_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 headerId)
Integer
getHeaderId()
Integer
getId()
Iterator<LineCursor>
iterator()
static void
onPostDelete(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
static void
onPostInsert(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
static void
onPostUpdate(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
static void
onPreDelete(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
static void
onPreInsert(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
static void
onPreUpdate(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
LineCursor
setHeaderId(Integer headerId)
LineCursor
setId(Integer id)
boolean
tryGet(Integer id, Integer headerId)
-
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 LineCursor.Columns COLUMNS
-
-
Constructor Detail
-
LineCursor
public LineCursor(CallContext context)
-
LineCursor
public LineCursor(CallContext context, ColumnMeta<?>... columns)
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public LineCursor setId(Integer id)
-
getHeaderId
public Integer getHeaderId()
-
setHeaderId
public LineCursor setHeaderId(Integer headerId)
-
_clearBuffer
public void _clearBuffer(boolean withKeys)
-
_currentValues
public Object[] _currentValues()
-
onPreDelete
public static void onPreDelete(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
onPostDelete
public static void onPostDelete(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
onPreInsert
public static void onPreInsert(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
onPostInsert
public static void onPostInsert(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
onPreUpdate
public static void onPreUpdate(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
onPostUpdate
public static void onPostUpdate(ICelesta celesta, Consumer<? super LineCursor> cursorConsumer)
-
_getBufferCopy
public LineCursor _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<LineCursor> iterator()
- Specified by:
iterator
in interfaceIterable<LineCursor>
-
-