|
||||||||
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.ordermanagement.objects.ChargeTypeAccessBean
This bean provides access to the CHARGETYPE table.
The following is a description of this table:
Charge or credit applied against a transaction which is not for product. Examples include expedite fees, customization fees, and restocking fees.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ChargeTypeAccessBean()
Default constructor. |
|
ChargeTypeAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
ChargeTypeAccessBean(java.lang.String code,
java.lang.String displayAggregated,
java.lang.Integer storeEntID)
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 |
findByCodeAndStoreIdOrStoreGroupIdOrderByStoreent(java.lang.String code,
java.lang.Integer storeID,
java.lang.Integer storeGroupID)
Retrieves all the charge types defined for a store and its corresponding store group, and returns the list sorted by store entity. The SQL query used to fetch the requested row from the CHARGETYPE table is: SELECT * FROM CHARGETYPE T1 where T1.Code = ? and (T1.Storeent_id = ? or T1.Storeent_id=?) and T1.MarkForDelete=0 order by storeent_id desc |
java.lang.String |
getChargeTypeId()
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getChargeTypeIdInEJBType()
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCode()
This method provides access to the CHARGETYPE.CODE column of DB2 type CHAR(10) NOT NULL. |
java.lang.String |
getDisplayAggregated()
This method provides access to the CHARGETYPE.DISPLAYAGGREGATED column of DB2 type CHAR(1) NOT NULL. |
java.lang.String |
getMarkForDeleted()
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMarkForDeletedInEJBType()
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStoreentId()
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreentIdInEJBType()
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setChargeTypeId(java.lang.Integer aChargeTypeId)
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setChargeTypeId(java.lang.String aChargeTypeId)
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCode(java.lang.String aCode)
This method provides access to the CHARGETYPE.CODE column of DB2 type CHAR(10) NOT NULL. |
void |
setDisplayAggregated(java.lang.String aDisplayAggregated)
This method provides access to the CHARGETYPE.DISPLAYAGGREGATED column of DB2 type CHAR(1) NOT NULL. |
void |
setInitKey_chargeTypeId(java.lang.String aInitKey_chargeTypeId)
Set the primary key for this object |
void |
setMarkForDeleted(java.lang.Integer aMarkForDeleted)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDeleted(java.lang.String aMarkForDeleted)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.Integer aStoreentId)
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String aStoreentId)
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER 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 ChargeTypeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ChargeTypeAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic ChargeTypeAccessBean(java.lang.String code, java.lang.String displayAggregated, java.lang.Integer storeEntID) 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
code
- java.lang.String CodedisplayAggregated
- java.lang.String Display AggregatedstoreEntID
- java.lang.Integer StoreEnt_idjavax.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 findByCodeAndStoreIdOrStoreGroupIdOrderByStoreent(java.lang.String code, java.lang.Integer storeID, java.lang.Integer storeGroupID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the charge types defined for a store and its corresponding store group, and returns
the list sorted by store entity.
The SQL query used to fetch the requested row from the
CHARGETYPE table is:
SELECT *
FROM CHARGETYPE T1
where T1.Code = ?
and (T1.Storeent_id = ? or T1.Storeent_id=?)
and T1.MarkForDelete=0
order by storeent_id desc
code
- java.lang.String CodestoreID
- java.lang.Integer Store IDstoreGroupID
- java.lang.Integer Store Group IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getChargeTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
getChargeTypeId
in interface ChargeTypeAccessBeanData
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.Integer getChargeTypeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique 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 getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.CODE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Code used for referencing this Charge Type. Used for identifying the same charge type defined at the store and store group level.
getCode
in interface ChargeTypeAccessBeanData
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 getDisplayAggregated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.DISPLAYAGGREGATED column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
A suggestion to the GUI to aggregate the charge or credit into the appropriate transaction or transaction item for display purposes. Charges or credits are stored individually to facilitate tax calculations.
getDisplayAggregated
in interface ChargeTypeAccessBeanData
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 getMarkForDeleted() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:
0 = No.
1 = Yes.
getMarkForDeleted
in interface ChargeTypeAccessBeanData
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.Integer getMarkForDeletedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:
0 = No.
1 = Yes.
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 getStoreentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store Entity that uses this Charge Type.
getStoreentId
in interface ChargeTypeAccessBeanData
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.Integer getStoreentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store Entity that uses this Charge Type.
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 setChargeTypeId(java.lang.Integer aChargeTypeId)
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
aChargeTypeId
- java.lang.Integerpublic void setChargeTypeId(java.lang.String aChargeTypeId)
This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
setChargeTypeId
in interface ChargeTypeAccessBeanData
aChargeTypeId
- java.lang.Stringpublic void setCode(java.lang.String aCode)
This method provides access to the CHARGETYPE.CODE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Code used for referencing this Charge Type. Used for identifying the same charge type defined at the store and store group level.
setCode
in interface ChargeTypeAccessBeanData
aCode
- java.lang.Stringpublic void setDisplayAggregated(java.lang.String aDisplayAggregated)
This method provides access to the CHARGETYPE.DISPLAYAGGREGATED column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
A suggestion to the GUI to aggregate the charge or credit into the appropriate transaction or transaction item for display purposes. Charges or credits are stored individually to facilitate tax calculations.
setDisplayAggregated
in interface ChargeTypeAccessBeanData
aDisplayAggregated
- java.lang.Stringpublic void setInitKey_chargeTypeId(java.lang.String aInitKey_chargeTypeId)
Set the primary key for this object
aInitKey_chargeTypeId
- java.lang.Stringpublic void setMarkForDeleted(java.lang.Integer aMarkForDeleted)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:
0 = No.
1 = Yes.
aMarkForDeleted
- java.lang.Integerpublic void setMarkForDeleted(java.lang.String aMarkForDeleted)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:
0 = No.
1 = Yes.
setMarkForDeleted
in interface ChargeTypeAccessBeanData
aMarkForDeleted
- java.lang.Stringpublic void setStoreentId(java.lang.Integer aStoreentId)
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store Entity that uses this Charge Type.
aStoreentId
- java.lang.Integerpublic void setStoreentId(java.lang.String aStoreentId)
This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store Entity that uses this Charge Type.
setStoreentId
in interface ChargeTypeAccessBeanData
aStoreentId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |