|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface
public interface GroupProfileManager
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:
If a property set is mapped to an EntityPropertyManager, and another entry maps one property of that property set to a different EntityPropertyManager, the single property mapping will override the property set mapping. In the previous examples, the LdapPropertyManager would be used for all properties in the Ldap property set except for "fax", which would be retrieved from the CustomerPropertyManager.
This control requires that the GroupProfileManager EJB has been deployed to the application. The GroupProfileManager EJB is contained in p13n_ejb.jar, and is automatically deployed as part of a Portal application.
Security requirements: The caller must be in the role of "PortalSystemAdministrator" to invoke these methods
EntityPropertyCache
Method Summary | |
---|---|
void |
createProfile(String profileName) Deprecated Use ProfileControl.getGroupProfileManager().createProfile(name) |
void |
deleteProfile(String profileName) Deprecated Use ProfileControl.getGroupProfileManager().deleteProfile(profileName) |
String[] |
getAllProfileNames() Deprecated Use ProfileControl.getGroupProfileManager().getAllProfileNames() |
String |
getJndiName() Deprecated Use ProfileControl.getGroupProfileManager().getJNDIName() |
String |
getProfileName(long profileId) Deprecated Use ProfileControl.getGroupProfileManager().getProfileName(profileId) |
EntityPropertyCache |
getProperties(String profileName) Deprecated Use ProfileControl.getGroupProfileManager().getProperties(profileName) |
EntityPropertyCache |
getPropertiesForKeys(String profileName, Set propertyMapKeys) Deprecated Use ProfileControl.getGroupProfileManager().getPropertiesForKeys(profileName, propertyMapKeys) |
EntityPropertyCache |
getPropertiesInPropertySet(String profileName, String propertySetName) Deprecated Use ProfileControl.getGroupProfileManager().getPropertiesInPropertySet(profileName, propertySetName) |
Object |
getProperty(String profileName, String propertySet, String propertyName) Deprecated Use ProfileControl.getGroupProfileManager().getProperty(profileName, propertySet, propertyName) |
String |
getPropertyAsString(String profileName, String propertySet, String propertyName) Deprecated Use ProfileControl.getGroupProfileManager().getPropertyAsString(profileName, propertySet, propertyName) |
String |
getPropertyAsStringTrySuccessor(String profileName, String propertySet, String propertyName, String successor) Deprecated Use ProfileControl.getGroupProfileManager().getPropertyAsStringTrySuccessor() |
Object |
getPropertyNoDefault(String profileName, String propertySet, String propertyName, String successor) Deprecated Use ProfileControl.getGroupProfileManager().getPropertyNoDefault() |
Object |
getPropertyTrySuccessor(String profileName, String propertySet, String propertyName, String successor) Deprecated Use ProfileControl.getGroupProfileManager().getPropertyTrySuccessor() |
String |
getSuccessor(String profileName, String propertySet) Deprecated Use ProfileControl.getGroupProfileManager().getSuccessor(profileName, propertySet) |
long |
getUniqueId(String profileName) Deprecated Use ProfileControl.getGroupProfileManager().getUniqueId() |
boolean |
profileExists(String profileName) Deprecated Use ProfileControl.getGroupProfileManager().profileExists(name) |
Object |
removeProperty(String profileName, String propertySet, String propertyName) Deprecated Use ProfileControl.getGroupProfileManager().removeProperty() |
void |
removeSuccessor(String profileName, String propertySet) Deprecated Use ProfileControl.getGroupProfileManager().removeSuccessor() |
void |
setProperty(String profileName, String propertySet, String propertyName, Object value) Deprecated Use ProfileControl.getGroupProfileManager().setProperty() |
void |
setSuccessor(String profileName, String propertySet, String successor) Deprecated Use ProfileControl.getGroupProfileManager().setSuccessor() |
Method Detail |
---|
boolean profileExists(String profileName) throws P13nControlException
profileName
- the name to look forP13nControlException
- if errors accessing GroupProfileManager EJBvoid createProfile(String profileName) throws P13nControlException
profileName
- the name of the profile to createP13nControlException
- if errors creating profilevoid deleteProfile(String profileName) throws P13nControlException
profileName
- the name of the profile to removeP13nControlException
- if profile not found, or caller is not in allowed roleString[] getAllProfileNames() throws P13nControlException
P13nControlException
- if remote errors accessing GroupProfileManager EJBString getJndiName() throws P13nControlException
P13nControlException
- if remote errors accessing GroupProfileManager EJBString getProfileName(long profileId) throws P13nControlException
profileId
- the unique id to lookupP13nControlException
- if the profile does not existEntityPropertyCache getProperties(String profileName) throws P13nControlException
profileName
- the name of the profile for which properties will be retrievedP13nControlException
- if profile is not validEntityPropertyCache 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 searchedP13nControlException
- if profile is not validEntityPropertyCache 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 keysP13nControlException
- if profile is not validPropertyMapKey
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 retrieveP13nControlException
- if profile is not validObject 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 searchedP13nControlException
- if profile or successor is not validString 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 retrieveP13nControlException
- if profile is not validString 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 searchedP13nControlException
- if profile or successor is not validObject 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 searchedP13nControlException
- if profile or successor is not validString getSuccessor(String profileName, String propertySet) throws P13nControlException
profileName
- the name of the profile to readpropertySet
- The name of the property setP13nControlException
- if profile is not validlong getUniqueId(String profileName) throws P13nControlException
profileName
- the name of the profile to readP13nControlException
- if profile is not validObject 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 retrieveP13nControlException
- if profile is not valid or caller is not in allowed rolevoid removeSuccessor(String profileName, String propertySet) throws P13nControlException
profileName
- the name of the profile to modifypropertySet
- The name of the property setP13nControlException
- if profile is not valid or caller is not in allowed rolevoid 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 propertyP13nControlException
- if profile is not valid or caller is not in allowed rolevoid 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 setP13nControlException
- if profile or successor is not valid or caller is not in allowed role
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.