org.olat.registration
Class TemporaryKeyImpl
java.lang.Object
org.olat.registration.TemporaryKeyImpl
- All Implemented Interfaces:
- CreateInfo, TemporaryKey
public class TemporaryKeyImpl
- extends java.lang.Object
- implements CreateInfo, TemporaryKey
Description:
- Author:
- Sabina Jeger
|
Constructor Summary |
TemporaryKeyImpl(java.lang.String emailaddress,
java.lang.String ipaddress,
java.lang.String registrationKey,
java.lang.String action)
Temporary key database object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemporaryKeyImpl
public TemporaryKeyImpl(java.lang.String emailaddress,
java.lang.String ipaddress,
java.lang.String registrationKey,
java.lang.String action)
- Temporary key database object.
- Parameters:
emailaddress - ipaddress - registrationKey - action -
getEmailAddress
public java.lang.String getEmailAddress()
- Specified by:
getEmailAddress in interface TemporaryKey
- Returns:
- email address
- See Also:
TemporaryKey.getEmailAddress()
setEmailAddress
public void setEmailAddress(java.lang.String string)
- Specified by:
setEmailAddress in interface TemporaryKey
- See Also:
TemporaryKey.setEmailAddress(java.lang.String)
getIpAddress
public java.lang.String getIpAddress()
- Specified by:
getIpAddress in interface TemporaryKey
- Returns:
- The ip address the registration request came from
- See Also:
TemporaryKey.getIpAddress()
setIpAddress
public void setIpAddress(java.lang.String string)
- Specified by:
setIpAddress in interface TemporaryKey
- See Also:
TemporaryKey.setIpAddress(java.lang.String)
getCreationDate
public java.util.Date getCreationDate()
- Description copied from interface:
CreateInfo
- Get creation date.
- Specified by:
getCreationDate in interface CreateInfo- Specified by:
getCreationDate in interface TemporaryKey
- Returns:
- Date. The creation date
- See Also:
TemporaryKey.getCreationDate()
getLastModified
public java.util.Date getLastModified()
- See Also:
org.olat.registration.TemporaryKey#getLastModified()
getRegistrationKey
public java.lang.String getRegistrationKey()
- Specified by:
getRegistrationKey in interface TemporaryKey
- Returns:
- The key itself
- See Also:
TemporaryKey.getRegistrationKey()
setRegistrationKey
public void setRegistrationKey(java.lang.String string)
- Specified by:
setRegistrationKey in interface TemporaryKey
- See Also:
TemporaryKey.setRegistrationKey(java.lang.String)
isMailSent
public boolean isMailSent()
- Specified by:
isMailSent in interface TemporaryKey
- Returns:
- Wether email has been sent.
- See Also:
TemporaryKey.isMailSent()
setMailSent
public void setMailSent(boolean b)
- Specified by:
setMailSent in interface TemporaryKey
- See Also:
TemporaryKey.setMailSent(boolean)
getKey
public java.lang.Long getKey()
- Specified by:
getKey in interface TemporaryKey
- Returns:
- Object key.
- See Also:
TemporaryKey.getKey()
setKey
public void setKey(java.lang.Long long1)
- Specified by:
setKey in interface TemporaryKey
- See Also:
TemporaryKey.setKey(java.lang.Long)
setCreationDate
public void setCreationDate(java.util.Date date)
- Specified by:
setCreationDate in interface TemporaryKey
- See Also:
TemporaryKey.setCreationDate(java.util.Date)
setLastModified
public void setLastModified(java.util.Date date)
- See Also:
org.olat.registration.TemporaryKey#setLastModified(java.util.Date)
getRegAction
public java.lang.String getRegAction()
- Specified by:
getRegAction in interface TemporaryKey
- Returns:
- Registration action.
- See Also:
TemporaryKey.getRegAction()
setRegAction
public void setRegAction(java.lang.String string)
- Specified by:
setRegAction in interface TemporaryKey
- See Also:
TemporaryKey.setRegAction(java.lang.String)
getVersion
public int getVersion()
- Specified by:
getVersion in interface TemporaryKey
setVersion
public void setVersion(int version)
- Specified by:
setVersion in interface TemporaryKey