com.ibm.commerce.marketingcenter.objects
Class MCInitiativeJDBCHelperAccessBean
java.lang.Object
com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
com.ibm.commerce.marketingcenter.objects.MCInitiativeJDBCHelperAccessBean
- public class MCInitiativeJDBCHelperAccessBean
- extends com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
- See Also:
- Serialized Form
Method Summary |
protected java.lang.String |
defaultJNDIName()
This method was generated by the VisualAge for Java Access Bean SmartGuide. |
java.lang.String |
findInitiativeRule(java.lang.Integer aInitiativeId)
This method gets the rule XML document of the given initiative. |
java.lang.String |
findInitiativeRule(java.lang.Integer aInitiativeId, boolean flush)
This method gets the rule XML document of the given initiative. |
protected void |
instantiateEJB()
This method was generated by the VisualAge for Java Access Bean SmartGuide. |
int |
updateInitiativeRule(java.lang.Integer aInitiativeId, java.lang.String aInitiativeRule)
This method updates the rule XML document of the given initiative. |
int |
updateInitiativeRule(java.lang.Integer aInitiativeId, java.lang.String aInitiativeRule, boolean flush)
This method updates the rule XML document of the given initiative. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCInitiativeJDBCHelperAccessBean
public MCInitiativeJDBCHelperAccessBean()
- Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.marketingcenter.objects.MCInitiativeJDBCHelper com.ibm.commerce.marketingcenter.objects.MCInitiativeJDBCHelperHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
MCInitiativeJDBCHelperAccessBean
public MCInitiativeJDBCHelperAccessBean(javax.ejb.EJBObject o)
throws java.rmi.RemoteException
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
defaultJNDIName
protected java.lang.String defaultJNDIName()
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
instantiateEJB
protected void instantiateEJB()
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.naming.NamingException
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
-
- Throws:
- javax.ejb.CreateException
- java.rmi.RemoteException
- javax.naming.NamingException
updateInitiativeRule
public int updateInitiativeRule(java.lang.Integer aInitiativeId,
java.lang.String aInitiativeRule)
throws javax.naming.NamingException,
java.sql.SQLException,
java.rmi.RemoteException,
javax.ejb.CreateException
- This method updates the rule XML document of the given initiative. This field will be updated upon successful completion: INITIATIVE.RULE
-
- Parameters:
- aInitiativeId - - the internal reference number of the initiative
- aInitiativeRule - - the rule XML document of the initiative
- Returns:
- int - the total number of rows that have been successfully updated
- Throws:
- javax.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
updateInitiativeRule
public int updateInitiativeRule(java.lang.Integer aInitiativeId,
java.lang.String aInitiativeRule,
boolean flush)
throws javax.naming.NamingException,
java.sql.SQLException,
java.rmi.RemoteException,
javax.ejb.CreateException
- This method updates the rule XML document of the given initiative. This field will be updated upon successful completion: INITIATIVE.RULE
-
- Parameters:
- aInitiativeId - - the internal reference number of the initiative
- aInitiativeRule - - the rule XML document of the initiative
- flush - - the flag indicates that if a flush is needed
- Returns:
- int - the total number of rows that have been successfully updated
- Throws:
- javax.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
findInitiativeRule
public java.lang.String findInitiativeRule(java.lang.Integer aInitiativeId)
throws javax.naming.NamingException,
java.sql.SQLException,
java.rmi.RemoteException,
javax.ejb.CreateException
- This method gets the rule XML document of the given initiative. This field will be loaded upon successful completion: INITIATIVE.RULE
-
- Returns:
- java.lang.String - the rule XML document of the initiative
- Throws:
- javax.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
findInitiativeRule
public java.lang.String findInitiativeRule(java.lang.Integer aInitiativeId,
boolean flush)
throws javax.naming.NamingException,
java.sql.SQLException,
java.rmi.RemoteException,
javax.ejb.CreateException
- This method gets the rule XML document of the given initiative. This field will be loaded upon successful completion: INITIATIVE.RULE
-
- Parameters:
- aInitiativeId - - the internal reference number of the initiative
- flush - - the flag indicates that if a flush is needed
- Returns:
- java.lang.String - the rule XML document of the initiative
- Throws:
- javax.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.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.