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
Событие передается в скрипт валиадации текстового параметра договора.
Если скрипт установит поле error в какое-либо значение, система выдаст
данное сообщение и параметр не будет изменен.
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedValidateTextParamEvent(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, toStringMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
ValidateTextParamEvent
protected ValidateTextParamEvent() -
ValidateTextParamEvent
-
ValidateTextParamEvent
-
-
Method Details
-
getParameterId
public int getParameterId() -
getError
Description copied from class:LocalEventВозвращает ошибку установленную в событии. При наличие ошибки обработчиком событий генерируется экзепшен.- Specified by:
getErrorin interfaceErrorReturnableEvent- Overrides:
getErrorin classLocalEvent
-
setError
Description copied from class:LocalEventУстанавливает ошибку в событие. При наличие ошибки обработчиком событий генерируется экзепшен.- Specified by:
setErrorin interfaceErrorReturnableEvent- Overrides:
setErrorin classLocalEvent
-
getValue
-