public class RemoteUserAuthorityImpl extends java.lang.Object implements RemoteUserAuthority
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
ANY_ACCOUNT, GROUP_ACCOUNT, LOGIN_ACCOUNT, PRIVILEGE_ACCOUNT
Modifier and Type | Method and Description |
---|---|
static RemoteUserAuthority |
createProxy(UserAuthority pUserAuthority) |
Persona |
getPersona(java.lang.Object pId)
Returns a persona for the given ID object.
|
Persona[] |
getPersonae(int pAccountType)
Returns all personae of a given type if the remote user authority
also implements the
AccountManager interface. |
Persona[] |
getPersonae(java.lang.Object[] pIds)
Returns a set of personae from a set of IDs.
|
java.lang.String |
getUserAuthorityName()
Returns the name of the user authority.
|
public static RemoteUserAuthority createProxy(UserAuthority pUserAuthority) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getUserAuthorityName()
getUserAuthorityName
in interface RemoteUserAuthority
public Persona getPersona(java.lang.Object pId)
getPersona
in interface RemoteUserAuthority
public Persona[] getPersonae(java.lang.Object[] pIds)
getPersonae
in interface RemoteUserAuthority
public Persona[] getPersonae(int pAccountType)
AccountManager
interface. If it
does not, this will return null.
This method is intended to be used by the
ClientUserAuthority.loadPersonae()
method to preload
the client-side persona cache as a performance enhancement.
getPersonae
in interface RemoteUserAuthority
AccountManager
,
AccountTypes