Class DefiningAgglomerationCommon
java.lang.Object
ru.bgcrm.plugin.ufanet.agglomeration.DefiningAgglomerationCommon
- All Implemented Interfaces:
DefiningAgglomeration
- Direct Known Subclasses:
DefiningAgglomerationFL,DefiningAgglomerationUL
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefiningAgglomerationCommon(List<Contract> linkedContracts, Connection connection, User user, Process process) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected intprotected abstract intprotected abstract intgetCityIdFromProcessParameter(int processId) protected Connectionprotected ParamListgetContractAgglomerationValue(int contractId) protected ContractParamDAOprotected ru.bitel.bgbilling.kernel.contract.api.common.service.ContractServiceprotected ParamValueDAOprotected Processprotected booleanisFilledParameterAgglomeration(int superCid) protected voidupdateContractList(List<Integer> superContractList, int agglomerationValue) protected voidupdateContractParam(int agglomerationValue, int contractId)
-
Field Details
-
CONFIG_ID
protected static final int CONFIG_ID- See Also:
-
-
Constructor Details
-
DefiningAgglomerationCommon
public DefiningAgglomerationCommon(List<Contract> linkedContracts, Connection connection, User user, Process process) throws BGException - Throws:
BGException
-
-
Method Details
-
fillParam
- Specified by:
fillParamin interfaceDefiningAgglomeration- Throws:
BGException
-
getNotSubContractList
- Throws:
BGException
-
updateContractList
protected void updateContractList(List<Integer> superContractList, int agglomerationValue) throws BGException - Throws:
BGException
-
updateContractParam
- Throws:
BGException
-
getContractAgglomerationValue
- Throws:
BGException
-
getAgglomerationValue
- Throws:
BGException
-
getCityIdFromProcessParameter
- Throws:
BGException
-
isFilledParameterAgglomeration
- Throws:
BGException
-
getContractService
protected ru.bitel.bgbilling.kernel.contract.api.common.service.ContractService getContractService() -
getLinkedContracts
-
getContractParamDAO
-
getParamValueDAO
-
getConnection
-
getProcess
-
getAgglomerationParamId
protected int getAgglomerationParamId()
-