|
||||||||
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.AbstractEntityAccessBean | +--com.ibm.commerce.user.objects.OrganizationCodeAccessBean
This bean provides access to the ORGCODE table.
The following is a description of this table:
This table contains the unique identification of an organization entity under different identification systems or domains. This can be used to identify buyer organizations and supplier organizations to each other in procurement systems.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrganizationCodeAccessBean()
Default constructor. |
|
OrganizationCodeAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
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). |
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)
The SQL is "SELECT * FROM ORGCODE T1 WHERE (T1.ORGENTITY_ID = ?) AND (T1.CODETYPE = ?)" |
java.lang.String |
getCode()
Organization code. |
java.lang.String |
getCodeType()
Code type. |
java.lang.String |
getOrganizationCodeId()
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrganizationCodeIdInEJBType()
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrganizationId()
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrganizationIdInEJBType()
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCode(java.lang.String aCode)
Set the organization code. |
void |
setCodeType(java.lang.String aCodeType)
Set the code type. |
void |
setInitKey_iOrganizationCodeId(java.lang.String aInitKey_iOrganizationCodeId)
Set the primary key for this object |
void |
setOrganizationCodeId(java.lang.Long aOrganizationCodeId)
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrganizationCodeId(java.lang.String aOrganizationCodeId)
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrganizationId(java.lang.Long aOrganizationId)
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrganizationId(java.lang.String aOrganizationId)
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT 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 |
public OrganizationCodeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrganizationCodeAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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
aCode
- java.lang.StringaCodeType
- java.lang.StringaOrganizationId
- java.lang.Longjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 = ?)".
aCode
- java.lang.StringaCodeType
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrganizationIdAndCodeType(java.lang.Long aOrganizationId, java.lang.String aCodeType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ORGCODE T1 WHERE (T1.ORGENTITY_ID = ?) AND (T1.CODETYPE = ?)"
aOrganizationId
- java.lang.LongaCodeType
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Organization code.
getCode
in interface OrganizationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCodeType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Code type.
getCodeType
in interface OrganizationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOrganizationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
getOrganizationCodeId
in interface OrganizationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getOrganizationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOrganizationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to ORGENTITY table.
getOrganizationId
in interface OrganizationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getOrganizationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to ORGENTITY table.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCode(java.lang.String aCode)
Set the organization code.
setCode
in interface OrganizationCodeAccessBeanData
aCode
- java.lang.Stringpublic void setCodeType(java.lang.String aCodeType)
Set the code type.
setCodeType
in interface OrganizationCodeAccessBeanData
aCodeType
- java.lang.Stringpublic void setInitKey_iOrganizationCodeId(java.lang.String aInitKey_iOrganizationCodeId)
Set the primary key for this object
aInitKey_iOrganizationCodeId
- java.lang.Stringpublic void setOrganizationCodeId(java.lang.Long aOrganizationCodeId)
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
aOrganizationCodeId
- java.lang.Longpublic void setOrganizationCodeId(java.lang.String aOrganizationCodeId)
This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
setOrganizationCodeId
in interface OrganizationCodeAccessBeanData
aOrganizationCodeId
- java.lang.Stringpublic void setOrganizationId(java.lang.Long aOrganizationId)
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to ORGENTITY table.
aOrganizationId
- java.lang.Longpublic void setOrganizationId(java.lang.String aOrganizationId)
This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to ORGENTITY table.
setOrganizationId
in interface OrganizationCodeAccessBeanData
aOrganizationId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |