|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.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 |
| Fields inherited from class planetj.database.Row |
className, DISPLAY_ORDER_COMPARATOR, MODE_ALTER, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, mRowEventListeners |
| 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. |
java.lang.String |
getProperties()
Gets the propert String associated with this Row. |
abstract java.lang.String |
getPropertyFieldName()
Get the name of the Field containing this Row's properties.. |
PropertyGroup |
getRowPropertyGroup(java.lang.String groupName)
Gets the first PropertyGroup with the given property group name. |
PropertyGroupList |
getRowPropertyGroups()
Gets the property group objects associated with this PropertyRow. |
java.util.List |
getRowPropertyGroups(java.lang.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(java.lang.String properties)
Sets the property string associated with this PropertyRow. |
protected void |
setPropertiesInternal(java.lang.String properties)
Sets the property string associated with this PropertyRow. |
protected void |
setRowPropertyGroups(PropertyGroupList propertyGroups)
Sets the PropertyGroups associated with this PropertyRow. |
protected void |
setRowPropertyGroupsInternal(PropertyGroupList propertyGroups)
Sets the PropertyGroups associated with this PropertyRow. |
Row |
transferDataTo(Row pDestinationRow)
Transfers all the data in this Row into a different Row. |
protected void |
transferPropertiesTo(PropertyRow pDestinationRow)
Transfers the property group info from this row into another PropertyRow. |
int |
update(java.sql.Connection conn,
ExecutingContext ec)
Updates the database with the values in this Row. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyRow()
| Method Detail |
public Row createRow(Row row)
throws CMException
createRow in interface IRowCreatorcreateRow in class Rowrow - A Row containing data read from the database (it will always be equal to this)
CMExceptionpublic java.lang.String getProperties()
public abstract java.lang.String getPropertyFieldName()
public PropertyGroup getRowPropertyGroup(java.lang.String groupName)
public PropertyGroupList getRowPropertyGroups()
public java.util.List getRowPropertyGroups(java.lang.String groupName)
public int insert(SQLContext context)
throws CMException
insert in class RowCMException
public void setProperties(java.lang.String properties)
throws CMException
CMException
protected void setPropertiesInternal(java.lang.String properties)
throws CMException
CMException
protected void setRowPropertyGroups(PropertyGroupList propertyGroups)
throws CMException
CMException
protected void setRowPropertyGroupsInternal(PropertyGroupList propertyGroups)
throws CMException
CMException
public Row transferDataTo(Row pDestinationRow)
throws DataEngineException
transferDataTo in class RowpDestinationRow - The Row to copy the data to.
DataEngineException
protected void transferPropertiesTo(PropertyRow pDestinationRow)
throws DataEngineException
DataEngineException
public int update(java.sql.Connection conn,
ExecutingContext ec)
throws CMException
update in class Rowconn - The connection to use for the update
CMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||