Control
ProfileManager is a stateless session bean used to access profile values. It coordinates successor searches and mapping properties to different datasources.
This control has been deprecated. Use the ProfileControl instead.
To provide a successor to the methods which take one, use the profile name of the successor profile. Each profile manager uses only one type as the successor type; for example, when specifying a successor to a UserProfileManager, it assumes the name is a group profile name. Property mapping is done through the deployment descriptor of the ProfileManager session bean. First, the default EntityPropertyManager to be used must have an ejb-ref named ejb/EntityPropertyManager. Any other EntityPropertyManager's to be used must also have ejb-refs. To map properties to a non-default EntityPropertyManager:
This control requires that the UserProfileManager EJB has been deployed to the application. The UserProfileManager EJB is contained in p13n_ejb.jar, and is automatically deployed as part of a Portal application.
Related Topics
Control, Control, Serializable
Method Summary |
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public long |
|
public boolean |
|
public |
|
public void |
|
public void |
|
public void |
|
Method Detail |
DEPRECATED Use ProfileControl.getUserProfileManager().createProfile(name)
public void createProfile(Create a profile record with the given name.StringprofileName)
throwsP13nControlException
P13nControlException
DEPRECATED use ProfileControl.deleteProfile(profileName)
public void deleteProfile(Remove a profileStringprofileName)
throwsP13nControlException
P13nControlException
DEPRECATED use ProfileControl.getAllProfileNames()
publicReturn a list of all profiles that this ProfileManager knows about.String[] getAllProfileNames()
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getJndiName()
publicRetrieve the jndi name used by this ProfileManager. A combination of pk string and jndi name is always unique between profiles.StringgetJndiName()
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getProfileName()
publicGet the name of a profile based on its unique identifier.StringgetProfileName(long profileId)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getProperties()
publicGet all properties for this profileEntityPropertyCachegetProperties(StringprofileName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertiesForKeys()
publicGet all properties for this profile and property set/name keys contained in the Set of propertyMapKeysEntityPropertyCachegetPropertiesForKeys(StringprofileName,SetpropertyMapKeys)
throwsP13nControlException
P13nControlException
Related Topics
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertiesInPropertySet()
publicGet all properties for this profile and named property setEntityPropertyCachegetPropertiesInPropertySet(StringprofileName,StringpropertySetName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getProperty()
publicGet a property from the profile. If the property is not found, the default value from the property set will be returned.ObjectgetProperty(StringprofileName,StringpropertySet,StringpropertyName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertyAsString()
publicGet a property from the profile, converted to a String If the property is not found, the default value from the property set will be returned.StringgetPropertyAsString(StringprofileName,StringpropertySet,StringpropertyName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertyAsStringTrySuccessor()
publicGet a property from the profile as a String. If the property is not found in the profile, search the profile named in the successor field. If the property is still not found, the default value from the property set will be returned.StringgetPropertyAsStringTrySuccessor(StringprofileName,StringpropertySet,StringpropertyName,Stringsuccessor)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertyNoDefault()
publicGet a property from the profile. If the property is not found in the profile, search the profile named in the successor field. This version will not return the default from the property set.ObjectgetPropertyNoDefault(StringprofileName,StringpropertySet,StringpropertyName,Stringsuccessor)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getPropertyTrySuccessor()
publicGet a property from the profile. If the property is not found in the profile, search the profile named in the successor field. If the property is still not found, the default value from the property set will be returned.ObjectgetPropertyTrySuccessor(StringprofileName,StringpropertySet,StringpropertyName,Stringsuccessor)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getSuccessor()
publicRetrieve the successor for the specified property set. For user and group profiles, this will always be a group name.StringgetSuccessor(StringprofileName,StringpropertySet)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().getUniqueId()
public long getUniqueId(Retrieve the unique identifier generated for this profile. The unique identifier is used by the EntityPropertyManager to optimize the foreign keys in the persistent storage.StringprofileName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().profileExists(profileName)
public boolean profileExists(Determine if a profile existsStringprofileName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().removeProperty()
publicRemove a property from the profileObjectremoveProperty(StringprofileName,StringpropertySet,StringpropertyName)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().removeSuccessor()
public void removeSuccessor(Remove the successor for the specified property set.StringprofileName,StringpropertySet)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().setProperty()
public void setProperty(Set a property in the profileStringprofileName,StringpropertySet,StringpropertyName,Objectvalue)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getUserProfileManager().setSuccessor()
public void setSuccessor(Set the successor for the specified property setStringprofileName,StringpropertySet,Stringsuccessor)
throwsP13nControlException
P13nControlException