|
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 ProfileManagerControl
A custom control interface used to interact with ProfileManager.
| Method Summary | |
|---|---|
List<com.bea.portal.tools.ugm.Property> |
getProperties(String propertySetType, String propertySetName, String principal, Comparator comparator, ResourceContext context)Returns a List of Property objects in arbitrary order for the provided type, property set, and principal. |
List<com.bea.portal.tools.ugm.Property> |
getProperties(String propertySetType, String propertySetName, String principal, ResourceContext context)Returns a List of PropertySet objects. |
com.bea.portal.tools.ugm.Property |
getProperty(String propertySetType, String propertySetName, int propertyIndex, String principal, ResourceContext context)Returns a Property object at the given index in the property set. |
com.bea.portal.tools.ugm.Property |
getProperty(String propertySetType, String propertySetName, String propertyName, String principal, ResourceContext context)Returns a Property object with the gven name. |
List<PropertySet> |
getPropertySets(String propertySetType, ResourceContext context)Returns a List of PropertySet objects in arbitrary order, based on the provided type. |
Object |
getPropertyValue(String propertySetName, String propertyName, String principal, ResourceContext context)Returns an Object representing the value of the given property. |
List<Object> |
getPropertyValues(String propertySetName, String propertyName, String principal, ResourceContext context)Returns a List containing the values of the given property. |
List<PropertySet> |
getSortedPropertySets(String propertySetType, boolean order, ResourceContext context)Returns a List of PropertySet objects in default sorted order of PropertySet name, based on the provided type. |
List<PropertySet> |
getSortedPropertySets(String propertySetType, Comparator<PropertySet> comparator, ResourceContext context)Returns a List of PropertySet objects in custom sorted order, based on provided type and Comparator. |
void |
removePropertyValue(String propertySetName, String propertyName, String principal, ResourceContext context)Removes the value(s) for the given property. |
void |
removePropertyValues(String propertySetName, Collection propertyNames, String principal, ResourceContext context)Removes the value(s) for the given properties. |
void |
setPropertyValue(String propertySetName, com.bea.portal.tools.ugm.Property property, String principal, ResourceContext context)Sets the value for the given Property object. |
void |
setPropertyValues(String propertySetName, Collection properties, String principal, ResourceContext context)Sets the values for the given Collection of Property objects. |
| Method Detail |
|---|
List<PropertySet> getPropertySets(String propertySetType,
ResourceContext context)
throws ToolsException
List of PropertySet objects in arbitrary order, based on the provided type. Currently, the only two types are "USER" and "GROUP". Returns an empty list if no PropertySet objects are defined.propertySetType - The type of property sets to return. Must be "USER" or "GROUP"context - the resource contextList of PropertySet objectsToolsExceptionPropertySet
List<PropertySet> getSortedPropertySets(String propertySetType,
boolean order,
ResourceContext context)
throws ToolsException
List of PropertySet objects in default sorted order of PropertySet name, based on the provided type. Currently, the only two types are "USER" and "GROUP". Returns an empty list if no PropertySet objects are defined.propertySetType - The type of property sets to return. Must be "USER" or "GROUP"order - Flag to indicate ascending or descending order. Use true for ascending order, false for descending order.context - the resource contextList of sorted PropertySet objectsToolsExceptionPropertySet
List<PropertySet> getSortedPropertySets(String propertySetType,
Comparator<PropertySet> comparator,
ResourceContext context)
throws ToolsException
List of PropertySet objects in custom sorted order, based on provided type and Comparator. Currently, the only two types are "USER" and "GROUP". Returns an empty list if no PropertySet objects are defined.propertySetType - The type of property sets to return. Must be "USER" or "GROUP"comparator - The Comparator to use to sort withcontext - the resource contextList of sorted PropertySet objectsToolsExceptionPropertySet
com.bea.portal.tools.ugm.Property getProperty(String propertySetType,
String propertySetName,
String propertyName,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
Property object with the gven name. Currently, the only two types are "USER" and "GROUP". Returns null if the specified property does not exist.propertySetType - The type of the given property set. Must be "USER" or "GROUP"propertySetName - The name of the property set to use.propertyName - the name of the property in the setprincipal - The principal to use.context - the resource contextProperty - the requested Property, or nullToolsExceptionProfileNotFoundExceptionP13nControlExceptionProperty
com.bea.portal.tools.ugm.Property getProperty(String propertySetType,
String propertySetName,
int propertyIndex,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
Property object at the given index in the property set. Currently, the only two types are "USER" and "GROUP". Returns null if the specified property does not exist.propertySetType - The type of the given property set. Must be "USER" or "GROUP"propertySetName - The name of the property set to use.propertyIndex - The index of the property in the setprincipal - The principal to use.context - the resource contextProperty - the requested Property, or nullToolsExceptionProfileNotFoundExceptionP13nControlExceptionProperty
List<com.bea.portal.tools.ugm.Property> getProperties(String propertySetType,
String propertySetName,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
List of PropertySet objects. Currently, the only two types are "USER" and "GROUP". Returns an empty list if no PropertySet objects are defined.propertySetType - The type of property sets to return. Must be "USER" or "GROUP"propertySetName - The name of the property set to use.principal - The principal to use.context - the resource contextList PropertySet objectsToolsExceptionProfileNotFoundExceptionP13nControlExceptionPropertySet
List<com.bea.portal.tools.ugm.Property> getProperties(String propertySetType,
String propertySetName,
String principal,
Comparator comparator,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
List of Property objects in arbitrary order for the provided type, property set, and principal. Currently, the only two types are "USER" and "GROUP". Returns an empty list if no properties are defined for the given property set.propertySetType - The type of the given property set. Must be "USER" or "GROUP"propertySetName - The name of the property set to use.principal - The principal to use.comparator - If the value of a property is a list use the Comparator for the sort. If it is a list and a null comparator is used no sort will happen.context - the resource contextList of Property objectsToolsExceptionProfileNotFoundExceptionP13nControlExceptionProperty
Object getPropertyValue(String propertySetName,
String propertyName,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
Object representing the value of the given property. Will be one of the following types: java.lang.Boolean java.lang.Long java.lang.Double java.lang.String java.lang.Object java.sql.Timestamp If the property has multiple values, only the FIRST value will be returned. Use getPropertyValues() to retrieve all the values of a property. Returns null if no value is defined for the given property.propertySetName - The name of the property set to use.propertyName - The name of the property.principal - The principal to use.context - the resource contextObject representing the value of the given property.ToolsExceptionProfileNotFoundExceptionP13nControlException
List<Object> getPropertyValues(String propertySetName,
String propertyName,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
List containing the values of the given property. Will be a List consisting of 1 or more objects all of one of the following types: java.lang.Boolean java.lang.Long java.lang.Double java.lang.String java.lang.Object java.sql.Timestamp Returns an empty List</list> if no values are defined for the given property.ParameterspropertySetName - The name of the property set to use.propertyName - The name of the property.principal - The principal to use.context - the resource contextList containing the values of the given property.ToolsExceptionProfileNotFoundExceptionP13nControlException
void setPropertyValue(String propertySetName,
com.bea.portal.tools.ugm.Property property,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException,
PropertyValidationException
Property object.propertySetName - The name of the property set to set the property in.property - The Property objectprincipal - The principal to use.ToolsExceptionProfileNotFoundExceptionP13nControlExceptionPropertyValidationExceptionProperty
void setPropertyValues(String propertySetName,
Collection properties,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException,
PropertyValidationException
Collection of Property objects.propertySetName - The name of the property set to set the property in.properties - A Collection of Property objectsprincipal - The principal to use.context - the resource contextToolsExceptionProfileNotFoundExceptionP13nControlExceptionPropertyValidationExceptionProperty
void removePropertyValue(String propertySetName,
String propertyName,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
propertySetName - The name of the property set the given property is in.propertyName - The name of the property.principal - The principal to use.context - the resource contextToolsExceptionProfileNotFoundExceptionP13nControlExceptionProperty
void removePropertyValues(String propertySetName,
Collection propertyNames,
String principal,
ResourceContext context)
throws ToolsException,
ProfileNotFoundException,
P13nControlException
propertySetName - The name of the property set the given property is in.propertyNames - The names of the properties.principal - The principal to use.context - the resource contextToolsExceptionProfileNotFoundExceptionP13nControlExceptionProperty
|
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.