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
BGExceptionpublic void fillParam()
throws BGException
fillParam in interface DefiningAgglomerationBGExceptionprotected java.util.List<java.lang.Integer> getNotSubContractList()
throws BGException
BGExceptionprotected void updateContractList(java.util.List<java.lang.Integer> superContractList,
int agglomerationValue)
throws BGException
BGExceptionprotected void updateContractParam(int agglomerationValue,
int contractId)
throws BGException
BGExceptionprotected ParamList getContractAgglomerationValue(int contractId) throws BGException
BGExceptionprotected abstract int getAgglomerationValue()
throws BGException
BGExceptionprotected abstract int getCityIdFromProcessParameter(int processId)
throws BGException
BGExceptionprotected boolean isFilledParameterAgglomeration(int superCid)
throws BGException
BGExceptionprotected 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()