| 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserProfileManager
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.
EntityPropertyCache| Method Summary | |
|---|---|
 void | 
createProfile(String profileName)
Deprecated Use ProfileControl.getUserProfileManager().createProfile(name)  | 
 void | 
deleteProfile(String profileName)
Deprecated use ProfileControl.deleteProfile(profileName)  | 
 String[] | 
getAllProfileNames()
Deprecated use ProfileControl.getAllProfileNames()  | 
 String | 
getJndiName()
Deprecated Use ProfileControl.getUserProfileManager().getJNDIName()  | 
 String | 
getProfileName(long profileId)
Deprecated Use ProfileControl.getUserProfileManager().getProfileName()  | 
 EntityPropertyCache | 
getProperties(String profileName)
Deprecated Use ProfileControl.getUserProfileManager().getProperties()  | 
 EntityPropertyCache | 
getPropertiesForKeys(String profileName,
                     Set propertyMapKeys)
Deprecated Use ProfileControl.getUserProfileManager().getPropertiesForKeys()  | 
 EntityPropertyCache | 
getPropertiesInPropertySet(String profileName,
                           String propertySetName)
Deprecated Use ProfileControl.getUserProfileManager().getPropertiesInPropertySet()  | 
 Object | 
getProperty(String profileName,
            String propertySet,
            String propertyName)
Deprecated Use ProfileControl.getUserProfileManager().getProperty()  | 
 String | 
getPropertyAsString(String profileName,
                    String propertySet,
                    String propertyName)
Deprecated Use ProfileControl.getUserProfileManager().getPropertyAsString()  | 
 String | 
getPropertyAsStringTrySuccessor(String profileName,
                                String propertySet,
                                String propertyName,
                                String successor)
Deprecated Use ProfileControl.getUserProfileManager().getPropertyAsStringTrySuccessor()  | 
 Object | 
getPropertyNoDefault(String profileName,
                     String propertySet,
                     String propertyName,
                     String successor)
Deprecated Use ProfileControl.getUserProfileManager().getPropertyNoDefault()  | 
 Object | 
getPropertyTrySuccessor(String profileName,
                        String propertySet,
                        String propertyName,
                        String successor)
Deprecated Use ProfileControl.getUserProfileManager().getPropertyTrySuccessor()  | 
 String | 
getSuccessor(String profileName,
             String propertySet)
Deprecated Use ProfileControl.getUserProfileManager().getSuccessor()  | 
 long | 
getUniqueId(String profileName)
Deprecated Use ProfileControl.getUserProfileManager().getUniqueId()  | 
 boolean | 
profileExists(String profileName)
Deprecated Use ProfileControl.getUserProfileManager().profileExists(profileName)  | 
 Object | 
removeProperty(String profileName,
               String propertySet,
               String propertyName)
Deprecated Use ProfileControl.getUserProfileManager().removeProperty()  | 
 void | 
removeSuccessor(String profileName,
                String propertySet)
Deprecated Use ProfileControl.getUserProfileManager().removeSuccessor()  | 
 void | 
setProperty(String profileName,
            String propertySet,
            String propertyName,
            Object value)
Deprecated Use ProfileControl.getUserProfileManager().setProperty()  | 
 void | 
setSuccessor(String profileName,
             String propertySet,
             String successor)
Deprecated Use ProfileControl.getUserProfileManager().setSuccessor()  | 
| Method Detail | 
|---|
boolean profileExists(String profileName)
                      throws P13nControlException
profileName - the name to look for
com.bea.p13n.controls.exceptions.P13nControlException; - if errors accessing UserProfileManager EJB
P13nControlException
void createProfile(String profileName)
                   throws P13nControlException
profileName - the name of the profile to create
com.bea.p13n.controls.exceptions.P13nControlException; - if errors creating profile
P13nControlException
void deleteProfile(String profileName)
                   throws P13nControlException
profileName - the name of the profile to remove
com.bea.p13n.controls.exceptions.P13nControlException; - if profile not found
P13nControlException
String[] getAllProfileNames()
                            throws P13nControlException
P13nControlException
String getJndiName()
                   throws P13nControlException
com.bea.p13n.controls.exceptions.P13nControlException; - if remote errors accessing
 UserProfileManager EJB
P13nControlException
String getProfileName(long profileId)
                      throws P13nControlException
profileId - the unique id to lookup
com.bea.p13n.controls.exceptions.P13nControlException; - if the profile does not exist
P13nControlException
EntityPropertyCache getProperties(String profileName)
                                  throws P13nControlException
profileName - the name of the profile for which properties will 
 be retrieved
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
EntityPropertyCache getPropertiesInPropertySet(String profileName,
                                               String propertySetName)
                                               throws P13nControlException
profileName - the name of the profile for which properties will 
 be retrievedpropertySetName - the name of the property set to be searched
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
EntityPropertyCache getPropertiesForKeys(String profileName,
                                         Set propertyMapKeys)
                                         throws P13nControlException
profileName - the name of the profile for which properties will 
 be retrievedpropertyMapKeys - the set of property set/name keys
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlExceptionPropertyMapKey
Object getProperty(String profileName,
                   String propertySet,
                   String propertyName)
                   throws P13nControlException
profileName - the name of the profile to readpropertySet - the property set containing the propertypropertyName - the name of the property to retrieve
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
Object getPropertyTrySuccessor(String profileName,
                               String propertySet,
                               String propertyName,
                               String successor)
                               throws P13nControlException
profileName - the name of the profile to readpropertySet - the property set containing the propertypropertyName - the name of the property to retrievesuccessor - the name of the successor whose profile will be searched
com.bea.p13n.controls.exceptions.P13nControlException; - if profile or successor is not valid
P13nControlException
String getPropertyAsString(String profileName,
                           String propertySet,
                           String propertyName)
                           throws P13nControlException
profileName - the name of the profile to readpropertySet - the property set containing the propertypropertyName - the name of the property to retrieve
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
String getPropertyAsStringTrySuccessor(String profileName,
                                       String propertySet,
                                       String propertyName,
                                       String successor)
                                       throws P13nControlException
profileName - the name of the profile to readpropertySet - the property set containing the propertypropertyName - the name of the property to retrievesuccessor - the name of the successor whose profile will be searched
com.bea.p13n.controls.exceptions.P13nControlException; - if profile or successor is not valid
P13nControlException
Object getPropertyNoDefault(String profileName,
                            String propertySet,
                            String propertyName,
                            String successor)
                            throws P13nControlException
profileName - the name of the profile to readpropertySet - the property set containing the propertypropertyName - the name of the property to retrievesuccessor - the name of the successor whose profile will be searched
com.bea.p13n.controls.exceptions.P13nControlException; - if profile or successor is not valid
P13nControlException
String getSuccessor(String profileName,
                    String propertySet)
                    throws P13nControlException
profileName - the name of the profile to readpropertySet - The name of the property set
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
long getUniqueId(String profileName)
                 throws P13nControlException
profileName - the name of the profile to read
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
Object removeProperty(String profileName,
                      String propertySet,
                      String propertyName)
                      throws P13nControlException
profileName - the name of the profile to modifypropertySet - the property set containing the propertypropertyName - the name of the property to retrieve
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
void removeSuccessor(String profileName,
                     String propertySet)
                     throws P13nControlException
profileName - the name of the profile to modifypropertySet - The name of the property set
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
void setProperty(String profileName,
                 String propertySet,
                 String propertyName,
                 Object value)
                 throws P13nControlException
profileName - the name of the profile to modifypropertySet - the property set containing the propertypropertyName - the name of the property to retrievevalue - the new value for the property
com.bea.p13n.controls.exceptions.P13nControlException; - if profile is not valid
P13nControlException
void setSuccessor(String profileName,
                  String propertySet,
                  String successor)
                  throws P13nControlException
profileName - the name of the profile to modifypropertySet - The name of the property setsuccessor - the name of the successor profile to set
com.bea.p13n.controls.exceptions.P13nControlException; - if profile or successor is not valid
P13nControlException
  | 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||