Package org.cyclos.entities.access
Interface OtpOwner
-
- All Superinterfaces:
HasNetwork,IEntity
- All Known Implementing Classes:
BasicUser,CustomWizardExecution,MobilePhone,Operator,User
public interface OtpOwner extends IEntity, HasNetwork
An entity which can own anOtp. Owners MUST have cascade ALL for the OTPs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetOtpOwnerPathName()Returns the path's name to the OTP owner entity.Set<Otp>getOtps()Returns the current OTPsBasicUsergetOtpUser()Returns the OTP owner user.default com.querydsl.core.types.dsl.EntityPathBase<? extends OtpOwner>resolveOwnerPath(com.querydsl.core.types.dsl.EntityPathBase<Otp> otp)Returns the path to the OTP owner entity.voidsetAsOwnerFor(Otp otp)Sets this owner as the owner of the given Otp entity-
Methods inherited from interface org.cyclos.entities.HasNetwork
getNetwork, isGlobal
-
-
-
-
Method Detail
-
getOtpOwnerPathName
String getOtpOwnerPathName()
Returns the path's name to the OTP owner entity.- See Also:
resolveOwnerPath(EntityPathBase)
-
getOtpUser
BasicUser getOtpUser()
Returns the OTP owner user.
-
resolveOwnerPath
default com.querydsl.core.types.dsl.EntityPathBase<? extends OtpOwner> resolveOwnerPath(com.querydsl.core.types.dsl.EntityPathBase<Otp> otp)
Returns the path to the OTP owner entity.
-
setAsOwnerFor
void setAsOwnerFor(Otp otp)
Sets this owner as the owner of the given Otp entity
-
-