public class LocateAccountOwnerResult
extends java.lang.Object
| Constructor and Description |
|---|
LocateAccountOwnerResult(LocateUserResult locateUserResult) |
| Modifier and Type | Method and Description |
|---|---|
static LocateAccountOwnerResult |
empty() |
static LocateAccountOwnerResult |
external() |
UserAccount |
getAccount() |
Account |
getAccount(AccountType type)
Returns the located account, making sure it is of the expected type.
|
AccountOwner |
getAccountOwner()
|
BasicUser |
getBasicUser() |
InternalAccountOwner |
getInternalAccountOwner()
Returns the normalized internal account owner or null, that is:
SystemAccountOwner, User or null. |
InternalAccountOwner |
getInternalVO() |
LocateUserResult |
getLocateUserResult() |
Operator |
getOperator() |
PrincipalType |
getPrincipalType() |
User |
getUser() |
AccountOwner |
getVO() |
static LocateAccountOwnerResult |
instance(SingletonAccountOwner owner) |
boolean |
isEmpty() |
boolean |
isExternal() |
boolean |
isOperator() |
boolean |
isSystem() |
boolean |
isUser() |
static LocateAccountOwnerResult |
system() |
public LocateAccountOwnerResult(LocateUserResult locateUserResult)
public static LocateAccountOwnerResult empty()
public static LocateAccountOwnerResult external()
public static LocateAccountOwnerResult instance(SingletonAccountOwner owner)
public static LocateAccountOwnerResult system()
public UserAccount getAccount()
public Account getAccount(AccountType type)
public AccountOwner getAccountOwner()
public BasicUser getBasicUser()
public InternalAccountOwner getInternalAccountOwner()
SystemAccountOwner, User or null.public InternalAccountOwner getInternalVO()
public LocateUserResult getLocateUserResult()
public Operator getOperator()
public PrincipalType getPrincipalType()
public User getUser()
public AccountOwner getVO()
public boolean isEmpty()
public boolean isExternal()
public boolean isOperator()
public boolean isSystem()
public boolean isUser()