|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.managers.AbstractManager<T>
public abstract class AbstractManager<T extends RegistryBean>
Abstract base class for deriving managers.
Constructor Summary | |
---|---|
AbstractManager()
|
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 Manager.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> beans)
Updates a Collection of beans. |
void |
update(T pBean)
Updates the bean in the pool by replacing the existing implementation with this one. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractManager()
Method Detail |
---|
public T create() throws ManagerException
Manager
Manager.insert(RegistryBean)
to add the edited bean to the pool later
on.
create
in interface Manager<T extends RegistryBean>
ManagerException
public T insert(T pBean) throws ManagerException
Manager
Manager.create()
,
into the bean pool. The bean pool will ensure, that the bean is created
in the database later on.
insert
in interface Manager<T extends RegistryBean>
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
public void update(T pBean) throws ManagerException
Manager
update
in interface Manager<T extends RegistryBean>
ManagerException
public void update(java.util.Collection<RegistryBean> beans) throws ManagerException
Manager
Collection
of beans.
update
in interface Manager<T extends RegistryBean>
ManagerException
public T read(java.lang.String id) throws ManagerException
Manager
read
in interface Manager<T extends RegistryBean>
id
- Registry id.
ManagerException
public void delete(T bean) throws ManagerException
Manager
delete
in interface Manager<T extends RegistryBean>
ManagerException
public void delete(java.util.Collection<RegistryBean> beans) throws ManagerException
Manager
Collection
of beans from the registry.
delete
in interface Manager<T extends RegistryBean>
ManagerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |