Package ru.bgcrm.plugin.simCard.process
Class AbstractSimCardProcessManager
java.lang.Object
ru.bgcrm.plugin.simCard.process.AbstractSimCardProcessManager
- All Implemented Interfaces:
SimCardProcessManager
- Direct Known Subclasses:
AnotherOperatorTransferProcessManager,BeelineTransferProcessManager,SimCardSellingProcessManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected BeelineContractprotected Connectionprotected final ru.bitel.common.function.Lazy<FileDataDAO> protected intprotected static final ru.bgcrm.logging.Loggerprotected Stringprotected ru.bitel.common.function.Lazy<ParamValueDAO> protected intprotected ru.bitel.common.function.Lazy<ProcessLinkDAO> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSimCardProcessManager(int processId, int operationTypeId, Connection connection) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidprotected DategetDateParamValue(int objectId, int paramId) getFileNameAndFileFromParameter(int paramId) static SimCardProcessManagergetInstance(int processId, Connection connection) intgetListParamValue(int objectId, int paramId) intprotected StringgetTextParamValue(int objectId, int paramId) protected voidsendRequestToBilling(RequestJsonRpc request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.bgcrm.plugin.simCard.process.SimCardProcessManager
register
-
Field Details
-
LOG
protected static final ru.bgcrm.logging.Logger LOG -
processId
protected int processId -
linkedCustomerId
protected int linkedCustomerId -
connection
-
paramValueDAO
-
processLinkDAO
-
fileDataDAO
-
BEELINE_SERVICE_PACKAGE
- See Also:
-
BEELINE_SERVICE_NAME
- See Also:
-
beelineContract
-
mainPhoneNumber
-
-
Constructor Details
-
AbstractSimCardProcessManager
public AbstractSimCardProcessManager(int processId, int operationTypeId, Connection connection) throws BGException - Throws:
BGException
-
-
Method Details
-
getInstance
public static SimCardProcessManager getInstance(int processId, Connection connection) throws BGException - Throws:
BGException
-
fillMainPhoneNumber
- Throws:
BGException
-
fillBeelineContract
- Throws:
BGException
-
getTextParamValue
- Throws:
BGException
-
getListParamValue
- Throws:
BGException
-
getDateParamValue
- Throws:
BGException
-
getBeelineContract
- Specified by:
getBeelineContractin interfaceSimCardProcessManager
-
getOperationTypeId
public int getOperationTypeId()- Specified by:
getOperationTypeIdin interfaceSimCardProcessManager
-
getLinkedCustomerId
public int getLinkedCustomerId()- Specified by:
getLinkedCustomerIdin interfaceSimCardProcessManager
-
getCodePhrase
- Specified by:
getCodePhrasein interfaceSimCardProcessManager- Throws:
BGException
-
getSellingGroup
- Specified by:
getSellingGroupin interfaceSimCardProcessManager- Throws:
BGException
-
getMainPhoneNumber
- Specified by:
getMainPhoneNumberin interfaceSimCardProcessManager
-
getFileNameAndFileFromParameter
- Throws:
BGException
-
sendRequestToBilling
- Throws:
BGException
-