Class CAPTCHAResult
java.lang.Object
org.deltava.beans.system.CAPTCHAResult
- All Implemented Interfaces:
Serializable
,Cacheable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(String msg) Adds an error message.cacheKey()
Returns the cache key for this object.Returns the CAPTCHA challenge time.Returns the site host name.boolean
Returns if the challenge was successful.Returns any error/status messages.void
Updates the date/time of the challenge.
-
Constructor Details
-
CAPTCHAResult
Creates the bean.- Parameters:
isSuccess
- TRUE if successful, otherwise FALSEhostName
- the remote host name
-
-
Method Details
-
getIsSuccess
public boolean getIsSuccess()Returns if the challenge was successful.- Returns:
- TRUE if successful, otherwise FALSE
-
getHostName
-
getChallengeTime
-
getMessages
Returns any error/status messages.- Returns:
- a Collection of messages
-
setChallengeTime
Updates the date/time of the challenge.- Parameters:
dt
- the date/time
-
addMessage
-
cacheKey
-