|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JPO
| Method Summary | ||
|---|---|---|
void |
destory()
Destroy the current IJPOrm instance and all it's references. |
|
|
register(Class<T> clazz)
Register a new class to be managed as a bean. |
|
void |
register(ExtendedTypeWrapper<?,?> typeWrapper)
Register a new TypeWrapper. |
|
void |
register(List<Class<?>> classes)
Register a list of classes to be managed as a beans. |
|
Session |
session()
Return a session from the current IJPOrm implementation |
|
void |
setValidator(Validator validator)
Set the default validator to be used to validate beans before update and save actions |
|
| Method Detail |
|---|
Session session()
throws OrmException
OrmExceptionvoid destory()
<T> void register(Class<T> clazz)
throws OrmConfigurationException
T - clazz -
OrmConfigurationException
void register(List<Class<?>> classes)
throws OrmConfigurationException
T - clazz -
OrmConfigurationException
void register(ExtendedTypeWrapper<?,?> typeWrapper)
throws OrmConfigurationException
typeWrapper -
OrmConfigurationExceptionvoid setValidator(Validator validator)
validator -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||