atg.b2bcommerce.approval
Class ApprovalRequiredMessage

java.lang.Object
  extended by atg.commerce.messaging.CommerceMessageImpl
      extended by atg.b2bcommerce.approval.ApprovalRequiredMessage
All Implemented Interfaces:
CommerceMessage, java.io.Serializable

public class ApprovalRequiredMessage
extends CommerceMessageImpl

This class extends the CommerceMessageImpl class. This message contains data which tells the approval system the an approval is required for the order in the message. The profile property allows the ScenarioManager to handle interacting with the profile since it will extract it from this ObjectMessage.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
static java.lang.String TYPE
          This is the JMS message type for the message that this class represents.
 
Constructor Summary
ApprovalRequiredMessage()
           
 
Method Summary
 Order getOrder()
          Returns property order
 RepositoryItem getProfile()
          Returns property profile
 java.lang.String getType()
          return the JMS message TYPE of the message
 void setOrder(Order pOrder)
          Sets property order
 void setProfile(RepositoryItem pProfile)
          Sets property profile
 java.lang.String toString()
          This method returns a readable string representing the contents of this message.
 
Methods inherited from class atg.commerce.messaging.CommerceMessageImpl
appendBaseToString, getId, getOriginalId, getOriginalSource, getOriginalUserId, getParentSessionId, getSessionId, getSource, getUserId, setId, setOriginalId, setOriginalSource, setOriginalUserId, setParentSessionId, setSessionId, setSource, setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION

TYPE

public static final java.lang.String TYPE
This is the JMS message type for the message that this class represents.

See Also:
Constant Field Values
Constructor Detail

ApprovalRequiredMessage

public ApprovalRequiredMessage()
Method Detail

getOrder

public Order getOrder()
Returns property order

Returns:
returns property order

setOrder

public void setOrder(Order pOrder)
Sets property order

Parameters:
pOrder - the value to set for property order

getProfile

public RepositoryItem getProfile()
Returns property profile

Returns:
returns property profile

setProfile

public void setProfile(RepositoryItem pProfile)
Sets property profile

Parameters:
pProfile - the value to set for property profile

getType

public java.lang.String getType()
return the JMS message TYPE of the message

Specified by:
getType in interface CommerceMessage
Overrides:
getType in class CommerceMessageImpl

toString

public java.lang.String toString()
This method returns a readable string representing the contents of this message.

Overrides:
toString in class java.lang.Object