|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.hammurapi.sql.DatabaseObject
biz.hammurapi.web.property.sql.PropertySetImpl
biz.hammurapi.web.properties.DbPropertySet
| Field Summary |
| Fields inherited from class biz.hammurapi.web.property.sql.PropertySetImpl |
Description, Id, Name, OwnerId, OwnerType |
| Fields inherited from class biz.hammurapi.sql.DatabaseObject |
columns, objectVersion, originalVersion |
| Constructor Summary | |
DbPropertySet()
|
|
DbPropertySet(boolean force)
|
|
DbPropertySet(java.sql.ResultSet rs)
|
|
| Method Summary | |
void |
clear()
Removes all entries from the property set |
boolean |
compareProperties(PropertySet otherSet)
|
boolean |
containsAll(PropertySet subSet)
|
void |
delete()
Deletes property set from the database. |
java.lang.Object |
get(java.lang.String name)
|
java.util.Set |
getPropertyNames()
|
PropertySet |
getSubset(java.lang.String prefix)
|
void |
load(PropertySet source)
Loads all entries from the source to this property set |
void |
mount(java.lang.String prefix,
PropertySet source)
Mounts source property set at specified prefix. |
void |
remove(java.lang.String name)
Removes property from the set. |
void |
set(java.lang.String name,
java.lang.Object value)
|
void |
setAll(PropertySet source)
Copies all entries from the source property set to self. |
void |
setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
|
void |
toDom(org.w3c.dom.Element holder)
|
void |
update()
Updates set information (name, description, owner, ...) in the databse |
| Methods inherited from class biz.hammurapi.web.property.sql.PropertySetImpl |
clone, getDescription, getId, getName, getOwnerId, getOwnerType, project, project, setDescription, setId, setName, setOwnerId, setOwnerType |
| Methods inherited from class biz.hammurapi.sql.DatabaseObject |
addColumn, addObserver, addRelationship, configure, configure, copy, delete, equals, fromDom, fromDom, getAttribute, getColumn, getColumnAttribute, getObjectVersion, getRelationship, getSqlType, hashCode, insert, isDeleted, isModified, loadRelationships, onChange, removeAttribute, removeColumnAttribute, removeObserver, setAttribute, setColumnAttribute, setOriginal, toDom, toString, update |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface biz.hammurapi.web.property.sql.PropertySet |
getDescription, getId, getName, getOwnerId, getOwnerType, setDescription, setId, setName, setOwnerId, setOwnerType |
| Constructor Detail |
public DbPropertySet()
public DbPropertySet(boolean force)
public DbPropertySet(java.sql.ResultSet rs)
throws java.sql.SQLException
| Method Detail |
public void delete()
throws java.sql.SQLException
PersistentPropertySet
delete in interface PersistentPropertySetjava.sql.SQLExceptionpublic java.util.Set getPropertyNames()
getPropertyNames in interface PropertySetpublic PropertySet getSubset(java.lang.String prefix)
getSubset in interface PropertySetprefix -
public void remove(java.lang.String name)
PropertySet
remove in interface PropertySetname -
public void set(java.lang.String name,
java.lang.Object value)
set in interface biz.hammurapi.config.MutableContext
public void setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
throws java.sql.SQLException
setSQLProcessor in interface biz.hammurapi.sql.DataAccessObjectjava.sql.SQLExceptionpublic java.lang.Object get(java.lang.String name)
get in interface biz.hammurapi.config.Context
public void update()
throws java.sql.SQLException
update in interface PersistentPropertySetjava.sql.SQLExceptionpublic void load(PropertySet source)
PropertySet
load in interface PropertySetsource -
public void mount(java.lang.String prefix,
PropertySet source)
PropertySet
mount in interface PropertySetprefix - source - public void clear()
PropertySet
clear in interface PropertySetpublic void toDom(org.w3c.dom.Element holder)
toDom in interface biz.hammurapi.xml.dom.DomSerializablepublic void setAll(PropertySet source)
PropertySet
setAll in interface PropertySetsource - public boolean compareProperties(PropertySet otherSet)
compareProperties in interface PropertySetotherSet -
public boolean containsAll(PropertySet subSet)
containsAll in interface PropertySetsubSet -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||