Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.people.property
Class AbstractPeoplePropertyLocator

java.lang.Object
  extended by oracle.wcps.people.property.AbstractPeoplePropertyLocator

All Implemented Interfaces:
IPeoplePropertyLocator, IPropertyLocator
Direct Known Subclasses:
PeoplePropertyLocator

public abstract class AbstractPeoplePropertyLocator
extends java.lang.Object
implements IPeoplePropertyLocator

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

dao

protected IPeoplePropertyDAO dao

propertyNames

protected static java.util.List<IPropertyName> propertyNames

Constructor Detail

AbstractPeoplePropertyLocator

public AbstractPeoplePropertyLocator()

Method Detail

getPropertySetDefinition

public IPropertySetDefinition getPropertySetDefinition()
                                                throws java.lang.Exception
Specified by:
getPropertySetDefinition in interface IPeoplePropertyLocator
Throws:
java.lang.Exception

getPropertyNames

public java.util.List<IPropertyName> getPropertyNames()
Specified by:
getPropertyNames in interface IPeoplePropertyLocator

loadProperties

public 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()
Specified by:
loadProperties in interface IPropertyLocator
Parameters:
context -
propertySet -
propertySetDefinition -
propertyNames -

filter

public PagedList<IPropertySet> filter(IContext context,
                                      INamespaceName namespaceName,
                                      IPropertySetDefinitionName setDefinitionName,
                                      PropertySetFilterContext filterContext)
Once properties are loaded, we can get them
Specified by:
filter in interface IPropertyLocator
Parameters:
context -
namespaceName -
filterContext - @return
setDefinitionName - a propertysetdefinition name.
Returns:
A paged list of propertysets that satisfies the given filter context.

count

public int count(IContext context,
                 INamespaceName namespaceName,
                 IPropertySetDefinitionName setDefinitionName,
                 PropertySetExpression expression)
Description copied from interface: IPropertyLocator
Returns the number of propertysets that satisfy the given expression.
Specified by:
count in interface IPropertyLocator
Parameters:
context - a property service context.
namespaceName - a namespace name.
setDefinitionName - a propertysetdefinition name.
expression - a propertyset expression.
Returns:
an integer indicating the number of the propertysets that satisfy the given expression.

storeProperties

public void storeProperties(IContext context,
                            IPropertySet propertySet,
                            IPropertySetDefinition propertySetDefinition,
                            java.util.List<IPropertyName> propertyNames)
Description copied from interface: IPropertyLocator
Stores the properties present in the given propertySet. The list of properties that this locator is responsible to store are in the propertyNames list.
Specified by:
storeProperties in interface IPropertyLocator
Parameters:
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.

removeProperties

public void removeProperties(IContext context,
                             IPropertySet propertySet,
                             java.util.List<IPropertyName> propertyNames)
Description copied from interface: IPropertyLocator
Removes the properties identified by the property names in the given propertyNames list. The given propertySet contains propertyset name, propertysetdefinition name, namespace name and properties.
Specified by:
removeProperties in interface IPropertyLocator
Parameters:
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.

removeProperties

public void removeProperties(IContext context,
                             INamespaceName namespaceName,
                             IPropertySetDefinitionName name)
Description copied from interface: IPropertyLocator
Remove all the properties of all the propertysets in the given namespaceName and propertySetDefinitionName.
Specified by:
removeProperties in interface IPropertyLocator
Parameters:
context - a property service context.
namespaceName - a namespace name.
name - a propertysetdefinition name.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.