|
IT.CappuccinoNet StrutsCX v0.8.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cappuccinonet.strutscx.prototype.integration.InfoEJBDAO
NOT YET IMPLEMENTED! This is a Data Access Object DAO to access a datasource with Enterprise JavaBeans. The Constructor still takes the XMLProperties file we sent him from the client. Here a JNDI lookup would be better!
| Field Summary | |
private java.lang.String |
languages
|
private static Logger |
logger
The Logger we use to log JDK 1.4 conform. |
private java.lang.String |
THIS_CLASS
A String with this Classname used for system messages |
| Constructor Summary | |
InfoEJBDAO(java.lang.String languages)
Constructor for InfoDAOBean which takes the XMLProperties Object which contains the flags for the used languages. |
|
| Method Summary | |
InfoIntegrationVO |
createValueObject()
This method creates a new ValueObject. |
void |
delete(InfoIntegrationVO integrationVO)
Method delete. |
private InfoIntegrationVO |
fillValueObject(Entry entry)
Method fillValueObject. |
java.util.Collection |
findByLocale(java.util.Locale locale)
This methods returns a HashMap with partly filled ValueObjects. |
InfoIntegrationVO |
findByPrimaryKey(int primaryKey,
java.util.Locale locale)
Method findByPrimaryKey. |
void |
insert(InfoIntegrationVO integrationVO)
Method insert. |
void |
update(InfoIntegrationVO integrationVO)
Method update. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String THIS_CLASS
private static Logger logger
private java.lang.String languages
| Constructor Detail |
public InfoEJBDAO(java.lang.String languages)
| Method Detail |
public InfoIntegrationVO findByPrimaryKey(int primaryKey,
java.util.Locale locale)
throws StrutsCXDataException
InfoDAO
findByPrimaryKey in interface InfoDAOprimaryKey - locale -
StrutsCXDataExceptioncom.cappuccinonet.strutscx.domain.StrutsCXDAO#findByPrimaryKey(Object)
public java.util.Collection findByLocale(java.util.Locale locale)
throws StrutsCXDataException
findByLocale in interface InfoDAOlocale -
StrutsCXDataExceptioncom.cappuccinonet.strutscx.persist.StrutsCXDAO#findByLocale(String)
public void insert(InfoIntegrationVO integrationVO)
throws StrutsCXDataException
InfoDAO
insert in interface InfoDAOintegrationVO -
StrutsCXDataExceptioncom.cappuccinonet.strutscx.domain.StrutsCXDAO#insert(StrutsCXDTO)
public void update(InfoIntegrationVO integrationVO)
throws StrutsCXDataException
InfoDAO
update in interface InfoDAOintegrationVO -
StrutsCXDataExceptioncom.cappuccinonet.strutscx.domain.StrutsCXDAO#update(StrutsCXDTO)
public void delete(InfoIntegrationVO integrationVO)
throws StrutsCXDataException
InfoDAO
delete in interface InfoDAOintegrationVO -
StrutsCXDataExceptioncom.cappuccinonet.strutscx.domain.StrutsCXDAO#delete(StrutsCXDTO)
public InfoIntegrationVO createValueObject()
throws StrutsCXDataException
The following feature is not implemented yet:
Note: The datasource gets updated in the insert() method! This
way we do not waist much ressources to connect to the database
right now.
createValueObject in interface InfoDAODataException
StrutsCXDataExceptioncom.cappuccinonet.strutscx.domain.StrutsCXDAO#createStrutsCXDTO()private InfoIntegrationVO fillValueObject(Entry entry)
entry -
|
IT.CappuccinoNet StrutsCX v0.8.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||