Package org.cyclos.entities.access
Class Otp
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.access.Otp
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
@Entity public class Otp extends NetworkedEntity implements DefinesNetwork
Stores single use passwords for confirming specific actions. Not to be confused with passwords with mode =PasswordMode.OTP.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Otp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()MobilePhonegetMobilePhone()NetworkgetNetwork()Returns the network this entity belongs toSendMediumgetSendMedium()StringgetSentTo()TrustedDevicegetTrustedDevice()OtpTypegetType()BasicUsergetUser()StringgetValue()CustomWizardExecutiongetWizardExecution()voidsetDate(Date date)voidsetMobilePhone(MobilePhone phone)voidsetNetwork(Network network)voidsetSendMedium(SendMedium sendMedium)voidsetSentTo(String sentTo)voidsetTrustedDevice(TrustedDevice trustedDevice)voidsetType(OtpType type)voidsetUser(BasicUser user)voidsetValue(String value)voidsetWizardExecution(CustomWizardExecution wizardExecution)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDate
public Date getDate()
-
getMobilePhone
public MobilePhone getMobilePhone()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getSendMedium
public SendMedium getSendMedium()
-
getSentTo
public String getSentTo()
-
getTrustedDevice
public TrustedDevice getTrustedDevice()
-
getType
public OtpType getType()
-
getUser
public BasicUser getUser()
-
getValue
public String getValue()
-
getWizardExecution
public CustomWizardExecution getWizardExecution()
-
setDate
public void setDate(Date date)
-
setMobilePhone
public void setMobilePhone(MobilePhone phone)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setSendMedium
public void setSendMedium(SendMedium sendMedium)
-
setSentTo
public void setSentTo(String sentTo)
-
setTrustedDevice
public void setTrustedDevice(TrustedDevice trustedDevice)
-
setType
public void setType(OtpType type)
-
setUser
public void setUser(BasicUser user)
-
setValue
public void setValue(String value)
-
setWizardExecution
public void setWizardExecution(CustomWizardExecution wizardExecution)
-
-