@Entity public class Principal extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Principal() |
public static Principal createUser(Site site, String loginName, String pwHash, String fullName, String language, int sessionQuota)
public Long getId()
public void setId(Long id)
public Site getSite()
public void setSite(Site site)
public boolean isVoucher()
public void setVoucher(boolean voucher)
public String getLoginName()
public void setLoginName(String loginName)
public String getPwHash()
public void setPwHash(String pwHash)
public Long getPwValidUntil()
public void setPwValidUntil(Long pwValidUntil)
public String getFullName()
public void setFullName(String fullName)
public String getLanguage()
public void setLanguage(String language)
public boolean isBlocked()
public void setBlocked(boolean blocked)
public boolean isTermsAccepted()
public void setTermsAccepted(boolean termsAccepted)
public Short getMaxDevices()
public void setMaxDevices(Short maxDevices)
public Long getValidFrom()
public void setValidFrom(Long validFrom)
public Long getValidUntil()
public void setValidUntil(Long validUntil)
public Long getValidatedAt()
public void setValidatedAt(Long validatedAt)
public String getEmail()
public void setEmail(String email)
public Admin getValidatedBy()
public void setValidatedBy(Admin validatedBy)
public Long getTimeQuota()
public void setTimeQuota(Long timeQuota)
public int getSessionQuota()
public void setSessionQuota(int sessionQuota)
public RegistrationNotification getRegistration()
public void setRegistration(RegistrationNotification registration)
public boolean isEnabled()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.