Uses of Class
atg.commerce.csr.approvals.Approval

Packages that use Approval
atg.commerce.csr.approvals   
atg.commerce.csr.approvals.order   
atg.commerce.csr.events   
 

Uses of Approval in atg.commerce.csr.approvals
 

Methods in atg.commerce.csr.approvals that return Approval
 Approval ApprovalsManager.createApproval(java.lang.String pApprovalType, atg.repository.RepositoryItem pAgentProfile, atg.repository.RepositoryItem pTicket, java.lang.String pSiteId, java.lang.String pCustomerProfileId)
          Creates a new Approval Object
 Approval ApprovalsManager.loadApproval(java.lang.String pApprovalId)
          Loads the approval item from the repository, and sets it on a newly created Approval object
 

Methods in atg.commerce.csr.approvals with parameters of type Approval
abstract  void GenericApprovalsHandler.approve(Approval pApproval)
          Called by ApprovalsManager.approve() Executes specific logic for approving an approval type
 void ApprovalsManager.approve(Approval pApproval, atg.repository.RepositoryItem pApprovingAgentProfile)
          Approves the Approval object provided by calling approve() on the appropriate Approval Handler.
abstract  atg.commerce.csr.events.ApprovalEvent GenericApprovalsHandler.getApprovalAcceptedEvent(Approval pApproval)
          Creates and populates an Event after an approval is approved
abstract  atg.commerce.csr.events.ApprovalEvent GenericApprovalsHandler.getApprovalCreatedEvent(Approval pApproval)
          Creates and populates an Event after an approval is created
abstract  atg.commerce.csr.events.ApprovalEvent GenericApprovalsHandler.getApprovalRejectedEvent(Approval pApproval)
          Creates and populates an Event after an approval is rejected
 boolean ApprovalsManager.isApprovalRequired(Approval pApproval)
          Determines if an approval is required for the specified approval object by calling isApprovalRequired() on the appropraite Approval Handler.
abstract  boolean GenericApprovalsHandler.isApprovalRequired(Approval pApproval)
          Called by ApprovalsManager.isApprovalRequired() This method contains logic to determine if an approval is required.
abstract  void GenericApprovalsHandler.loadApproval(Approval pApproval)
          Called by ApprovalsManager.loadApproval() Loads the specific information for an approval type.
protected  void ApprovalsManager.loadBaseApprovalProperties(Approval pApproval, atg.repository.RepositoryItem pApprovalItem)
          loads the common approval properties
 void ApprovalsManager.logApprovalAcceptedEvent(Approval pApproval)
          logs an agent event when an approval is accepted
 void ApprovalsManager.logApprovalCreatedEvent(Approval pApproval)
          logs an agent event when an approval is created
 void ApprovalsManager.logApprovalRejectedEvent(Approval pApproval)
          logs an agent event when an approval is rejected
protected  void ApprovalsManager.processApproveException(Approval pApproval, java.lang.Exception pException)
          This method is called to process any exception that occurs in the approval process.
protected  void ApprovalsManager.processRejectException(Approval pApproval, java.lang.Exception pException)
          This method is called to process any exception that occurs in the rejection process.
abstract  void GenericApprovalsHandler.reject(Approval pApproval)
          Called by ApprovalsManager.reject() Executes specific logic for rejecting an approval type
 void ApprovalsManager.reject(Approval pApproval, atg.repository.RepositoryItem pApprovingAgentProfile)
          Rejects the Approval object provided by calling reject() on the appropriate Approval Handler.
 void ApprovalsManager.saveApproval(Approval pApproval)
          Saves the approval to the approval repository.
abstract  void GenericApprovalsHandler.saveApproval(Approval pApproval, atg.repository.MutableRepositoryItem pItem)
          Called by ApprovalsManager.saveApproval() Saves the specific information for an approval type.
protected  void ApprovalsManager.saveBaseApprovalProperties(Approval pApproval, atg.repository.MutableRepositoryItem pItem)
          saves the common approval properties
 

Uses of Approval in atg.commerce.csr.approvals.order
 

Methods in atg.commerce.csr.approvals.order that return Approval
 Approval OrderApprovalTools.createOrderApproval(atg.commerce.order.Order pOrder, atg.repository.RepositoryItem pAgentProfile, atg.repository.RepositoryItem pTicket, java.lang.String pSiteId, java.util.Map pExtraParameters)
          Creates an Approval object for the given Order that can be passed to the ApprovalManager to determine if approval is required.
 

Methods in atg.commerce.csr.approvals.order with parameters of type Approval
 void OrderApprovalsHandler.approve(Approval pApproval)
          processes the order supplied as an attribute on the pApproval
protected  boolean OrderApprovalsHandler.doesAgentHaveAppeasmentLimit(Approval pApproval)
          checks if the agent has an unlimited appeasement limit, and returns false not
protected  boolean OrderApprovalsHandler.doesAgentRequireApproval(Approval pApproval)
          checks if the Agent has an approvers role, and return false if it is present
protected  boolean OrderApprovalsHandler.doesAppeasementsExceedLimit(Approval pApproval)
          checks if the total appeasements on the orders exceed the agent's appeasement limit
protected  void OrderApprovalsHandler.doPaymentGroupAuthorizations(atg.commerce.order.Order pOrder, Approval pApproval, atg.repository.MutableRepositoryItem pItem)
          This method is called when saving the approval and executes the initial payment group authorization for payment groups that have no authorization status yet.
protected  java.util.Map OrderApprovalsHandler.generateOrderApprovalParameters(Approval pApproval)
          Generates the extra parameter map that is passed to processOrder when approving an Order.
protected  double OrderApprovalsHandler.getAgentAppeasementLimit(Approval pApproval)
          get the agent's appeasement limit
 double OrderApprovalTools.getAgentAppeasementLimit(Approval pApproval)
          Gets the agent appeasement limit.
 atg.commerce.csr.events.ApprovalEvent OrderApprovalsHandler.getApprovalAcceptedEvent(Approval pApproval)
          creates and populates an OrderApprovalEvent
 atg.commerce.csr.events.ApprovalEvent OrderApprovalsHandler.getApprovalCreatedEvent(Approval pApproval)
          creates and populates an OrderApprovalEvent
 atg.commerce.csr.events.ApprovalEvent OrderApprovalsHandler.getApprovalRejectedEvent(Approval pApproval)
          creates and populates an OrderApprovalEvent
protected  boolean OrderApprovalFormHandler.initializeConfirmationInfoForApprove(Approval pApproval)
          Initializes the confirmation info object when an order is approved
protected  boolean OrderApprovalFormHandler.initializeConfirmationInfoForReject(Approval pApproval)
          Initializes the confirmation info object when an order is rejected
 boolean OrderApprovalsHandler.isApprovalRequired(Approval pApproval)
          Determines if an order approval is required for the specified approval object.
 void OrderApprovalsHandler.loadApproval(Approval pApproval)
          Loads the order associated with the approval and also the order specific properties for the approval
 void OrderApprovalsHandler.reject(Approval pApproval)
          Executes the process of rejecting an order that is pending approval.
 void OrderApprovalsHandler.saveApproval(Approval pApproval, atg.repository.MutableRepositoryItem pItem)
          This method saves the application specific data for an Order approval.
protected  void OrderApprovalsHandler.setOrderStateToPendingApproval(atg.commerce.order.Order pOrder, Approval pApproval)
          This method is called when saving the approval and sets the Order to the appropriate pending approval state.
protected  void OrderApprovalsHandler.setOrderStateToRejected(atg.commerce.order.Order pOrder, Approval pApproval)
          This method is called when an approval is rejected to set the order's state.
 

Uses of Approval in atg.commerce.csr.events
 

Methods in atg.commerce.csr.events with parameters of type Approval
 atg.commerce.csr.events.OrderApprovalEvent CSRAgentMessagingTools.createAndPopulateOrderApprovalAcceptedEvent(Approval pApproval)
          creates an OrderApprovalEvent, populates the required data and sets it type as ORDER_APPROVAL_ACCEPTED
 atg.commerce.csr.events.OrderApprovalEvent CSRAgentMessagingTools.createAndPopulateOrderApprovalCreateEvent(Approval pApproval)
          creates an OrderApprovalEvent, populates the required data and sets it type as ORDER_APPROVAL_CREATED
 atg.commerce.csr.events.OrderApprovalEvent CSRAgentMessagingTools.createAndPopulateOrderApprovalRejectedEvent(Approval pApproval)
          creates an OrderApprovalEvent, populates the required data and sets it type as ORDER_APPROVAL_REJECTED