public abstract class DefiningAgglomerationCommon extends java.lang.Object implements DefiningAgglomeration
Modifier and Type | Field and Description |
---|---|
protected static int |
CONFIG_ID |
Constructor and Description |
---|
DefiningAgglomerationCommon(java.util.List<Contract> linkedContracts,
java.sql.Connection connection,
User user,
Process process) |
Modifier and Type | Method and Description |
---|---|
void |
fillParam() |
protected int |
getAgglomerationParamId() |
protected abstract int |
getAgglomerationValue() |
protected abstract int |
getCityIdFromProcessParameter(int processId) |
protected java.sql.Connection |
getConnection() |
protected ParamList |
getContractAgglomerationValue(int contractId) |
protected ContractParamDAO |
getContractParamDAO() |
protected ContractService |
getContractService() |
protected java.util.List<Contract> |
getLinkedContracts() |
protected java.util.List<java.lang.Integer> |
getNotSubContractList() |
protected ParamValueDAO |
getParamValueDAO() |
protected Process |
getProcess() |
protected boolean |
isFilledParameterAgglomeration(int superCid) |
protected void |
updateContractList(java.util.List<java.lang.Integer> superContractList,
int agglomerationValue) |
protected void |
updateContractParam(int agglomerationValue,
int contractId) |
protected static final int CONFIG_ID
public DefiningAgglomerationCommon(java.util.List<Contract> linkedContracts, java.sql.Connection connection, User user, Process process) throws BGException
BGException
public void fillParam() throws BGException
fillParam
in interface DefiningAgglomeration
BGException
protected java.util.List<java.lang.Integer> getNotSubContractList() throws BGException
BGException
protected void updateContractList(java.util.List<java.lang.Integer> superContractList, int agglomerationValue) throws BGException
BGException
protected void updateContractParam(int agglomerationValue, int contractId) throws BGException
BGException
protected ParamList getContractAgglomerationValue(int contractId) throws BGException
BGException
protected abstract int getAgglomerationValue() throws BGException
BGException
protected abstract int getCityIdFromProcessParameter(int processId) throws BGException
BGException
protected boolean isFilledParameterAgglomeration(int superCid) throws BGException
BGException
protected ContractService getContractService()
protected java.util.List<Contract> getLinkedContracts()
protected ContractParamDAO getContractParamDAO()
protected ParamValueDAO getParamValueDAO()
protected java.sql.Connection getConnection()
protected Process getProcess()
protected int getAgglomerationParamId()