java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.ordermanagement.objects.ChargeTypeAccessBean
Charge or credit applied against a transaction which is not for product. Examples include expedite fees, customization fees, and restocking fees.
Constructor Summary | |
---|---|
ChargeTypeAccessBean() constructor | |
ChargeTypeAccessBean(javax.ejb.EJBObject o) constructor | |
ChargeTypeAccessBean(java.lang.String arg0, java.lang.String arg1,
java.lang.Integer arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByCodeAndStoreIdOrStoreGroupIdOrderByStoreent(java.lang.String arg0,
java.lang.Integer arg1, java.lang.Integer arg2)
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 DEFAULT 0. |
java.lang.Integer |
getMarkForDeletedInEJBType() This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
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. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setChargeTypeId(java.lang.Integer newValue) This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setChargeTypeId(java.lang.String newValue) This method provides access to the CHARGETYPE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCode(java.lang.String newValue) This method provides access to the CHARGETYPE.CODE column of DB2 type CHAR(10) NOT NULL. |
void |
setDisplayAggregated(java.lang.String newValue) This method provides access to the CHARGETYPE.DISPLAYAGGREGATED column of DB2 type CHAR(1) NOT NULL. |
void |
setInitKey_chargeTypeId(java.lang.String newValue) Set the primary key for this object |
void |
setMarkForDeleted(java.lang.Integer newValue) This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDeleted(java.lang.String newValue) This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setStoreentId(java.lang.Integer newValue) This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String newValue) This method provides access to the CHARGETYPE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public ChargeTypeAccessBean()
public ChargeTypeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public ChargeTypeAccessBean(java.lang.String arg0, java.lang.String arg1, java.lang.Integer arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Stringarg1
- java.lang.Stringarg2
- java.lang.Integerjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByCodeAndStoreIdOrStoreGroupIdOrderByStoreent(java.lang.String arg0, java.lang.Integer arg1, java.lang.Integer arg2) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_chargeTypeId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
getCode
in interface
ChargeTypeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCode(java.lang.String newValue)
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.
setCode
in interface
ChargeTypeAccessBeanData
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreentId(java.lang.String newValue)
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
newValue
- Stringpublic void setStoreentId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setChargeTypeId(java.lang.String newValue)
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
newValue
- Stringpublic void setChargeTypeId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDisplayAggregated(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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 DEFAULT 0.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:&l
getMarkForDeleted
in interface
ChargeTypeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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 DEFAULT 0.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDeleted(java.lang.String newValue)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:&l
setMarkForDeleted
in interface
ChargeTypeAccessBeanData
newValue
- Stringpublic void setMarkForDeleted(java.lang.Integer newValue)
This method provides access to the CHARGETYPE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this Charge Type has been marked for deletion:&l
newValue
- java.lang.Integer