public final class TransRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_CREATE
The record was created in this transaction
|
static java.lang.String |
ACTION_DELETE
The record was deleted in this transaction
|
static java.lang.String |
ACTION_MODIFY
The record was modified in this transaction
|
Modifier and Type | Method and Description |
---|---|
static TransRecord |
fetch(int layerId,
long transId,
long row_uid) |
static TransRecord |
find(VirtualDB layer,
long transId,
long rowUID) |
TransHeader |
findTransHeader() |
java.lang.String |
getAction()
The action on this record in this transaction
|
java.lang.String |
getActionName() |
java.lang.String |
getClassGid()
The ClassGid on this record in this transaction
|
DBClass |
getDBClass() |
GlobalKey |
getDBClassKey() |
TransField[] |
getFieldList() |
GlobalKey |
getGlobalKey() |
long |
getRowUID() |
TransHeader |
getTransHeader() |
boolean |
isDeleted()
Was this record deleted ?
|
static TransRecord |
load(int layerId,
long transId,
long row_uid,
java.lang.String action,
java.lang.String classGid) |
TransHeader |
previousTransHeader() |
static boolean |
transactionKnownToExist(int layerId,
long transId) |
public static final java.lang.String ACTION_CREATE
public static final java.lang.String ACTION_DELETE
public static final java.lang.String ACTION_MODIFY
@CheckReturnValue @Nonnull public static TransRecord load(int layerId, long transId, long row_uid, java.lang.String action, java.lang.String classGid)
layerId
- the layertransId
- the transactionrow_uid
- the rowaction
- the actionclassGid
- the class@CheckReturnValue @Nonnull public static TransRecord find(@Nonnull VirtualDB layer, @Nonnegative long transId, @Nonnegative long rowUID) throws NotFoundException
layer
- the layertransId
- the transactionrowUID
- the rowNotFoundException
- not found.@CheckReturnValue @Nullable public static TransRecord fetch(int layerId, long transId, long row_uid) throws NotFoundException
layerId
- the layertransId
- the transactionrow_uid
- the rowNotFoundException
- not found.@CheckReturnValue @Nonnull public TransField[] getFieldList() throws java.lang.Exception
java.lang.Exception
- Exception A serious problempublic static boolean transactionKnownToExist(int layerId, long transId)
@CheckReturnValue public boolean isDeleted()
@CheckReturnValue @Nonnull public java.lang.String getAction()
@CheckReturnValue @Nonnull public java.lang.String getClassGid()
@CheckReturnValue @Nonnull public java.lang.String getActionName()
@CheckReturnValue public long getRowUID()
@CheckReturnValue @Nonnull public TransHeader previousTransHeader() throws NotFoundException
NotFoundException
@CheckReturnValue @Nonnull public GlobalKey getGlobalKey() throws java.lang.Exception
java.lang.Exception
- Exception A serious problem@CheckReturnValue @Nullable public TransHeader getTransHeader()
@CheckReturnValue @Nonnull public TransHeader findTransHeader() throws NotFoundException
NotFoundException
@CheckReturnValue @Nonnull public GlobalKey getDBClassKey()
@CheckReturnValue @Nullable public DBClass getDBClass()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.