|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean | +--com.ibm.commerce.marketingcenter.objects.MCInitiativeJDBCHelperAccessBean
This bean provides method to select and update LONG VARCHAR type fields from the INITIATIVE table.
The following is a description of the field that is provided access to:
INITIATIVE.RULE - rule XML document of the initiative
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MCInitiativeJDBCHelperAccessBean()
Zero argument constructor used to initialize the access bean. |
|
MCInitiativeJDBCHelperAccessBean(javax.ejb.EJBObject MCInitiativeJDBCHelperEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
protected java.lang.String |
defaultJNDIName()
Obtain the JNDI name for this EJB |
java.lang.String |
findInitiativeRule(java.lang.Integer initiativeId)
This method gets the rule XML document of the given initiative. |
java.lang.String |
findInitiativeRule(java.lang.Integer initiativeId,
boolean isFlush)
This method gets the rule XML document of the given initiative. |
protected void |
instantiateEJB()
IBM internal use only. |
int |
updateInitiativeRule(java.lang.Integer initiativeId,
java.lang.String rule)
This method updates the rule XML document of the given initiative. |
int |
updateInitiativeRule(java.lang.Integer initiativeId,
java.lang.String rule,
boolean isFlush)
This method updates the rule XML document of the given initiative. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, resetEJBRef, resetHomeCache, setEJBRef, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MCInitiativeJDBCHelperAccessBean()
public MCInitiativeJDBCHelperAccessBean(javax.ejb.EJBObject MCInitiativeJDBCHelperEJBObj) throws java.rmi.RemoteException
MCInitiativeJDBCHelperEJBObj
- - a MCInitiativeJDBCHelper EJBObject referencejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.Method Detail |
protected java.lang.String defaultJNDIName()
defaultJNDIName
in class com.ibm.ivj.ejb.runtime.AbstractAccessBean
public java.lang.String findInitiativeRule(java.lang.Integer initiativeId) throws javax.naming.NamingException, java.sql.SQLException, java.rmi.RemoteException, javax.ejb.CreateException
initiativeId
- - the internal reference number of the initiativejavax.naming.NamingException
- - Thrown when a naming exception is encountered.java.sql.SQLException
- - Thrown when an error occurs during the execution of the SQL prepared statement.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.public java.lang.String findInitiativeRule(java.lang.Integer initiativeId, boolean isFlush) throws javax.naming.NamingException, java.sql.SQLException, java.rmi.RemoteException, javax.ejb.CreateException
initiativeId
- - the internal reference number of the initiativeisFlush
- - the flag indicates that if a flush is neededjavax.naming.NamingException
- - Thrown when a naming exception is encountered.java.sql.SQLException
- - Thrown when an error occurs during the execution of the SQL prepared statement.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.protected void instantiateEJB() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
instantiateEJB
in class com.ibm.ivj.ejb.runtime.AbstractAccessBean
public int updateInitiativeRule(java.lang.Integer initiativeId, java.lang.String rule) throws javax.naming.NamingException, java.sql.SQLException, java.rmi.RemoteException, javax.ejb.CreateException
initiativeId
- - the internal reference number of the initiativerule
- - the rule XML document of the initiativejavax.naming.NamingException
- - Thrown when a naming exception is encountered.java.sql.SQLException
- - Thrown when an error occurs during the execution of the SQL prepared statement.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.public int updateInitiativeRule(java.lang.Integer initiativeId, java.lang.String rule, boolean isFlush) throws javax.naming.NamingException, java.sql.SQLException, java.rmi.RemoteException, javax.ejb.CreateException
initiativeId
- - the internal reference number of the initiativerule
- - the rule XML document of the initiativeisFlush
- - the flag indicates that if a flush is neededjavax.naming.NamingException
- - Thrown when a naming exception is encountered.java.sql.SQLException
- - Thrown when an error occurs during the execution of the SQL prepared statement.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |