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

Packages that use ApprovalsException
atg.commerce.csr.approvals   
atg.commerce.csr.approvals.order   
 

Uses of ApprovalsException in atg.commerce.csr.approvals
 

Methods in atg.commerce.csr.approvals that throw ApprovalsException
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.
 atg.repository.RepositoryItem[] ApprovalsManager.findAllApprovals(java.lang.String[] pStates, java.lang.String pApprovalType)
          Returns all the approval RepositoryItems for given state and approval types.
 atg.repository.RepositoryItem[] ApprovalsManager.findAllPendingApprovalsByType(java.lang.String pApprovalType)
          Returns all Pending approvals for a supplied type If pApprovalType is empty or null, all types will be returned
 GenericApprovalsHandler ApprovalsManager.getApprovalHandler(java.lang.String pApprovalType)
          Returns the handler for an approval type
 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.
 Approval ApprovalsManager.loadApproval(java.lang.String pApprovalId)
          Loads the approval item from the repository, and sets it on a newly created Approval object
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.
 

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

Methods in atg.commerce.csr.approvals.order that throw ApprovalsException
 void OrderApprovalsHandler.approve(Approval pApproval)
          processes the order supplied as an attribute on the pApproval
 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.
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.
 atg.repository.RepositoryItem OrderApprovalTools.findApprovalForOrder(java.lang.String pOrderId)
          Returns an Approval Repository Item.
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.
 double OrderApprovalsHandler.getTotalAppeasementsForOrder(atg.commerce.order.Order pOrder)
          calculates the total appeasements for the specified order
 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 OrderApprovalTools.removeApprovalForOrder(java.lang.String pOrderId)
          Removes the order approval item that references the given order id.
 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.
protected  boolean UpdateOrderApprovalCustomerEmailFormHandler.updateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Executes the customer email update for the approval
 void OrderApprovalTools.updateCustomerEmailOnOrderApproval(java.lang.String pApprovalId, java.lang.String pEmail)
          Updates the customer email for the given approval id