|
||||||||||
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.jcorporate.expresso.core.dbobj.SecurDBObject com.sri.emo.wizard.creation.persistence.CreationDefinition
public class CreationDefinition
Gateway class to the completion definition. Provides a slightly different definition that wizard
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
---|
DBObject.FieldError, DBObject.FieldUpdate |
Field Summary | |
---|---|
List |
completionDetails
|
static String |
FLD_ID
|
static String |
FLD_TARGET_NODE
|
static String |
TABLE_NAME
|
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 | |
---|---|
CreationDefinition()
Default constructor to create a new object. |
|
CreationDefinition(DBConnection newConnection)
Constructor that takes a DBConnection for use inside a transaction. |
|
CreationDefinition(ReadOnlyUser readOnlyUser)
Constructor taht takes a ReadOnlyUser security context. |
Method Summary | |
---|---|
void |
add()
Override of add that also adds the completion details as well. |
void |
addCompletionDetail(CreationDetails oneDetail)
Adds a completion detail to the definition. |
List |
getCompletionDetails()
Retrieve a list of all completion details. |
String |
getIdField()
Attribute to know what the id field of the additional information database object is. |
String |
getTargetNodeId()
Retrieve the target node id. |
WizDefinition |
getWizardDefinition()
Retrieve the wizard definition. |
protected void |
setupFields()
Method to set up the fields for this database object. |
void |
setWizardDefinition(WizDefinition definition)
Sets the wizard definition. |
Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
---|
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 |
Methods inherited from interface com.jcorporate.expresso.core.dataobjects.Securable |
---|
getRequestingUid, isAllowed, setRequestingUid, setRequestingUser |
Field Detail |
---|
public static final String FLD_ID
public static final String FLD_TARGET_NODE
public List completionDetails
public static final String TABLE_NAME
Constructor Detail |
---|
public CreationDefinition() throws DBException
DBException
- upon construction error.public CreationDefinition(DBConnection newConnection) throws DBException
newConnection
- DBConnection the transaction connection.
DBException
- upon construction error.public CreationDefinition(ReadOnlyUser readOnlyUser) throws DBException
readOnlyUser
- ReadOnlyUser the ReadOnlyUser instance.
DBException
- upon construction error.Method Detail |
---|
public String getTargetNodeId() throws DBException
DBException
public void setWizardDefinition(WizDefinition definition) throws DBException
definition
- WizDefinition
DBException
public WizDefinition getWizardDefinition() throws DBException
DBException
public List getCompletionDetails() throws DBException
DBException
- upon query error.public void addCompletionDetail(CreationDetails oneDetail) throws DBException
oneDetail
- CompletionDetails
DBException
public void add() throws DBException
add
in interface DataObject
add
in class SecuredDBObject
DBException
protected void setupFields() throws DBException
setupFields
in class DBObject
DBException
- If there is an error setting up the fields as
requested. For example, if a field allowing null is requested as
part of the keypublic String getIdField()
getIdField
in interface AdditionalInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |