Class ValidateTextParamEvent
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
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, getSource, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, setSource, toString, toString
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
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
-