public class LocateUserResult
extends java.lang.Object
implements org.cyclos.impl.access.DelegatingMutableUserPrincipal
| Constructor and Description |
|---|
LocateUserResult(BasicUser basicUser) |
LocateUserResult(PrincipalType principalType,
BasicUser basicUser,
UserLocatorVO locator) |
LocateUserResult(org.cyclos.impl.access.UserPrincipal userPrincipal) |
LocateUserResult(org.cyclos.impl.access.UserPrincipal userPrincipal,
UserLocatorVO locator) |
| Modifier and Type | Method and Description |
|---|---|
AccessClient |
getAccessClient() |
UserAccount |
getAccount() |
BasicUser |
getBasicUser() |
UserCustomFieldValue |
getCustomFieldValue() |
UserLocatorVO |
getLocator() |
MobilePhone |
getMobilePhone() |
Pin |
getPin() |
java.lang.String |
getPrincipal() |
PrincipalType |
getPrincipalType() |
Token |
getToken() |
TrustedDevice |
getTrustedDevice() |
User |
getUser() |
void |
initFrom(org.cyclos.impl.access.UserPrincipal other) |
void |
reAttach(javax.persistence.EntityManager em)
Attaches the entities if they've been detached from the context.
|
void |
setAccessClient(AccessClient accessClient) |
void |
setAccount(UserAccount userAccount) |
void |
setBasicUser(BasicUser basicUser) |
void |
setCustomFieldValue(UserCustomFieldValue customFieldValue) |
void |
setMobilePhone(MobilePhone mobilePhone) |
void |
setPrincipalType(PrincipalType principalType) |
void |
setToken(Token token) |
void |
setTrustedDevice(TrustedDevice trustedDevice) |
public LocateUserResult(BasicUser basicUser)
public LocateUserResult(PrincipalType principalType, BasicUser basicUser, UserLocatorVO locator)
public LocateUserResult(org.cyclos.impl.access.UserPrincipal userPrincipal)
public LocateUserResult(org.cyclos.impl.access.UserPrincipal userPrincipal,
UserLocatorVO locator)
public AccessClient getAccessClient()
getAccessClient in interface org.cyclos.impl.access.UserPrincipalpublic UserAccount getAccount()
getAccount in interface org.cyclos.impl.access.UserPrincipalpublic BasicUser getBasicUser()
getBasicUser in interface org.cyclos.impl.access.UserPrincipalpublic UserCustomFieldValue getCustomFieldValue()
getCustomFieldValue in interface org.cyclos.impl.access.UserPrincipalpublic UserLocatorVO getLocator()
public MobilePhone getMobilePhone()
getMobilePhone in interface org.cyclos.impl.access.UserPrincipalpublic Pin getPin()
public java.lang.String getPrincipal()
getPrincipal in interface org.cyclos.impl.access.DelegatingUserPrincipalgetPrincipal in interface org.cyclos.impl.access.UserPrincipalpublic PrincipalType getPrincipalType()
getPrincipalType in interface org.cyclos.impl.access.UserPrincipalpublic Token getToken()
getToken in interface org.cyclos.impl.access.UserPrincipalpublic TrustedDevice getTrustedDevice()
getTrustedDevice in interface org.cyclos.impl.access.UserPrincipalpublic User getUser()
public void initFrom(org.cyclos.impl.access.UserPrincipal other)
initFrom in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void reAttach(javax.persistence.EntityManager em)
public void setAccessClient(AccessClient accessClient)
setAccessClient in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setAccount(UserAccount userAccount)
setAccount in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setBasicUser(BasicUser basicUser)
setBasicUser in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setCustomFieldValue(UserCustomFieldValue customFieldValue)
setCustomFieldValue in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setMobilePhone(MobilePhone mobilePhone)
setMobilePhone in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setPrincipalType(PrincipalType principalType)
setPrincipalType in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setToken(Token token)
setToken in interface org.cyclos.impl.access.DelegatingMutableUserPrincipalpublic void setTrustedDevice(TrustedDevice trustedDevice)
setTrustedDevice in interface org.cyclos.impl.access.DelegatingMutableUserPrincipal