|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jcorporate.expresso.core.dataobjects.BaseDataObject com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject com.jcorporate.expresso.core.dbobj.DBObject com.jcorporate.expresso.core.dbobj.SecuredDBObject com.sri.emo.dbobj.WizDecisionEntities
public class WizDecisionEntities
This function represents the many objects that are available to the decision set.
DataObjects provide the low-level Object Relational mapping between these objects and a JDBC backend.
Nested Class Summary | |
---|---|
static class |
WizDecisionEntities.DecisionComparator
Comparator that sorts on id. |
Nested classes/interfaces inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
---|
DBObject.FieldError, DBObject.FieldUpdate |
Field Summary | |
---|---|
static String |
FLD_ID
Public constant for access to field "Item ID" |
static String |
FLD_SETID
Public constant for access to field "Decision Set ID" |
static String |
FLD_STEPID
Public constant for access to field "Wizard Step Id" |
static String |
FLD_STEPVALUE
Public constant for access to field "Step Value" |
Fields inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
---|
ADD, ALL_FUNCTIONS, CACHE_NAME, CACHE_TTY, DELETE, SEARCH, SYSTEM_ACCOUNT_NAME, UPDATE |
Fields inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
---|
ATTRIBUTE_ERROR, ATTRIBUTE_ERROR_MESSAGE, ATTRIBUTE_PAGE_LIMIT, BIG_DECIMAL_ZERO, CACHE_LIMIT_PERCENT, CACHE_LIMIT_TTL, EMAIL_MASK, EVENT_ADD, EVENT_DELETE, EVENT_UPDATE, FLOAT_MASK, INT_MASK, IS_CHECK_RELATIONAL_INTEGRITY, IS_MUTABLE, sCacheStats, UPDATE_CHANGED_ONLY, WHERE_KEYWORD |
Fields inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
---|
anyFieldsDistinct, anyFieldsToInput, anyFieldsToRetrieve, appendCustomWhere, caseSensitiveQuery, customWhereClause, dbKey, distinctFields, inputFields, localConnection, LONGBINARY_READ_DEFAULT_SIZE, maxRecords, myClassName, myUpdates, offsetRecord, recordSet, retrieveFields, sMetadataMap, sortKeys |
Fields inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
---|
currentStatus, globalMask |
Fields inherited from interface com.jcorporate.expresso.core.dataobjects.Securable |
---|
SYSTEM_ACCOUNT |
Fields inherited from interface com.jcorporate.expresso.core.dataobjects.DataObject |
---|
STATUS_CURRENT, STATUS_DELETED, STATUS_NEW, STATUS_UPDATED |
Constructor Summary | |
---|---|
WizDecisionEntities()
Creates an instance of WizDecisionEntities. |
|
WizDecisionEntities(DBConnection dbConnection)
Creates an instance of WizDecisionEntities that uses an already grabbed DBConnection object. |
|
WizDecisionEntities(DBConnection dbConnection,
String securityContext)
Constructor that sets a connection as the object is created - typically this is used when a particular DBConnection is required for the purposes of maintaining a database transaction. |
Method Summary | |
---|---|
int |
getDecisionValue()
|
int |
getStepId()
|
void |
setDecisionValue(int decisionValue)
|
void |
setStepId(int stepValue)
|
protected void |
setupFields()
One time intiialization of all the field types. |
Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
---|
add, canRequesterAdd, canRequesterDelete, canRequesterRead, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, delete, deleteAll, find, getRequestingUid, getRequestingUser, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, retrieve, search, searchAndRetrieveList, searchAndRetrieveList, setRequestingUid, setRequestingUser, update |
Methods inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
---|
getGlobalMask, getStatus, isGlobalMasked, setFieldsWithDefaults, setGlobalMask, setStatus |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FLD_ID
public static final String FLD_SETID
public static final String FLD_STEPID
public static final String FLD_STEPVALUE
Constructor Detail |
---|
public WizDecisionEntities() throws DBException
DBException
- upon initialization exception.SecuredDBObject.SecuredDBObject(java.lang.String, int)
public WizDecisionEntities(DBConnection dbConnection) throws DBException
Example:
DBConnection oneConnection = DBConnectionPool.getInstance("default").getConnection();
oneConnection.setAutoCommit(false);
WizDecisionEntities myObj = new WizDecisionEntities(oneConnection);
//Set fields here....
myObj.add();
myObj.clear();
//more set fields
myObj.add();
//Commit the transaction
oneConnection.commit();
oneConnection.release();
dbConnection
- com.jcorporate.expresso.core.db.DBConnection
DBException
- upon construction errorpublic WizDecisionEntities(DBConnection dbConnection, String securityContext) throws DBException
This constructor is neceesary to work with otherDBMap and transaction capabilities
dbConnection
- The DBConnection to utilizesecurityContext
- The data context that contains the setup (and
security) tables for this object
DBException
- upon initialization errorMethod Detail |
---|
protected void setupFields() throws DBException
setupFields
in class DBObject
DBException
- upon errorpublic void setStepId(int stepValue) throws DBException
DBException
public int getStepId() throws DBException
DBException
public void setDecisionValue(int decisionValue) throws DBException
DBException
public int getDecisionValue() throws DBException
DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |