|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.database.Row | +--planetj.dataengine.PropertyRow
A PropertyRow is simply a Row that has a Field that contains PropertyGroups representing properties of the Row.
Nested Class Summary |
Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
Field Summary | |
static String |
className
Class name. |
Fields inherited from class planetj.database.Row |
COPY, DELETE, INSERT, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, READ, UPDATE |
Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
Constructor Summary | |
PropertyRow()
|
Method Summary | |
Row |
createRow(Row row)
Initializes this PropertyRow as it is retrieved from the database. |
String |
getProperties()
Gets the propert String associated with this Row. |
abstract String |
getPropertyFieldName()
Get the name of the Field containing this Row's properties.. |
PropertyGroup |
getRowPropertyGroup(String groupName)
Gets the first PropertyGroup with the given property group name. |
PropertyGroupList |
getRowPropertyGroups()
Gets the property group objects associated with this PropertyRow. |
List |
getRowPropertyGroups(String groupName)
Get this PropertyRow's property groups with the given group name. |
int |
insert(SQLContext context)
Inserts this Row into the specified database. |
void |
setProperties(String properties)
Sets the property string associated with this PropertyRow. |
Row |
transferDataTo(Row pDestinationRow)
Transfers all the data in this Row into a different Row. |
int |
update(Connection conn,
ExecutingContext ec)
Updates the database with the values in this Row. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String className
Constructor Detail |
public PropertyRow()
Method Detail |
public Row createRow(Row row) throws CMException
createRow
in interface IRowCreator
createRow
in class Row
row
- A Row containing data read from the database (it will always be equal to this)
CMException
public String getProperties()
public abstract String getPropertyFieldName()
public PropertyGroup getRowPropertyGroup(String groupName)
public PropertyGroupList getRowPropertyGroups()
public List getRowPropertyGroups(String groupName)
public int insert(SQLContext context) throws CMException
insert
in class Row
CMException
public void setProperties(String properties) throws CMException
CMException
public Row transferDataTo(Row pDestinationRow) throws DataEngineException
transferDataTo
in class Row
pDestinationRow
- The Row to copy the data to.
DataEngineException
public int update(Connection conn, ExecutingContext ec) throws CMException, DistributedException
update
in class Row
conn
- The connection to use for the update
CMException
DistributedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |