2015-09-10 20:20:42 +02:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-06 16:47:59 +02:00
|
|
|
import { alt } from '../alt';
|
2015-09-10 20:20:42 +02:00
|
|
|
import ContractAgreementListActions from '../actions/contract_agreement_list_actions';
|
|
|
|
|
|
|
|
|
|
|
|
class ContractAgreementListStore {
|
|
|
|
constructor() {
|
|
|
|
this.contractAgreementList = null;
|
|
|
|
this.bindActions(ContractAgreementListActions);
|
|
|
|
}
|
|
|
|
|
|
|
|
onUpdateContractAgreementList(contractAgreementList) {
|
|
|
|
this.contractAgreementList = contractAgreementList;
|
|
|
|
}
|
|
|
|
|
|
|
|
onFlushContractAgreementList() {
|
|
|
|
this.contractAgreementList = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default alt.createStore(ContractAgreementListStore, 'ContractAgreementListStore');
|