|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.beasys.commerce.foundation.property.PropertyMetaDataCRUD
PropertyMetaDataCRUD provides the persistence methods for PropertyMetaData
when using BMP.
PropertyMetaDataCRUD methods are invoked by PropertyMetaDataSmartBMP.
| Constructor Summary | |
PropertyMetaDataCRUD()
|
|
| Method Summary | |
static void |
create(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
Creates a single row in the database, ONLY using primary key information. |
static void |
delete(java.sql.Connection connection,
long schemaId)
Deletes all PMD rows associated with a Schema |
static void |
delete(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
Deletes a single row in the database table WLCS_PROP_MD, and all the associated row(s) in the type-specific tables |
static boolean |
exists(java.sql.Connection connection,
java.lang.Object key)
Tests for the existence of a given PropertyMetaData in the database |
static java.util.Map |
refresh(java.sql.Connection connection,
SchemaImpl schema)
Refresh the attibutes of all PropertyMetaDataImpl instances associated with the given Schema with values from the database |
static void |
update(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
Updates the given PropertyMetaData instance in the database |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyMetaDataCRUD()
| Method Detail |
public static void create(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
throws BMPException
connection - the database connectionpropertyMetaData - the instance of PropertyMetaDataImpl to be inserted into the database.
public static void delete(java.sql.Connection connection,
long schemaId)
throws BMPException
connection - the database connectionschemaId - the key value of the Schema
public static void delete(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
throws BMPException
connection - the database connectionschemaId - the schemaId used to lookup in the WLCS_PROP_MD tablepropertyName - the propertyName to delete
public static boolean exists(java.sql.Connection connection,
java.lang.Object key)
throws BMPException
connection - the database connection to usekey - the instance of PropertyMetaDataImpl to search for
public static void update(java.sql.Connection connection,
PropertyMetaDataImpl propertyMetaData)
throws BMPException
connection - the database connectionpropertyMetaData - the instance of PropertyMetaDataImpl to update
public static java.util.Map refresh(java.sql.Connection connection,
SchemaImpl schema)
throws BMPException
connection - the database connectionsource - for belongings, this is the Impl class for the belonging. for entity beans, this is the primary key class.
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||