org.zeroexchange.resource.reconciliation
Class DefaultReconciliator

java.lang.Object
  extended by org.zeroexchange.resource.reconciliation.DefaultReconciliator
All Implemented Interfaces:
Reconciliator

public class DefaultReconciliator
extends Object
implements Reconciliator

Author:
black

Constructor Summary
DefaultReconciliator()
           
 
Method Summary
 void reconcile(Resource resource, User consumer)
          Writes off the cost amount of the unsupplied resource from the supplier and writes off that amount to the consumers.
 void reconcileContract(Contract contract)
          Reconcilies the contract.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultReconciliator

public DefaultReconciliator()
Method Detail

reconcile

@Transactional
public void reconcile(Resource resource,
                                    User consumer)
Writes off the cost amount of the unsupplied resource from the supplier and writes off that amount to the consumers.

Specified by:
reconcile in interface Reconciliator

reconcileContract

@Transactional
public void reconcileContract(Contract contract)
Reconcilies the contract.

Specified by:
reconcileContract in interface Reconciliator


Copyright © 2013. All Rights Reserved.