Package ru.curs.celesta.syscursors
Class LogCursor
- 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.LogCursor
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<LogCursor>
,InFilterSupport
@Generated(value="ru.curs.celesta.plugin.maven.CursorGenerator", date="2024-12-04T10:47:20.662521") public class LogCursor extends Cursor implements Iterable<LogCursor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogCursor.Columns
-
Field Summary
Fields Modifier and Type Field Description LogCursor.Columns
COLUMNS
static String
TABLE_NAME
-
Constructor Summary
Constructors Constructor Description LogCursor(CallContext context)
LogCursor(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 LogCursor.Columns COLUMNS
-
-
Constructor Detail
-
LogCursor
public LogCursor(CallContext context)
-
LogCursor
public LogCursor(CallContext context, ColumnMeta<?>... columns)
-
-
Method Detail
-
getEntryno
public Integer getEntryno()
-
getEntryTime
public Date getEntryTime()
-
getUserid
public String getUserid()
-
getSessionid
public String getSessionid()
-
getGrainid
public String getGrainid()
-
getTablename
public String getTablename()
-
getActionType
public String getActionType()
-
getPkvalue1
public String getPkvalue1()
-
getPkvalue2
public String getPkvalue2()
-
getPkvalue3
public String getPkvalue3()
-
getOldvalues
public String getOldvalues()
-
getNewvalues
public String getNewvalues()
-
tryGet
public boolean tryGet(Integer entryno)
-
get
public void get(Integer entryno)
-
_clearBuffer
public void _clearBuffer(boolean withKeys)
-
_currentValues
public Object[] _currentValues()
-
onPreDelete
public static void onPreDelete(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
onPostDelete
public static void onPostDelete(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
onPreInsert
public static void onPreInsert(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
onPostInsert
public static void onPostInsert(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
onPreUpdate
public static void onPreUpdate(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
onPostUpdate
public static void onPostUpdate(ICelesta celesta, Consumer<? super LogCursor> cursorConsumer)
-
_getBufferCopy
public LogCursor _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
-
-