|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.appserver.server.sql.CoreDO | +--com.lutris.appserver.server.sql.CloneableDO | +--com.lutris.dods.builder.generator.dataobject.GenericDO | +--org.webdocwf.dods.access.SecureDO | +--org.webdocwf.util.genericstore.GenericStoreDO | +--org.webdocwf.util.genericstore.data.EnumValueDefinitionDO
Data core class, used to set, retrieve the EnumValueDefinitionDO information.
Field Summary | |
static RDBColumn |
BEGINSTATE
|
static RDBColumn |
ENDSTATE
|
static RDBColumn |
ENUMTYPEDEFINITIONOID
|
protected static boolean |
isView
|
static RDBColumn |
KEYVALUE
|
static int |
KEYVALUE_MaxLength
|
static RDBColumn |
LONGNAME
|
static int |
LONGNAME_MaxLength
|
static RDBColumn |
PrimaryKey
static final RDBColumn PrimaryKey for use with QueryBuilder. |
static RDBColumn |
SHORTNAME
|
static int |
SHORTNAME_MaxLength
|
static RDBTable |
table
static final data members name the table and columns for this DO. |
static RDBColumn |
XMLNAME
|
static int |
XMLNAME_MaxLength
|
Fields inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO |
dirty |
Fields inherited from class com.lutris.appserver.server.sql.CoreDO |
persistent, versioning |
Constructor Summary | |
protected |
EnumValueDefinitionDO()
Protected constructor. |
protected |
EnumValueDefinitionDO(boolean is_view)
Protected constructor. |
protected |
EnumValueDefinitionDO(ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
EnumValueDefinitionDO(java.sql.ResultSet rs)
Protected constructor. |
Method Summary | |
void |
addAttributeEnumValueDO(AttributeEnumValueDO referrer)
Add (set & commit) a AttributeEnumValueDO object that refers to this DO. |
void |
addAttributeEnumValueDO(AttributeEnumValueDO referrer,
DBTransaction tran)
Add (set & commit) a AttributeEnumValueDO object that refers to this DO. |
void |
addAttributeEnumValueDO(AttributeEnumValueDO referrer,
DBTransaction tran,
User usr)
Add (set & commit) a AttributeEnumValueDO object that refers to this DO. |
void |
addAttributeEnumValueDO(AttributeEnumValueDO referrer,
User usr)
Add (set & commit) a AttributeEnumValueDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
DBTransaction tran)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
DBTransaction tran,
User usr)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
User usr)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
DBTransaction tran)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
DBTransaction tran,
User usr)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
void |
addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
User usr)
Add (set & commit) a StateTransitionDO object that refers to this DO. |
static EnumValueDefinitionDO |
addToCache(EnumValueDefinitionDO newDO)
Add DO to cache. |
static void |
assertDOCreateAccess(User usr)
Ensure that the given user is allowed to create new instances |
void |
assertDOGetAttrBEGINSTATEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrENDSTATEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrENUMTYPEDEFINITIONOIDAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrKEYVALUEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrLONGNAMEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrSHORTNAMEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOGetAttrXMLNAMEAccess(User usr)
Ensure that the given user is allowed to read the attribute |
void |
assertDOSetAttrBEGINSTATEAccess(boolean BEGINSTATE,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrENDSTATEAccess(boolean ENDSTATE,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrENUMTYPEDEFINITIONOIDAccess(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrKEYVALUEAccess(java.lang.String KEYVALUE,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrLONGNAMEAccess(java.lang.String LONGNAME,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrSHORTNAMEAccess(java.lang.String SHORTNAME,
User usr)
Ensure that the given user is allowed to update the attribute |
void |
assertDOSetAttrXMLNAMEAccess(java.lang.String XMLNAME,
User usr)
Ensure that the given user is allowed to update the attribute |
protected void |
checkLoad()
Load the actual DO data if necessary. |
void |
commit()
Deprecated. Use save() instead. |
void |
commit(DBTransaction dbt)
Deprecated. Use save() instead. |
static EnumValueDefinitionDO |
createCopy(EnumValueDefinitionDataStruct data)
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static EnumValueDefinitionDO |
createCopy(EnumValueDefinitionDO orig)
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static EnumValueDefinitionDO |
createCopy(EnumValueDefinitionDO orig,
User usr)
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. |
static EnumValueDefinitionDO |
createExisting(java.math.BigDecimal bd)
createExisting( BigDecimal ) Factory method creates a EnumValueDefinitionDO object by searching for it in the database using the passed BigDecimal value as the primary key. |
static EnumValueDefinitionDO |
createExisting(java.math.BigDecimal bd,
User usr)
createExisting( BigDecimal ) Factory method creates a EnumValueDefinitionDO object by searching for it in the database using the passed BigDecimal value as the primary key. |
protected static EnumValueDefinitionDO |
createExisting(ObjectId id)
createExisting( ObjectId ) Factory method creates a EnumValueDefinitionDO object by searching for it in the database using the passed ObjectID value as the primary key. |
protected static EnumValueDefinitionDO |
createExisting(RDBColumnValue pk)
createExisting( RDBColumnValue ) Factory method creates a EnumValueDefinitionDO object by searching for it in the database using the passed EnumValueDefinitionDO.PrimaryKey. |
protected static EnumValueDefinitionDO |
createExisting(RDBRow row)
createExisting( RDBRow ) Factory method creates a EnumValueDefinitionDO object by searching for it in the database using the EnumValueDefinitionDO.PrimaryKey value in the passed RDBRow. |
protected static EnumValueDefinitionDO |
createExisting(java.sql.ResultSet rs)
createExisting( ResultSet ) Factory method used to create an instance of this class to represent a Data Object already existing in the database. |
static EnumValueDefinitionDO |
createExisting(java.lang.String handle)
The createExisting method is used to create a EnumValueDefinitionDO
from a string handle. |
static EnumValueDefinitionDO |
createExisting(java.lang.String handle,
User usr)
The createExisting method is used to create a EnumValueDefinitionDO
from a string handle. |
GenericStoreDO |
createForExisting(java.math.BigDecimal bd)
Create an instance for an existing row This is a strange hack for having an instance method Maybe there is a better solution ? WebDocWf extension |
static EnumValueDefinitionDO |
createVirgin()
createVirgin() Creates a DO that has no ObjectId or data. |
static EnumValueDefinitionDO |
createVirgin(User usr)
createVirgin() Creates a DO that has no ObjectId or data. |
void |
delete()
Deletes the DO from its table. |
void |
delete(DBTransaction dbt)
Deletes the DO from its table. |
static EnumValueDefinitionDO |
findCachedObjectByHandle(java.lang.String handle)
findCachedObjectByHandle |
static EnumValueDefinitionDO |
findCachedObjectByHandle(java.lang.String handle,
User usr)
findCachedObjectByHandle |
AttributeEnumValueDO |
getAttributeEnumValueDO()
Get the single AttributeEnumValueDO object that refers to this DO. |
AttributeEnumValueDO |
getAttributeEnumValueDO(User usr)
Get the single AttributeEnumValueDO object that refers to this DO. |
AttributeEnumValueDO[] |
getAttributeEnumValueDOArray()
Get array of AttributeEnumValueDO objects that refer to this DO. |
AttributeEnumValueDO[] |
getAttributeEnumValueDOArray(User usr)
Get array of AttributeEnumValueDO objects that refer to this DO. |
int |
getAttributeEnumValueDOArrayCount()
Get the number of AttributeEnumValueDOs that refer to this DO. |
int |
getAttributeEnumValueDOArrayCount(User usr)
Get the number of AttributeEnumValueDOs that refer to this DO. |
boolean |
getBEGINSTATE()
Get BEGINSTATE of the GENERICENUMVALUEDEFINITION |
boolean |
getBEGINSTATE(User usr)
Get BEGINSTATE of the GENERICENUMVALUEDEFINITION |
static java.util.Enumeration |
getCacheContents()
Retrieve contents of cache as an enumeration of DO objects. |
java.sql.PreparedStatement |
getDeleteStatement(DBConnection conn)
Prepares the statement used to delete this object from the database. |
boolean |
getENDSTATE()
Get ENDSTATE of the GENERICENUMVALUEDEFINITION |
boolean |
getENDSTATE(User usr)
Get ENDSTATE of the GENERICENUMVALUEDEFINITION |
EnumTypeDefinitionDO |
getENUMTYPEDEFINITIONOID()
Get ENUMTYPEDEFINITIONOID of the GENERICENUMVALUEDEFINITION |
EnumTypeDefinitionDO |
getENUMTYPEDEFINITIONOID(User usr)
Get ENUMTYPEDEFINITIONOID of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getHandle()
The methods
getHandle
hasMatchingHandle
findCachedObjectByHandle
are used by Presentation Objects that need to populate
HTML select lists with Data Objects as options. |
java.sql.PreparedStatement |
getInsertStatement(DBConnection conn)
Prepares the statement used to insert this object into the database. |
java.lang.String |
getKEYVALUE()
Get KEYVALUE of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getKEYVALUE(User usr)
Get KEYVALUE of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getLONGNAME()
Get LONGNAME of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getLONGNAME(User usr)
Get LONGNAME of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getSHORTNAME()
Get SHORTNAME of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getSHORTNAME(User usr)
Get SHORTNAME of the GENERICENUMVALUEDEFINITION |
StateTransitionDO |
getStateTransitionDO_ENUMVALUEDEFINITIONFROMOID()
Get the single StateTransitionDO object that refers to this DO. |
StateTransitionDO |
getStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(User usr)
Get the single StateTransitionDO object that refers to this DO. |
StateTransitionDO |
getStateTransitionDO_ENUMVALUEDEFINITIONTOOID()
Get the single StateTransitionDO object that refers to this DO. |
StateTransitionDO |
getStateTransitionDO_ENUMVALUEDEFINITIONTOOID(User usr)
Get the single StateTransitionDO object that refers to this DO. |
StateTransitionDO[] |
getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOID()
Get array of StateTransitionDO objects that refer to this DO. |
StateTransitionDO[] |
getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOID(User usr)
Get array of StateTransitionDO objects that refer to this DO. |
int |
getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOIDCount()
Get the number of StateTransitionDOs that refer to this DO. |
int |
getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOIDCount(User usr)
Get the number of StateTransitionDOs that refer to this DO. |
StateTransitionDO[] |
getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOID()
Get array of StateTransitionDO objects that refer to this DO. |
StateTransitionDO[] |
getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOID(User usr)
Get array of StateTransitionDO objects that refer to this DO. |
int |
getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOIDCount()
Get the number of StateTransitionDOs that refer to this DO. |
int |
getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOIDCount(User usr)
Get the number of StateTransitionDOs that refer to this DO. |
java.lang.String |
getTableName()
Return GENERICENUMVALUEDEFINITION as the name of the table in the database which contains EnumValueDefinitionDO objects. |
java.sql.PreparedStatement |
getUpdateStatement(DBConnection conn)
Prepares the statement used to update this object in the database. |
java.lang.String |
getXMLNAME()
Get XMLNAME of the GENERICENUMVALUEDEFINITION |
java.lang.String |
getXMLNAME(User usr)
Get XMLNAME of the GENERICENUMVALUEDEFINITION |
static boolean |
hasDOCreateAccess(User usr)
Check whether the given user is allowed to create new instances |
static boolean |
hasDOGetAccess(java.math.BigDecimal bd,
User usr)
Check whether the given user is allowed to read the DO existance Static function to be called without having the object |
static boolean |
hasDOGetAccess(java.lang.String handle,
User usr)
Check whether the given user is allowed to read the DO existance Static function to be called without having the object |
boolean |
hasDOGetAttrBEGINSTATEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrENDSTATEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrENUMTYPEDEFINITIONOIDAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrKEYVALUEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrLONGNAMEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrSHORTNAMEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetAttrXMLNAMEAccess(User usr)
Check whether the given user is allowed to read the attribute |
boolean |
hasDOGetDOValueBEGINSTATEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueENDSTATEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueENUMTYPEDEFINITIONOIDAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueKEYVALUEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueLONGNAMEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueSHORTNAMEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOGetDOValueXMLNAMEAccess(User usr)
Check whether the given user is allowed to read object in a pointer attribute |
boolean |
hasDOSetAttrBEGINSTATEAccess(boolean BEGINSTATE,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrENDSTATEAccess(boolean ENDSTATE,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrENUMTYPEDEFINITIONOIDAccess(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrKEYVALUEAccess(java.lang.String KEYVALUE,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrLONGNAMEAccess(java.lang.String LONGNAME,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrSHORTNAMEAccess(java.lang.String SHORTNAME,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasDOSetAttrXMLNAMEAccess(java.lang.String XMLNAME,
User usr)
Check whether the given user is allowed to update the attribute |
boolean |
hasMatchingHandle(java.lang.String handle)
hasMatchingHandle |
boolean |
isLoaded()
isLoaded() Returns true if the data for this objects has been retrieved from the database. |
boolean |
isReadOnly()
isReadOnly() Returns true if the data for this object has been marked read-only. |
void |
loadData()
loadData() Load the fields for the DO from the database. |
protected void |
makeIdentical(EnumValueDefinitionDO orig)
makeIdentical() Assigns the DataStruct of an existing DO to this DO. |
void |
makeReadOnly()
makeReadOnly() Mark the object as readonly WebDocWf extension |
void |
makeReadWrite()
makeReadWrite() |
protected void |
modifyDO(DBTransaction dbt,
boolean delete)
Modifies the DO within its table. |
protected void |
modifyDO(DBTransaction dbt,
boolean delete,
boolean references)
Modifies the DO within its table. |
protected void |
okToCommit()
A stub method for implementing pre-commit assertions for this EnumValueDefinitionDO. |
protected void |
okToCommitENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO member)
A stub method for implementing pre-commit assertions for the ENUMTYPEDEFINITIONOID data member. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this EnumValueDefinitionDO. |
protected void |
okToDeleteENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO member)
A stub method for implementing pre-delete assertions for the ENUMTYPEDEFINITIONOID data member. |
static void |
refreshCache()
Queries all rows in table, and for each row creates a DO instance in the cache. |
void |
reload()
reload() Causes the DO to refresh itself from the database the next time a set or get method is called. |
void |
removeAttributeEnumValueDO(AttributeEnumValueDO referrer)
Remove (delete) a AttributeEnumValueDO object that refers to this DO. |
void |
removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
DBTransaction tran)
Remove (delete) a AttributeEnumValueDO object that refers to this DO. |
void |
removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
DBTransaction tran,
User usr)
Remove (delete) a AttributeEnumValueDO object that refers to this DO. |
void |
removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
User usr)
Remove (delete) a AttributeEnumValueDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
DBTransaction tran)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
DBTransaction tran,
User usr)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer,
User usr)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
DBTransaction tran)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
DBTransaction tran,
User usr)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer,
User usr)
Remove (delete) a StateTransitionDO object that refers to this DO. |
void |
save()
Inserts/Updates the DO into its table. |
void |
save(boolean references)
Inserts/Updates the DO into its table. |
void |
save(DBTransaction dbt)
Inserts/Updates the DO into its table. |
void |
save(DBTransaction dbt,
boolean references)
Inserts/Updates the DO into its table. |
void |
setBEGINSTATE(boolean BEGINSTATE)
Set BEGINSTATE of the GENERICENUMVALUEDEFINITION |
void |
setBEGINSTATE(boolean BEGINSTATE,
User usr)
Set BEGINSTATE of the GENERICENUMVALUEDEFINITION |
void |
setENDSTATE(boolean ENDSTATE)
Set ENDSTATE of the GENERICENUMVALUEDEFINITION |
void |
setENDSTATE(boolean ENDSTATE,
User usr)
Set ENDSTATE of the GENERICENUMVALUEDEFINITION |
void |
setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID)
Set ENUMTYPEDEFINITIONOID of the GENERICENUMVALUEDEFINITION |
void |
setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID,
User usr)
Set ENUMTYPEDEFINITIONOID of the GENERICENUMVALUEDEFINITION |
void |
setKEYVALUE(java.lang.String KEYVALUE)
Set KEYVALUE of the GENERICENUMVALUEDEFINITION |
void |
setKEYVALUE(java.lang.String KEYVALUE,
User usr)
Set KEYVALUE of the GENERICENUMVALUEDEFINITION |
void |
setLONGNAME(java.lang.String LONGNAME)
Set LONGNAME of the GENERICENUMVALUEDEFINITION |
void |
setLONGNAME(java.lang.String LONGNAME,
User usr)
Set LONGNAME of the GENERICENUMVALUEDEFINITION |
void |
setSHORTNAME(java.lang.String SHORTNAME)
Set SHORTNAME of the GENERICENUMVALUEDEFINITION |
void |
setSHORTNAME(java.lang.String SHORTNAME,
User usr)
Set SHORTNAME of the GENERICENUMVALUEDEFINITION |
void |
setXMLNAME(java.lang.String XMLNAME)
Set XMLNAME of the GENERICENUMVALUEDEFINITION |
void |
setXMLNAME(java.lang.String XMLNAME,
User usr)
Set XMLNAME of the GENERICENUMVALUEDEFINITION |
java.lang.String |
toString()
|
java.lang.String |
toString(int indentCount)
|
Methods inherited from class com.lutris.appserver.server.sql.CloneableDO |
clone |
Methods inherited from class com.lutris.appserver.server.sql.CoreDO |
addToCache, deleteFromCache, disableVersioning, evict, finalizeDelete, getNewVersion, getOId, getOIdColumnName, getVersionColumnName, isPersistent, refresh, setNewVersion, setOIdColumnName, setPersistent, setVersion, setVersionColumnName, updateCache |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final RDBTable table
public static final RDBColumn PrimaryKey
protected static final boolean isView
public static final RDBColumn ENUMTYPEDEFINITIONOID
public static final RDBColumn BEGINSTATE
public static final RDBColumn ENDSTATE
public static final RDBColumn LONGNAME
public static final int LONGNAME_MaxLength
public static final RDBColumn SHORTNAME
public static final int SHORTNAME_MaxLength
public static final RDBColumn KEYVALUE
public static final int KEYVALUE_MaxLength
public static final RDBColumn XMLNAME
public static final int XMLNAME_MaxLength
Constructor Detail |
protected EnumValueDefinitionDO(boolean is_view) throws ObjectIdException, DatabaseManagerException
DatabaseManagerException
- If a connection to the database cannot be established, etc.
ObjectIdException
- If an object id can't be allocated for this object.protected EnumValueDefinitionDO() throws ObjectIdException, DatabaseManagerException
DatabaseManagerException
- If a connection to the database cannot be established, etc.
ObjectIdException
- If an object id can't be allocated for this object.protected EnumValueDefinitionDO(ObjectId id) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
id
- The ObjectId for the object.
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- Should never see this exception since GenericDO.ctor(ObjectId)
never accesses the database.protected EnumValueDefinitionDO(java.sql.ResultSet rs) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
rs
- Result set from which to obtain product data.
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.Method Detail |
public java.lang.String getTableName()
getTableName
in class CoreDO
CoreDO
public boolean isReadOnly()
isReadOnly
in class SecureDO
public boolean isLoaded()
public void loadData() throws java.sql.SQLException, ObjectIdException, DataObjectException
ObjectIdException
- If an object id can't be allocated for this object.
DataObjectException
- If the object is not found in the database.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected void checkLoad() throws DataObjectException
checkLoad
in class SecureDO
DataObjectException
- If a data access error occurs.public static void refreshCache() throws java.sql.SQLException, DatabaseManagerException, ObjectIdException, DataObjectException
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static EnumValueDefinitionDO addToCache(EnumValueDefinitionDO newDO)
public static java.util.Enumeration getCacheContents()
public static EnumValueDefinitionDO createVirgin() throws DatabaseManagerException, ObjectIdException
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.public static EnumValueDefinitionDO createVirgin(User usr) throws DatabaseManagerException, ObjectIdException, AccessException
usr
- The user for security check
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
AccessException
- The user is not allowed to create new instances
WebDocWf extensionpublic static void assertDOCreateAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to create new instances
WebDocWf extensionpublic static boolean hasDOCreateAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public GenericStoreDO createForExisting(java.math.BigDecimal bd) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
createForExisting
in class GenericStoreDO
bd
- ObjectID as BigDecimal of the object which must be read from the DB
java.sql.SQLException
ObjectIdException
DataObjectException
DatabaseManagerException
public static EnumValueDefinitionDO createExisting(java.math.BigDecimal bd) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
bd
- The BigDecimal representation of the ObjectId for the object.
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static EnumValueDefinitionDO createExisting(java.math.BigDecimal bd, User usr) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException, AccessException
bd
- The BigDecimal representation of the ObjectId for the object.usr
- The user for security check
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.
AccessException
- The user is not allowed to read the instance existance
WebDocWf extensionpublic static boolean hasDOGetAccess(java.math.BigDecimal bd, User usr) throws AccessEvalException
bd
- The BigDecimal representation of the ObjectId for the object.usr
- The user for security check
AccessEvalException
public static EnumValueDefinitionDO createExisting(java.lang.String handle)
EnumValueDefinitionDO
from a string handle.
public static EnumValueDefinitionDO createExisting(java.lang.String handle, User usr) throws AccessException
EnumValueDefinitionDO
from a string handle.
WebDocWf extension
AccessException
public static boolean hasDOGetAccess(java.lang.String handle, User usr) throws AccessEvalException
handle
- The string representation of the ObjectId for the object.usr
- The user for security check
AccessEvalException
protected static EnumValueDefinitionDO createExisting(ObjectId id) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
id
- The ObjectId for the object.
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static EnumValueDefinitionDO createExisting(java.sql.ResultSet rs) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
rs
- The ResultSet returned by the Query class for
an existing Data Object stored in the database.
DataObjectException
- If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static EnumValueDefinitionDO createExisting(RDBRow row) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
DataObjectException
- If the RDBRow does not contain a EnumValueDefinitionDO.PrimaryKey.
If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.protected static EnumValueDefinitionDO createExisting(RDBColumnValue pk) throws java.sql.SQLException, ObjectIdException, DataObjectException, DatabaseManagerException
DataObjectException
- If the RDBColumnValue does not contain a EnumValueDefinitionDO.PrimaryKey.
If the object is not found in the database.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
java.sql.SQLException
- If the database rejects the SQL generated to retrieve data
for this object, or if the table contains a bad foreign key, etc.public static EnumValueDefinitionDO createCopy(EnumValueDefinitionDataStruct data) throws DatabaseManagerException, ObjectIdException
data
- The data struct to copy values from.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.public static EnumValueDefinitionDO createCopy(EnumValueDefinitionDO orig) throws DatabaseManagerException, ObjectIdException
orig
- The original DO to copy.
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.public static EnumValueDefinitionDO createCopy(EnumValueDefinitionDO orig, User usr) throws DatabaseManagerException, ObjectIdException, AccessException
orig
- The original DO to copy.usr
- The user for security check
ObjectIdException
- If an object id can't be allocated for this object.
DatabaseManagerException
- If a connection to the database cannot be established, etc.
AccessException
- The user is not allowed to make a copy
WebDocWf extensionpublic void reload()
public java.lang.String getHandle() throws DatabaseManagerException
getHandle
hasMatchingHandle
findCachedObjectByHandle
are used by Presentation Objects that need to populate
HTML select lists with Data Objects as options.
The getHandle()
method is used
to set the value for each option,
and the hasMatchingHandle()
and findCachedObjectByHandle()
methods are used to lookup the Data Object when the selection has
been made.
- Specified by:
getHandle
in class SecureDO
- Returns:
- id of this DO as a string
If an object id can't be allocated for this object.
- Throws:
DatabaseManagerException
- If a connection to the database cannot be established, etc.
public boolean hasMatchingHandle(java.lang.String handle)
hasMatchingHandle
in class SecureDO
handle
- String
version of DO id
public static EnumValueDefinitionDO findCachedObjectByHandle(java.lang.String handle)
handle
- String
version of DO id
EnumValueDefinitionDO
Object if one is found in cache, otherwise null.public static EnumValueDefinitionDO findCachedObjectByHandle(java.lang.String handle, User usr) throws AccessException
handle
- String
version of DO idusr
- The user for security check
EnumValueDefinitionDO
Object if one is found in cache, otherwise null.
AccessException
- The user is not allowed to read the object existance
WebDocWf extensionprotected void makeIdentical(EnumValueDefinitionDO orig)
orig
- The original DO.public void makeReadOnly()
makeReadOnly
in class SecureDO
public void makeReadWrite()
makeReadWrite
in class SecureDO
public EnumTypeDefinitionDO getENUMTYPEDEFINITIONOID() throws DataObjectException
getENUMTYPEDEFINITIONOID
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public EnumTypeDefinitionDO getENUMTYPEDEFINITIONOID(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrENUMTYPEDEFINITIONOIDAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrENUMTYPEDEFINITIONOIDAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueENUMTYPEDEFINITIONOIDAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID) throws DataObjectException
setENUMTYPEDEFINITIONOID
in interface EnumValueDefinitionDOI
ENUMTYPEDEFINITIONOID
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID, User usr) throws DataObjectException, AccessException
ENUMTYPEDEFINITIONOID
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrENUMTYPEDEFINITIONOIDAccess(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID, User usr) throws AccessException
ENUMTYPEDEFINITIONOID
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrENUMTYPEDEFINITIONOIDAccess(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID, User usr) throws AccessEvalException
ENUMTYPEDEFINITIONOID
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public boolean getBEGINSTATE() throws DataObjectException
getBEGINSTATE
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public boolean getBEGINSTATE(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrBEGINSTATEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrBEGINSTATEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueBEGINSTATEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setBEGINSTATE(boolean BEGINSTATE) throws DataObjectException
setBEGINSTATE
in interface EnumValueDefinitionDOI
BEGINSTATE
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setBEGINSTATE(boolean BEGINSTATE, User usr) throws DataObjectException, AccessException
BEGINSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrBEGINSTATEAccess(boolean BEGINSTATE, User usr) throws AccessException
BEGINSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrBEGINSTATEAccess(boolean BEGINSTATE, User usr) throws AccessEvalException
BEGINSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public boolean getENDSTATE() throws DataObjectException
getENDSTATE
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public boolean getENDSTATE(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrENDSTATEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrENDSTATEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueENDSTATEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setENDSTATE(boolean ENDSTATE) throws DataObjectException
setENDSTATE
in interface EnumValueDefinitionDOI
ENDSTATE
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setENDSTATE(boolean ENDSTATE, User usr) throws DataObjectException, AccessException
ENDSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrENDSTATEAccess(boolean ENDSTATE, User usr) throws AccessException
ENDSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrENDSTATEAccess(boolean ENDSTATE, User usr) throws AccessEvalException
ENDSTATE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public java.lang.String getLONGNAME() throws DataObjectException
getLONGNAME
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public java.lang.String getLONGNAME(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrLONGNAMEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrLONGNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueLONGNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setLONGNAME(java.lang.String LONGNAME) throws DataObjectException
setLONGNAME
in interface EnumValueDefinitionDOI
LONGNAME
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setLONGNAME(java.lang.String LONGNAME, User usr) throws DataObjectException, AccessException
LONGNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrLONGNAMEAccess(java.lang.String LONGNAME, User usr) throws AccessException
LONGNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrLONGNAMEAccess(java.lang.String LONGNAME, User usr) throws AccessEvalException
LONGNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public java.lang.String getSHORTNAME() throws DataObjectException
getSHORTNAME
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public java.lang.String getSHORTNAME(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrSHORTNAMEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrSHORTNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueSHORTNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setSHORTNAME(java.lang.String SHORTNAME) throws DataObjectException
setSHORTNAME
in interface EnumValueDefinitionDOI
SHORTNAME
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setSHORTNAME(java.lang.String SHORTNAME, User usr) throws DataObjectException, AccessException
SHORTNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrSHORTNAMEAccess(java.lang.String SHORTNAME, User usr) throws AccessException
SHORTNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrSHORTNAMEAccess(java.lang.String SHORTNAME, User usr) throws AccessEvalException
SHORTNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public java.lang.String getKEYVALUE() throws DataObjectException
getKEYVALUE
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public java.lang.String getKEYVALUE(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrKEYVALUEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrKEYVALUEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueKEYVALUEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setKEYVALUE(java.lang.String KEYVALUE) throws DataObjectException
setKEYVALUE
in interface EnumValueDefinitionDOI
KEYVALUE
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setKEYVALUE(java.lang.String KEYVALUE, User usr) throws DataObjectException, AccessException
KEYVALUE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrKEYVALUEAccess(java.lang.String KEYVALUE, User usr) throws AccessException
KEYVALUE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrKEYVALUEAccess(java.lang.String KEYVALUE, User usr) throws AccessEvalException
KEYVALUE
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public java.lang.String getXMLNAME() throws DataObjectException
getXMLNAME
in interface EnumValueDefinitionDOI
DataObjectException
- If the object is not found in the database.public java.lang.String getXMLNAME(User usr) throws DataObjectException, AccessException
usr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOGetAttrXMLNAMEAccess(User usr) throws AccessException
usr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOGetAttrXMLNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public boolean hasDOGetDOValueXMLNAMEAccess(User usr) throws AccessEvalException
usr
- The user for security check
AccessEvalException
public void setXMLNAME(java.lang.String XMLNAME) throws DataObjectException
setXMLNAME
in interface EnumValueDefinitionDOI
XMLNAME
- of the GENERICENUMVALUEDEFINITION
DataObjectException
- If the object is not found in the database.public void setXMLNAME(java.lang.String XMLNAME, User usr) throws DataObjectException, AccessException
XMLNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
DataObjectException
- If the object is not found in the database.
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic void assertDOSetAttrXMLNAMEAccess(java.lang.String XMLNAME, User usr) throws AccessException
XMLNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessException
- The user is not allowed to read the attribute(value)
WebDocWf extensionpublic boolean hasDOSetAttrXMLNAMEAccess(java.lang.String XMLNAME, User usr) throws AccessEvalException
XMLNAME
- of the GENERICENUMVALUEDEFINITIONusr
- The user for security check
AccessEvalException
public java.sql.PreparedStatement getInsertStatement(DBConnection conn) throws java.sql.SQLException
getInsertStatement
in class CoreDO
conn
- the database connection.
java.sql.SQLException
- if an error occurs.public java.sql.PreparedStatement getUpdateStatement(DBConnection conn) throws java.sql.SQLException
getUpdateStatement
in class CoreDO
conn
- the database connection
java.sql.SQLException
- if an error occurs.public java.sql.PreparedStatement getDeleteStatement(DBConnection conn) throws java.sql.SQLException
getDeleteStatement
in class CoreDO
conn
- the database connection
java.sql.SQLException
- if an error occurs.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indentCount)
toString
in class GenericDO
public AttributeEnumValueDO[] getAttributeEnumValueDOArray() throws DataObjectException, QueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.public AttributeEnumValueDO getAttributeEnumValueDO() throws DataObjectException, QueryException, NonUniqueQueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one AttributeEnumValueDO object was found.public void addAttributeEnumValueDO(AttributeEnumValueDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- AttributeEnumValueDO to be set to point to this DO and committed.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void addAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- AttributeEnumValueDO to be set to point to this DO and committed.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- AttributeEnumValueDO to be deleted.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- AttributeEnumValueDO to be deleted.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public AttributeEnumValueDO[] getAttributeEnumValueDOArray(User usr) throws DataObjectException, QueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.AttributeEnumValue or
to access the foreign key attribute ENUMVALUEDEFINITIONOID.
This is a WebDocWf extension for DODS row instance securitypublic AttributeEnumValueDO getAttributeEnumValueDO(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one AttributeEnumValueDO object was found.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.AttributeEnumValue or
to access the foreign key attribute ENUMVALUEDEFINITIONOID.
This is a WebDocWf extension for DODS row instance securitypublic void addAttributeEnumValueDO(AttributeEnumValueDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- AttributeEnumValueDO to be set to point to this DO and committed.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void addAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- AttributeEnumValueDO to be set to point to this DO and committed.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- AttributeEnumValueDO to be deleted.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- AttributeEnumValueDO to be deleted.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public int getAttributeEnumValueDOArrayCount() throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException
DataObjectException
- If object is not found in the database.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
public int getAttributeEnumValueDOArrayCount(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException, AccessException
usr
- The user for security checks
DataObjectException
- If object is not found in the database.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.AttributeEnumValue or
to access the foreign key attribute ENUMVALUEDEFINITIONOID.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
public StateTransitionDO[] getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOID() throws DataObjectException, QueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.public StateTransitionDO getStateTransitionDO_ENUMVALUEDEFINITIONFROMOID() throws DataObjectException, QueryException, NonUniqueQueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one StateTransitionDO object was found.public void addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be set to point to this DO and committed.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be set to point to this DO and committed.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be deleted.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be deleted.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public StateTransitionDO[] getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOID(User usr) throws DataObjectException, QueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONFROMOID.
This is a WebDocWf extension for DODS row instance securitypublic StateTransitionDO getStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one StateTransitionDO object was found.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONFROMOID.
This is a WebDocWf extension for DODS row instance securitypublic void addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be set to point to this DO and committed.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void addStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be set to point to this DO and committed.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be deleted.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONFROMOID(StateTransitionDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be deleted.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public int getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOIDCount() throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException
DataObjectException
- If object is not found in the database.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
public int getStateTransitionDOArray_ENUMVALUEDEFINITIONFROMOIDCount(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException, AccessException
usr
- The user for security checks
DataObjectException
- If object is not found in the database.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONFROMOID.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
public StateTransitionDO[] getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOID() throws DataObjectException, QueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.public StateTransitionDO getStateTransitionDO_ENUMVALUEDEFINITIONTOOID() throws DataObjectException, QueryException, NonUniqueQueryException
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one StateTransitionDO object was found.public void addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be set to point to this DO and committed.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be set to point to this DO and committed.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be deleted.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, DBTransaction tran) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
referrer
- StateTransitionDO to be deleted.tran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException
public StateTransitionDO[] getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOID(User usr) throws DataObjectException, QueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONTOOID.
This is a WebDocWf extension for DODS row instance securitypublic StateTransitionDO getStateTransitionDO_ENUMVALUEDEFINITIONTOOID(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, AccessException
usr
- The user for security checks
DataObjectException
- If the object is not found in the database.
QueryException
- If an error occured while building the query before execution.
NonUniqueQueryException
- If more than one StateTransitionDO object was found.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONTOOID.
This is a WebDocWf extension for DODS row instance securitypublic void addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be set to point to this DO and committed.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void addStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be set to point to this DO and committed.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be deleted.usr
- The user for security checks
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public void removeStateTransitionDO_ENUMVALUEDEFINITIONTOOID(StateTransitionDO referrer, DBTransaction tran, User usr) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException, AccessException
referrer
- StateTransitionDO to be deleted.usr
- The user for security checkstran
- The transaction to be used for the commit.
If null, a new transaction is created.
DatabaseManagerException
- if could not create a transaction
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
- If object is not found in the database.
WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException
public int getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOIDCount() throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException
DataObjectException
- If object is not found in the database.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
public int getStateTransitionDOArray_ENUMVALUEDEFINITIONTOOIDCount(User usr) throws DataObjectException, QueryException, NonUniqueQueryException, java.sql.SQLException, DatabaseManagerException, AccessException
usr
- The user for security checks
DataObjectException
- If object is not found in the database.
AccessException
- The user is not allowed to create a query for
org.webdocwf.util.genericstore.data.StateTransition or
to access the foreign key attribute ENUMVALUEDEFINITIONTOOID.
This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException
protected void okToCommit() throws RefAssertionException
RefAssertionException
protected void okToDelete() throws RefAssertionException
RefAssertionException
public void commit() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
commit
in interface EnumValueDefinitionDOI
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException
public void save() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
save
in interface EnumValueDefinitionDOI
save
in class GenericStoreDO
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
DBRowUpdateException
QueryException
public void save(boolean references) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
references
- True if references should be saved with this DO
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
DBRowUpdateException
QueryException
public void commit(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
commit
in interface EnumValueDefinitionDOI
dbt
- The transaction object to use for this operation.
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
QueryException
public void save(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
save
in interface EnumValueDefinitionDOI
save
in class GenericStoreDO
dbt
- The transaction object to use for this operation.
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
QueryException
public void save(DBTransaction dbt, boolean references) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.references
- True if references of this DO should be saved
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
QueryException
public void delete() throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
delete
in interface EnumValueDefinitionDOI
delete
in class GenericStoreDO
DatabaseManagerException
- if a Transaction can not be created.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException
public void delete(DBTransaction dbt) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
delete
in interface EnumValueDefinitionDOI
delete
in class GenericStoreDO
dbt
- The transaction object to use for this operation.
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
DataObjectException
QueryException
protected void okToCommitENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO member) throws RefAssertionException
RefAssertionException
protected void okToDeleteENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO member) throws RefAssertionException
RefAssertionException
protected void modifyDO(DBTransaction dbt, boolean delete) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.delete
- True if doing a delete, otherwise doing insert/update.
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
QueryException
protected void modifyDO(DBTransaction dbt, boolean delete, boolean references) throws java.sql.SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException
dbt
- The transaction object to use for this operation.delete
- True if doing a delete, otherwise doing insert/update.references
- True if references should be saved
DatabaseManagerException
- if a Transaction can not be created.
DBRowUpdateException
- if a version error occurs.
RefAssertionException
- thrown by okTo method.
java.sql.SQLException
- if any SQL errors occur.
WebDocWf extension
DataObjectException
QueryException
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |