org.apache.ws.jaxme.pm.ino.api4j

Class TaminoAPI4JPm

Implemented Interfaces:
PM
Known Direct Subclasses:
TaminoAPI4JDbPm, TaminoAPI4JRaPm

public abstract class TaminoAPI4JPm
extends PMImpl

Common base class for TaminoAPI4JRaPm, and TaminoAPI4JDbPm.

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.ws.jaxme.pm.impl.PMImpl

PMImpl.ListObserver

Method Summary

void
delete(Element pElement)
String
getCollection()
Returns the Tamino database collection.
protected abstract TConnection
getTConnection()
protected TSAXObjectModel
getTSAXObjectModel()
protected TXMLObject
getTXMLObject(InoObject pElement)
void
init(JMManager pManager)
void
insert(Element pElement)
void
select(Observer pObserver, String pQuery, PMParams pParams)
void
setCollection(String pCollection)
Sets the Tamino database collection.
void
update(Element pElement)

Methods inherited from class org.apache.ws.jaxme.pm.impl.PMImpl

create, getManager, init, parseQuery, select, select, select

Method Details

delete

public void delete(Element pElement)
            throws PMException
Specified by:
delete in interface PM

getCollection

public String getCollection()
Returns the Tamino database collection.

getTConnection

protected abstract TConnection getTConnection()
            throws PMException

getTSAXObjectModel

protected TSAXObjectModel getTSAXObjectModel()
            throws JAXBException

getTXMLObject

protected TXMLObject getTXMLObject(InoObject pElement)

init

public void init(JMManager pManager)
            throws JAXBException
Specified by:
init in interface PM
Overrides:
init in interface PMImpl

insert

public void insert(Element pElement)
            throws PMException
Specified by:
insert in interface PM

select

public void select(Observer pObserver,
                   String pQuery,
                   PMParams pParams)
            throws PMException
Specified by:
select in interface PM

setCollection

public void setCollection(String pCollection)
Sets the Tamino database collection.

update

public void update(Element pElement)
            throws PMException
Specified by:
update in interface PM