Class RegistrationToken
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.token.Token
-
- de.terrestris.shoguncore.model.token.UserToken
-
- de.terrestris.shoguncore.model.token.RegistrationToken
-
- All Implemented Interfaces:
Serializable
@Entity public class RegistrationToken extends UserToken
- Author:
- Daniel Koch, Nils Bühner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistrationToken()Default constructorRegistrationToken(User user)Constructor that uses the default expiration time.RegistrationToken(User user, int expirationInMinutes)Constructor that uses the passed values
-
Method Summary
-
Methods inherited from class de.terrestris.shoguncore.model.token.UserToken
equals, getUser, hashCode
-
Methods inherited from class de.terrestris.shoguncore.model.token.Token
expiresWithin, getExpirationDate, getToken
-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Constructor Detail
-
RegistrationToken
public RegistrationToken()
Default constructor
-
RegistrationToken
public RegistrationToken(User user)
Constructor that uses the default expiration time.
-
RegistrationToken
public RegistrationToken(User user, int expirationInMinutes)
Constructor that uses the passed values
-
-