|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.commerce.order.purchase.PaymentGroupContainerService
public class PaymentGroupContainerService
The PaymentGroupContainerService is convenient designed for a session scoped component. This implements both the PaymentGroupMapContainer and the CommerceIdentifierPaymentInfoContainer interfaces. This service is responsible for keeping track of both the user's authorized PaymentGroups, as well as the CommerceIdentifierPaymentInfo objects for a user's Order.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PaymentGroupContainerService()
Creates a new PaymentGroupContainerService instance. |
Method Summary | |
---|---|
void |
addCommerceIdentifierPaymentInfo(java.lang.String pCommerceIdentifierId,
CommerceIdentifierPaymentInfo pCommerceIdentifierPaymentInfo)
The addCommerceIdentifierPaymentInfo method adds the supplied
CommerceIdentifierId and CommerceIdentifierPaymentInfo to the Map. |
void |
addPaymentGroup(java.lang.String pPaymentGroupName,
PaymentGroup pPaymentGroup)
The addPaymentGroup method adds the supplied payment name
and PaymentGroup to the Map. |
java.util.List |
getAllCommerceIdentifierPaymentInfos()
The getAllCommerceIdentifierPaymentInfos method returns one List of all
CommerceIdentifierPaymentInfos in the entire Map. |
java.util.Map |
getCommerceIdentifierPaymentInfoMap()
Return the CommerceIdentifierPaymentInfoMap property. |
java.util.List |
getCommerceIdentifierPaymentInfos(java.lang.String pCommerceIdentifierId)
The getCommerceIdentifierPaymentInfos method returns the List of
CommerceIdentifierPaymentInfos corresponding to the supplied CommerceIdentifierId. |
java.lang.String |
getDefaultPaymentGroupName()
Return the DefaultPaymentGroupName property. |
PaymentGroup |
getPaymentGroup(java.lang.String pPaymentGroupName)
The getPaymentGroup method returns the PaymentGroup corresponding
to the supplied payment name. |
java.util.Map |
getPaymentGroupMap()
Return the PaymentGroupMap property. |
void |
removeAllCommerceIdentifierPaymentInfos()
The removeAllCommerceIdentifierPaymentInfos method clears the Map. |
void |
removeAllPaymentGroups()
The removeAllPaymentGroups method clears the Map. |
void |
removeCommerceIdentifierPaymentInfos(java.lang.String pCommerceIdentifierId)
The removeCommerceIdentifierPaymentInfos method removes the
CommerceIdentifierPaymentInfo corresponding to the supplied CommerceIdentifierId. |
void |
removePaymentGroup(java.lang.String pPaymentGroupName)
The removePaymentGroup method removes the PaymentGroup corresponding
to the supplied payment name. |
void |
setCommerceIdentifierPaymentInfoMap(java.util.Map pCommerceIdentifierPaymentInfoMap)
Set the CommerceIdentifierPaymentInfoMap property. |
void |
setDefaultPaymentGroupName(java.lang.String pDefaultPaymentGroupName)
Set the DefaultPaymentGroupName property. |
void |
setPaymentGroupMap(java.util.Map pPaymentGroupMap)
Set the PaymentGroupMap property. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PaymentGroupContainerService()
PaymentGroupContainerService
instance.
Method Detail |
---|
public void setCommerceIdentifierPaymentInfoMap(java.util.Map pCommerceIdentifierPaymentInfoMap)
pCommerceIdentifierPaymentInfoMap
- a Map
valuepublic java.util.Map getCommerceIdentifierPaymentInfoMap()
getCommerceIdentifierPaymentInfoMap
in interface CommerceIdentifierPaymentInfoContainer
Map
valuepublic void setPaymentGroupMap(java.util.Map pPaymentGroupMap)
pPaymentGroupMap
- a Map
valuepublic java.util.Map getPaymentGroupMap()
getPaymentGroupMap
in interface PaymentGroupMapContainer
Map
valuepublic java.util.List getCommerceIdentifierPaymentInfos(java.lang.String pCommerceIdentifierId)
getCommerceIdentifierPaymentInfos
method returns the List of
CommerceIdentifierPaymentInfos corresponding to the supplied CommerceIdentifierId.
getCommerceIdentifierPaymentInfos
in interface CommerceIdentifierPaymentInfoContainer
pCommerceIdentifierId
- a String
value
List
valuepublic java.util.List getAllCommerceIdentifierPaymentInfos()
getAllCommerceIdentifierPaymentInfos
method returns one List of all
CommerceIdentifierPaymentInfos in the entire Map.
getAllCommerceIdentifierPaymentInfos
in interface CommerceIdentifierPaymentInfoContainer
List
valuepublic void addCommerceIdentifierPaymentInfo(java.lang.String pCommerceIdentifierId, CommerceIdentifierPaymentInfo pCommerceIdentifierPaymentInfo)
addCommerceIdentifierPaymentInfo
method adds the supplied
CommerceIdentifierId and CommerceIdentifierPaymentInfo to the Map.
addCommerceIdentifierPaymentInfo
in interface CommerceIdentifierPaymentInfoContainer
pCommerceIdentifierId
- a String
valuepCommerceIdentifierPaymentInfo
- a CommerceIdentifierPaymentInfo
valuepublic void removeAllCommerceIdentifierPaymentInfos()
removeAllCommerceIdentifierPaymentInfos
method clears the Map.
removeAllCommerceIdentifierPaymentInfos
in interface CommerceIdentifierPaymentInfoContainer
public void removeCommerceIdentifierPaymentInfos(java.lang.String pCommerceIdentifierId)
removeCommerceIdentifierPaymentInfos
method removes the
CommerceIdentifierPaymentInfo corresponding to the supplied CommerceIdentifierId.
removeCommerceIdentifierPaymentInfos
in interface CommerceIdentifierPaymentInfoContainer
pCommerceIdentifierId
- a String
valuepublic PaymentGroup getPaymentGroup(java.lang.String pPaymentGroupName)
getPaymentGroup
method returns the PaymentGroup corresponding
to the supplied payment name.
getPaymentGroup
in interface PaymentGroupMapContainer
pPaymentGroupName
- a String
value
PaymentGroup
valuepublic void addPaymentGroup(java.lang.String pPaymentGroupName, PaymentGroup pPaymentGroup)
addPaymentGroup
method adds the supplied payment name
and PaymentGroup to the Map.
addPaymentGroup
in interface PaymentGroupMapContainer
pPaymentGroupName
- a String
valuepPaymentGroup
- a PaymentGroup
valuepublic void removeAllPaymentGroups()
removeAllPaymentGroups
method clears the Map.
removeAllPaymentGroups
in interface PaymentGroupMapContainer
public void removePaymentGroup(java.lang.String pPaymentGroupName)
removePaymentGroup
method removes the PaymentGroup corresponding
to the supplied payment name.
removePaymentGroup
in interface PaymentGroupMapContainer
pPaymentGroupName
- a String
valuepublic void setDefaultPaymentGroupName(java.lang.String pDefaultPaymentGroupName)
setDefaultPaymentGroupName
in interface PaymentGroupMapContainer
pDefaultPaymentGroupName
- a String
valuepublic java.lang.String getDefaultPaymentGroupName()
getDefaultPaymentGroupName
in interface PaymentGroupMapContainer
String
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |