|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Manager<T extends RegistryBean>
The manager is the object, which is used by the application manager to access beans. Typically, it provides high level queries, or business methods, that operate on the bean.
Method Summary | |
---|---|
T |
create()
Creates a new bean instance. |
void |
delete(java.util.Collection<RegistryBean> beans)
Delete a Collection of beans from the registry. |
void |
delete(T bean)
Delete a bean from the registry. |
T |
insert(T pBean)
Inserts a bean, which has previously been created using create() ,
into the bean pool. |
T |
read(java.lang.String id)
Reads from the registry a bean having a given id. |
void |
update(java.util.Collection<RegistryBean> pBean)
Updates a Collection of beans. |
void |
update(T pBean)
Updates the bean in the pool by replacing the existing implementation with this one. |
Method Detail |
---|
T create() throws ManagerException
insert(RegistryBean)
to add the edited bean to the pool later
on.
ManagerException
T insert(T pBean) throws ManagerException
create()
,
into the bean pool. The bean pool will ensure, that the bean is created
in the database later on.
pBean
- The bean, which has been edited. The user must not
use the bean later on. Instead, he shall replace it with the
copy, that the method returns.
ManagerException
void update(T pBean) throws ManagerException
ManagerException
void update(java.util.Collection<RegistryBean> pBean) throws ManagerException
Collection
of beans.
pBean
-
ManagerException
T read(java.lang.String id) throws ManagerException
id
- Registry id.
ManagerException
void delete(T bean) throws ManagerException
bean
-
ManagerException
void delete(java.util.Collection<RegistryBean> beans) throws ManagerException
Collection
of beans from the registry.
beans
-
ManagerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |