com.ibm.commerce.me.objects
Class ProcurementMessageViewAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.me.objects.ProcurementMessageViewAccessBean
All Implemented Interfaces:
ProcurementMessageViewAccessBeanData, java.io.Serializable

public class ProcurementMessageViewAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ProcurementMessageViewAccessBeanData

This bean provides access to the PROCMSGVW table.

The following is a description of this table:

This table contains the view names used to compose the response message sent to procurement systems. Response message composition can be customized (per buyer, per protocol) using this table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ProcurementMessageViewAccessBean()
          Default constructor.
ProcurementMessageViewAccessBean(javax.ejb.EJBObject object)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
ProcurementMessageViewAccessBean(java.lang.Integer aProtocolId, java.lang.Long aOrganizationId, java.lang.String aMessageName)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getErrorView()
          This method provides access to the PROCMSGVW.ERRORVIEW column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMessageName()
          This method provides access to the PROCMSGVW.MSGNAME column of DB2 type VARCHAR(200) NOT NULL.
 java.lang.String getOrganizationId()
          This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrganizationIdInEJBType()
          This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getProtocolId()
          This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getProtocolIdInEJBType()
          This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getViewName()
          This method provides access to the PROCMSGVW.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setErrorView(java.lang.String aErrorView)
          This method provides access to the PROCMSGVW.ERRORVIEW column of DB2 type VARCHAR(254) NULL.
 void setInitKey_messageName(java.lang.String aInitKey_messageName)
          Set the primary key for this object
 void setInitKey_organizationId(java.lang.String aInitKey_organizationId)
          Set the primary key for this object
 void setInitKey_protocolId(java.lang.String aInitKey_protocolId)
          Set the primary key for this object
 void setMessageName(java.lang.String aMessageName)
          This method provides access to the PROCMSGVW.MSGNAME column of DB2 type VARCHAR(200) NOT NULL.
 void setOrganizationId(java.lang.Long aOrganizationId)
          This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setOrganizationId(java.lang.String aOrganizationId)
          This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setProtocolId(java.lang.Integer aProtocolId)
          This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.
 void setProtocolId(java.lang.String aProtocolId)
          This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.
 void setViewName(java.lang.String aViewName)
          This method provides access to the PROCMSGVW.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, 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

ProcurementMessageViewAccessBean

public ProcurementMessageViewAccessBean()

Default constructor.


ProcurementMessageViewAccessBean

public ProcurementMessageViewAccessBean(javax.ejb.EJBObject object)
                                 throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ProcurementMessageViewAccessBean

public ProcurementMessageViewAccessBean(java.lang.Integer aProtocolId,
                                        java.lang.Long aOrganizationId,
                                        java.lang.String aMessageName)
                                 throws javax.naming.NamingException,
                                        javax.ejb.CreateException,
                                        java.rmi.RemoteException,
                                        javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aProtocolId - java.lang.Integer
aOrganizationId - java.lang.Long
aMessageName - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getErrorView

public java.lang.String getErrorView()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the PROCMSGVW.ERRORVIEW column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The error task name to be used if any error conditions occur.

Specified by:
getErrorView in interface ProcurementMessageViewAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMessageName

public java.lang.String getMessageName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the PROCMSGVW.MSGNAME column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

Name of the message to be composed and sent to the procurement system.

Specified by:
getMessageName in interface ProcurementMessageViewAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrganizationId

public java.lang.String getOrganizationId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Buyer organization reference number.

Specified by:
getOrganizationId in interface ProcurementMessageViewAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrganizationIdInEJBType

public java.lang.Long getOrganizationIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Buyer organization reference number.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getProtocolId

public java.lang.String getProtocolId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Procurement protocol reference number.

Specified by:
getProtocolId in interface ProcurementMessageViewAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getProtocolIdInEJBType

public java.lang.Integer getProtocolIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Procurement protocol reference number.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getViewName

public java.lang.String getViewName()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the PROCMSGVW.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The view task name to be used to compose the response.

Specified by:
getViewName in interface ProcurementMessageViewAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setErrorView

public void setErrorView(java.lang.String aErrorView)

This method provides access to the PROCMSGVW.ERRORVIEW column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The error task name to be used if any error conditions occur.

Specified by:
setErrorView in interface ProcurementMessageViewAccessBeanData
Parameters:
aErrorView - java.lang.String
Returns:
void

setInitKey_messageName

public void setInitKey_messageName(java.lang.String aInitKey_messageName)

Set the primary key for this object

Parameters:
aInitKey_messageName - java.lang.String
Returns:
void

setInitKey_organizationId

public void setInitKey_organizationId(java.lang.String aInitKey_organizationId)

Set the primary key for this object

Parameters:
aInitKey_organizationId - java.lang.String
Returns:
void

setInitKey_protocolId

public void setInitKey_protocolId(java.lang.String aInitKey_protocolId)

Set the primary key for this object

Parameters:
aInitKey_protocolId - java.lang.String
Returns:
void

setMessageName

public void setMessageName(java.lang.String aMessageName)

This method provides access to the PROCMSGVW.MSGNAME column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

Name of the message to be composed and sent to the procurement system.

Specified by:
setMessageName in interface ProcurementMessageViewAccessBeanData
Parameters:
aMessageName - java.lang.String
Returns:
void

setOrganizationId

public void setOrganizationId(java.lang.Long aOrganizationId)

This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Buyer organization reference number.

Parameters:
aOrganizationId - java.lang.Long
Returns:
void

setOrganizationId

public void setOrganizationId(java.lang.String aOrganizationId)

This method provides access to the PROCMSGVW.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Buyer organization reference number.

Specified by:
setOrganizationId in interface ProcurementMessageViewAccessBeanData
Parameters:
aOrganizationId - java.lang.String
Returns:
void

setProtocolId

public void setProtocolId(java.lang.Integer aProtocolId)

This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Procurement protocol reference number.

Parameters:
aProtocolId - java.lang.Integer
Returns:
void

setProtocolId

public void setProtocolId(java.lang.String aProtocolId)

This method provides access to the PROCMSGVW.PROCPROTCL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Procurement protocol reference number.

Specified by:
setProtocolId in interface ProcurementMessageViewAccessBeanData
Parameters:
aProtocolId - java.lang.String
Returns:
void

setViewName

public void setViewName(java.lang.String aViewName)

This method provides access to the PROCMSGVW.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The view task name to be used to compose the response.

Specified by:
setViewName in interface ProcurementMessageViewAccessBeanData
Parameters:
aViewName - java.lang.String
Returns:
void