com.softwareag.centrasite.appl.framework.persistence
Interface BatchPersistenceEngine

All Known Implementing Classes:
BatchPersistenceEngineImpl

public interface BatchPersistenceEngine

The interface export functionality for saving beans in batches.


Method Summary
 void create(PersistenceContext context, java.util.Collection<RegistryBean> beans)
          Deprecated. use #createOrUpdate(PersistenceContext, Collection)
 void createOrUpdate(PersistenceContext context, java.util.Collection<RegistryBean> beans)
          Creates or updates the bean in the registry.
 void delete(PersistenceContext context, java.util.Collection<RegistryBean> beans)
          Deletes a Collection of beans from the registry.
 void update(PersistenceContext context, java.util.Collection<RegistryBean> beans)
          Deprecated. use #createOrUpdate(PersistenceContext, Collection)
 

Method Detail

delete

void delete(PersistenceContext context,
            java.util.Collection<RegistryBean> beans)
            throws MappingException,
                   javax.xml.registry.JAXRException
Deletes a Collection of beans from the registry.

Throws:
MappingException
javax.xml.registry.JAXRException

update

void update(PersistenceContext context,
            java.util.Collection<RegistryBean> beans)
            throws MappingException,
                   javax.xml.registry.JAXRException
Deprecated. use #createOrUpdate(PersistenceContext, Collection)

Updates the bean in the registry.

Throws:
MappingException
javax.xml.registry.JAXRException

create

void create(PersistenceContext context,
            java.util.Collection<RegistryBean> beans)
            throws MappingException,
                   javax.xml.registry.JAXRException
Deprecated. use #createOrUpdate(PersistenceContext, Collection)

Persists new bean in the registry.

Parameters:
context -
beans -
Throws:
MappingException
javax.xml.registry.JAXRException

createOrUpdate

void createOrUpdate(PersistenceContext context,
                    java.util.Collection<RegistryBean> beans)
                    throws MappingException,
                           javax.xml.registry.JAXRException
Creates or updates the bean in the registry.

Throws:
MappingException
javax.xml.registry.JAXRException