Class ValidateTextParamEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.kernel.event.common.LocalEvent
ru.bitel.bgbilling.kernel.event.events.ValidateTextParamEvent
- All Implemented Interfaces:
Serializable
,ErrorReturnableEvent
public class ValidateTextParamEvent
extends ru.bitel.bgbilling.kernel.event.common.LocalEvent
Событие передается в скрипт валиадации текстового параметра договора.
Если скрипт установит поле error в какое-либо значение, система выдаст
данное сообщение и параметр не будет изменен.
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
ValidateTextParamEvent
(int contractId, int parameterId, String value) ValidateTextParamEvent
(int contractId, String value) -
Method Summary
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, toString, toString
-
Constructor Details
-
ValidateTextParamEvent
protected ValidateTextParamEvent() -
ValidateTextParamEvent
-
ValidateTextParamEvent
-
-
Method Details
-
getParameterId
public int getParameterId() -
getError
- Specified by:
getError
in interfaceErrorReturnableEvent
- Overrides:
getError
in classru.bitel.bgbilling.kernel.event.common.LocalEvent
-
setError
- Specified by:
setError
in interfaceErrorReturnableEvent
- Overrides:
setError
in classru.bitel.bgbilling.kernel.event.common.LocalEvent
-
getValue
-