org.zeroexchange.resource.reconciliation
Class DefaultReconciliator
java.lang.Object
org.zeroexchange.resource.reconciliation.DefaultReconciliator
- All Implemented Interfaces:
- Reconciliator
public class DefaultReconciliator
- extends Object
- implements Reconciliator
- Author:
- black
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 |
DefaultReconciliator
public DefaultReconciliator()
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.