java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.OrganizationCodeAccessBean
This table contains the unique identification of an OrgEntity under different identification systems or domains. This can be used to identify buyer organizations and supplier organizations to each other in procurement systems. This access bean corresponds to the database table 'ORGCODE'.
Constructor Summary | |
OrganizationCodeAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrganizationCodeAccessBean(javax.ejb.EJBObject o) constructor |
|
OrganizationCodeAccessBean(java.lang.String aCode, java.lang.String aCodeType, java.lang.Long aOrganizationId) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCodeAndCodeType(java.lang.String aCode, java.lang.String aCodeType) The SQL is "SELECT * FROM ORGCODE T1 WHERE (T1.CODE = ?) AND (T1.CODETYPE = ?)". |
java.util.Enumeration | findByOrganizationIdAndCodeType(java.lang.Long aOrganizationId, java.lang.String aCodeType) |
java.lang.String | getCode() This method accesses a non-CMP field |
java.lang.String | getCodeType() This method accesses a non-CMP field |
java.lang.String | getOrganizationCodeId() This method accesses a non-CMP field |
java.lang.Long | getOrganizationCodeIdInEJBType() This method accesses a non-CMP field |
java.lang.String | getOrganizationId() This method accesses a non-CMP field |
java.lang.Long | getOrganizationIdInEJBType() This method accesses a non-CMP field |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCode(java.lang.String newValue) This method accesses a non-CMP field |
void | setCodeType(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_iOrganizationCodeId(java.lang.String newValue) Set the primary key for this object |
void | setOrganizationCodeId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrganizationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrganizationId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrganizationId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrganizationCodeAccessBean()
public OrganizationCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrganizationCodeAccessBean(java.lang.String aCode, java.lang.String aCodeType, java.lang.Long aOrganizationId) 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
Method Detail |
public java.util.Enumeration findByCodeAndCodeType(java.lang.String aCode, java.lang.String aCodeType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ORGCODE T1 WHERE (T1.CODE = ?) AND (T1.CODETYPE = ?)".
public java.util.Enumeration findByOrganizationIdAndCodeType(java.lang.Long aOrganizationId, java.lang.String aCodeType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public void setInitKey_iOrganizationCodeId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCode(java.lang.String newValue)
public java.lang.String getOrganizationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOrganizationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrganizationCodeId(java.lang.String newValue)
public void setOrganizationCodeId(java.lang.Long newValue)
public java.lang.String getCodeType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCodeType(java.lang.String newValue)
public java.lang.String getOrganizationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOrganizationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrganizationId(java.lang.String newValue)
public void setOrganizationId(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.