|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.hammurapi.web.properties.PropertySetFactory
Root class for managing property sets
| Constructor Summary | |
PropertySetFactory()
|
|
| Method Summary | |
PropertySet |
create(boolean isTransient)
Creates property set |
PersistentPropertySet |
find(int id)
Finds property set by id. |
java.util.Collection |
find(java.lang.String ownerType,
java.lang.String ownerId)
Finds all property sets for a given owner. |
PersistentPropertySet |
find(java.lang.String ownerType,
java.lang.String ownerId,
java.lang.String setName,
boolean create)
Finds property set by owner and name |
void |
setIdentityManager(biz.hammurapi.sql.IdentityManager identityManager)
|
void |
setOwner(java.lang.Object owner)
|
void |
setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertySetFactory()
| Method Detail |
public void setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
throws java.sql.SQLException
setSQLProcessor in interface biz.hammurapi.sql.DataAccessObjectjava.sql.SQLExceptionpublic PropertySet create(boolean isTransient)
isTransient - If this paramter is true then property set returned is not backed by the database.
public PersistentPropertySet find(int id)
throws java.sql.SQLException
id -
java.sql.SQLException
public PersistentPropertySet find(java.lang.String ownerType,
java.lang.String ownerId,
java.lang.String setName,
boolean create)
throws java.sql.SQLException
ownerType - ownerId - setName - create - If this parameter is true then this method creates property set if one doesn't already exist
java.sql.SQLException
public java.util.Collection find(java.lang.String ownerType,
java.lang.String ownerId)
ownerType - ownerId -
public void setOwner(java.lang.Object owner)
setOwner in interface biz.hammurapi.config.Component
public void start()
throws biz.hammurapi.config.ConfigurationException
start in interface biz.hammurapi.config.Componentbiz.hammurapi.config.ConfigurationException
public void stop()
throws biz.hammurapi.config.ConfigurationException
stop in interface biz.hammurapi.config.Componentbiz.hammurapi.config.ConfigurationExceptionpublic void setIdentityManager(biz.hammurapi.sql.IdentityManager identityManager)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||