Package hec.lang
Interface Transaction
public interface Transaction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
A constant int for a Delete action.static final int
static final String
static final int
static final String
static final int
static final String
static final int
A constant int for a Key Update action.static final int
A constant int for a retrieve action.static final int
static final int
Description of the Field -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the Processed attribute of the Action objectGets the ProcessedBy attribute of the Action objectReturns a String describing the return value of an Action.int
void
setProcessed
(boolean tf) Sets the Processed attribute of the Action objectvoid
setProcessedBy
(String who) Sets the ProcessedBy attribute of the Action objectvoid
setReturnValue
(String str) Sets the return value for an Action to the argument String.
-
Field Details
-
RETRIEVE
static final int RETRIEVEA constant int for a retrieve action.- See Also:
-
STORE
static final int STOREDescription of the Field- See Also:
-
DELETE
static final int DELETEA constant int for a Delete action.- See Also:
-
DELETE_DATA
static final int DELETE_DATA- See Also:
-
DELETE_KEY
static final int DELETE_KEY- See Also:
-
DELETE_ALL
static final int DELETE_ALL- See Also:
-
DELETE_DATA_STRING
- See Also:
-
DELETE_KEY_STRING
- See Also:
-
DELETE_ALL_STRING
- See Also:
-
KEY_UPDATE
static final int KEY_UPDATEA constant int for a Key Update action.- See Also:
-
STATUS_CHECK
static final int STATUS_CHECK- See Also:
-
-
Method Details
-
getSource
String getSource() -
getTransactionType
int getTransactionType() -
setReturnValue
Sets the return value for an Action to the argument String. Typically this will be a SQL out parameter.- Parameters:
str
- The new ReturnValue value
-
setProcessed
void setProcessed(boolean tf) Sets the Processed attribute of the Action object- Parameters:
tf
- The new Processed value
-
setProcessedBy
Sets the ProcessedBy attribute of the Action object- Parameters:
who
- The new ProcessedBy value
-
getReturnValue
String getReturnValue()Returns a String describing the return value of an Action.- Returns:
- The ReturnValue value
-
getProcessed
boolean getProcessed()Gets the Processed attribute of the Action object- Returns:
- The Processed value
-
getProcessedBy
String getProcessedBy()Gets the ProcessedBy attribute of the Action object- Returns:
- The ProcessedBy value
-