|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wcps.people.property.AbstractPeoplePropertyLocator
public abstract class AbstractPeoplePropertyLocator
Field Summary | |
---|---|
protected IPeoplePropertyDAO |
dao |
protected static java.util.List<IPropertyName> |
propertyNames |
Constructor Summary | |
---|---|
AbstractPeoplePropertyLocator() |
Method Summary | |
---|---|
int |
count(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName setDefinitionName, PropertySetExpression expression) Returns the number of propertysets that satisfy the given expression . |
PagedList<IPropertySet> |
filter(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName setDefinitionName, PropertySetFilterContext filterContext) Once properties are loaded, we can get them |
java.util.List<IPropertyName> |
getPropertyNames() |
IPropertySetDefinition |
getPropertySetDefinition() |
void |
loadProperties(IContext context, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames) This loads properties for the user named in the IPropertySet.PropertyName().name() |
void |
removeProperties(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName name) Remove all the properties of all the propertysets in the given namespaceName and propertySetDefinitionName . |
void |
removeProperties(IContext context, IPropertySet propertySet, java.util.List<IPropertyName> propertyNames) Removes the properties identified by the property names in the given propertyNames list. |
void |
storeProperties(IContext context, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames) Stores the properties present in the given propertySet . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IPeoplePropertyDAO dao
protected static java.util.List<IPropertyName> propertyNames
Constructor Detail |
---|
public AbstractPeoplePropertyLocator()
Method Detail |
---|
public IPropertySetDefinition getPropertySetDefinition() throws java.lang.Exception
getPropertySetDefinition
in interface IPeoplePropertyLocator
java.lang.Exception
public java.util.List<IPropertyName> getPropertyNames()
getPropertyNames
in interface IPeoplePropertyLocator
public void loadProperties(IContext context, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames)
loadProperties
in interface IPropertyLocator
context
-propertySet
-propertySetDefinition
-propertyNames
-public PagedList<IPropertySet> filter(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName setDefinitionName, PropertySetFilterContext filterContext)
filter
in interface IPropertyLocator
context
-namespaceName
-filterContext
- @returnsetDefinitionName
- a propertysetdefinition name.public int count(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName setDefinitionName, PropertySetExpression expression)
IPropertyLocator
expression
.count
in interface IPropertyLocator
context
- a property service context.namespaceName
- a namespace name.setDefinitionName
- a propertysetdefinition name.expression
- a propertyset expression.expression
.public void storeProperties(IContext context, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames)
IPropertyLocator
propertySet
. The list of properties that this locator is responsible to store are in the propertyNames
list.storeProperties
in interface IPropertyLocator
context
- a property service context.propertySet
- a propertyset that contains properties to store.propertySetDefinition
- the propertysetdefinition that the given propertySet
belongs to.propertyNames
- a list of property names of the properties to store.public void removeProperties(IContext context, IPropertySet propertySet, java.util.List<IPropertyName> propertyNames)
IPropertyLocator
propertyNames
list. The given propertySet
contains propertyset name, propertysetdefinition name, namespace name and properties.removeProperties
in interface IPropertyLocator
context
- a property service context.propertySet
- a propertyset whose properties need to be removed.propertyNames
- a list of property names of the properties to remove.public void removeProperties(IContext context, INamespaceName namespaceName, IPropertySetDefinitionName name)
IPropertyLocator
namespaceName
and propertySetDefinitionName
.removeProperties
in interface IPropertyLocator
context
- a property service context.namespaceName
- a namespace name.name
- a propertysetdefinition name.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |