public abstract class AbstractSimCardProcessManager extends java.lang.Object implements SimCardProcessManager
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSimCardProcessManager.ParameterListOperationType |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
BEELINE_SERVICE_NAME |
protected static java.lang.String |
BEELINE_SERVICE_PACKAGE |
protected BeelineContract |
beelineContract |
protected java.sql.Connection |
connection |
protected <any> |
fileDataDAO |
protected int |
linkedCustomerId |
protected static Logger |
LOG |
protected java.lang.String |
mainPhoneNumber |
protected <any> |
paramValueDAO |
protected int |
processId |
protected <any> |
processLinkDAO |
Constructor and Description |
---|
AbstractSimCardProcessManager(int processId,
int operationTypeId,
java.sql.Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillBeelineContract() |
protected abstract void |
fillMainPhoneNumber() |
BeelineContract |
getBeelineContract() |
java.lang.String |
getCodePhrase() |
protected java.util.Date |
getDateParamValue(int objectId,
int paramId) |
protected Pair<java.lang.String,java.io.File> |
getFileNameAndFileFromParameter(int paramId) |
static SimCardProcessManager |
getInstance(int processId,
java.sql.Connection connection) |
int |
getLinkedCustomerId() |
protected java.util.Set<java.lang.Integer> |
getListParamValue(int objectId,
int paramId) |
java.lang.String |
getMainPhoneNumber() |
int |
getOperationTypeId() |
Group |
getSellingGroup() |
protected java.lang.String |
getTextParamValue(int objectId,
int paramId) |
protected void |
sendRequestToBilling(RequestJsonRpc request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
protected static final Logger LOG
protected int processId
protected int linkedCustomerId
protected java.sql.Connection connection
protected <any> paramValueDAO
protected <any> processLinkDAO
protected final <any> fileDataDAO
protected static final java.lang.String BEELINE_SERVICE_PACKAGE
protected static final java.lang.String BEELINE_SERVICE_NAME
protected BeelineContract beelineContract
protected java.lang.String mainPhoneNumber
public AbstractSimCardProcessManager(int processId, int operationTypeId, java.sql.Connection connection) throws BGException
BGException
public static SimCardProcessManager getInstance(int processId, java.sql.Connection connection) throws BGException
BGException
protected abstract void fillMainPhoneNumber() throws BGException
BGException
protected void fillBeelineContract() throws BGException
BGException
protected java.lang.String getTextParamValue(int objectId, int paramId) throws BGException
BGException
protected java.util.Set<java.lang.Integer> getListParamValue(int objectId, int paramId) throws BGException
BGException
protected java.util.Date getDateParamValue(int objectId, int paramId) throws BGException
BGException
public BeelineContract getBeelineContract()
getBeelineContract
in interface SimCardProcessManager
public int getOperationTypeId()
getOperationTypeId
in interface SimCardProcessManager
public int getLinkedCustomerId()
getLinkedCustomerId
in interface SimCardProcessManager
public java.lang.String getCodePhrase() throws BGException
getCodePhrase
in interface SimCardProcessManager
BGException
public Group getSellingGroup() throws BGException
getSellingGroup
in interface SimCardProcessManager
BGException
public java.lang.String getMainPhoneNumber()
getMainPhoneNumber
in interface SimCardProcessManager
protected Pair<java.lang.String,java.io.File> getFileNameAndFileFromParameter(int paramId) throws BGException
BGException
protected void sendRequestToBilling(RequestJsonRpc request) throws BGException
BGException