|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.p13n.usermgmt.profile.ProfileFactory
Factory class for retrieving user and group profiles. This will return an implementation of ProfileWrapper, which is a lightweight object that knows how to access the correct ProfileManager session beans based on the profile identity it is initialized with.
ProfileWrapper| Constructor Summary | |
ProfileFactory()
|
|
| Method Summary | |
static AnonymousProfileWrapper |
createAnonymousProfile()
Create a new AnonymousProfileWrapper with no possibility of being tracked. |
static ProfileIdentity |
createProfileIdentity(String username,
String groupname)
Create a ProfileIdentity object. |
static PhantomProfileWrapper |
getPhantomProfile(ProfileIdentity id)
Create a ProfileWrapper for the given ProfileIdentity. |
static PhantomProfileWrapper |
getPhantomProfile(String username,
String groupname)
Create a PhantomProfileWrapper for the given username and groupname. |
static ProfileWrapper |
getProfile(ProfileIdentity id)
Create a ProfileWrapper for the given ProfileIdentity. |
static ProfileWrapper |
getProfile(ProfileIdentity id,
boolean validate)
Create a ProfileWrapper for the given ProfileIdentity. |
static ProfileWrapper |
getProfile(String username,
String groupname)
Create a ProfileWrapper for the given username and groupname. |
static ProfileWrapper |
getProfile(String username,
String groupname,
boolean validate)
Create a ProfileWrapper for the given username and groupname. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProfileFactory()
| Method Detail |
public static AnonymousProfileWrapper createAnonymousProfile()
public static ProfileIdentity createProfileIdentity(String username,
String groupname)
username - the username of the profilegroupname - the groupname of the profile
public static PhantomProfileWrapper getPhantomProfile(ProfileIdentity id)
PhantomProfileWrapper differs from a normal
ProfileWrapper in that the user and/or group
do not need to exist to use the wrapper.
id - the profile identity containg user/group name
public static PhantomProfileWrapper getPhantomProfile(String username,
String groupname)
PhantomProfileWrapper differs from a normal
ProfileWrapper in that the user and/or group
do not need to exist to use the wrapper.
username - the username of the profilegroupname - the groupname of the profile
public static ProfileWrapper getProfile(ProfileIdentity id)
throws RemoteException,
ProfileNotFoundException
id - the profile identity containg user/group name
ProfileNotFoundException - if the given identity(ies) do not exist
RemoteException
public static ProfileWrapper getProfile(ProfileIdentity id,
boolean validate)
throws RemoteException,
ProfileNotFoundException
id - the profile identity containg user/group namevalidate - if true, validate the ProfileIdentity by confirming entity exists
ProfileNotFoundException - if the given identity(ies) do not exist
RemoteException
public static ProfileWrapper getProfile(String username,
String groupname)
throws RemoteException,
ProfileNotFoundException
username - the username of the profilegroupname - the groupname of the profile
ProfileNotFoundException - if the given identity(ies) do not exist
RemoteException
public static ProfileWrapper getProfile(String username,
String groupname,
boolean validate)
throws RemoteException,
ProfileNotFoundException
username - the username of the profilegroupname - the groupname of the profilevalidate - if true, validate the ProfileIdentity by confirming entity exists
ProfileNotFoundException - if the given identity(ies) do not exist
RemoteException
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||