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 AbstractPeoplePropertyDAO

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

All Implemented Interfaces:
IPeoplePropertyDAO
Direct Known Subclasses:
PeoplePropertyDAO

public abstract class AbstractPeoplePropertyDAO
extends java.lang.Object
implements IPeoplePropertyDAO

Abstract class to provide framework for Person resource and PropertyService integration.


Field Summary
protected  oracle.wcps.people.property.AbstractPeoplePropertyDAO.ExpressionValidator expressionValidator
           
protected  PersonResource personResource
           

 

Constructor Summary
AbstractPeoplePropertyDAO()
           

 

Method Summary
protected abstract  void addProperty(java.lang.Object o, IPropertyName pname, IPropertySet propertySet, IPropertyMapping mapping)
           
protected  void addValuesToBooleanArray(IPropertyName pname, IPropertySet propertySet, java.lang.Boolean[] values)
           
protected  void addValuesToStringArray(IPropertyName pname, IPropertySet propertySet, java.lang.String[] values)
           
protected  void buildListProperty(java.lang.Object o, IPropertyDefinition pdef, IPropertyName pname, IPropertySet propertySet)
           
protected  void buildProperty(java.lang.Object o, IPropertyName pname, IPropertySet propertySet)
           
 PagedList<IPropertySet> filterPropertySet(IContext context, INamespaceName namespaceName, PropertySetFilterContext filterContext)
           
protected  java.lang.String getIdFromQueryString(java.lang.String queryString)
           
abstract  IPropertySetDefinition getPropertySetDefinition()
           
protected  java.lang.String getQuery(PropertySetFilterContext filterContext)
          Build a query in the form of "loginid:equals:carl" from filterContext.
protected  java.lang.Object[] getValues(IPropertyName propertyName, java.util.List<?> pvs)
           
protected  void loadProperties(Person person, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames)
           
 void loadPropertiesForMe(IContext context, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames)
           
 void loadPropertiesForUser(IContext context, java.lang.String userId, IPropertySet propertySet, IPropertySetDefinition propertySetDefinition, java.util.List<IPropertyName> propertyNames)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

personResource

protected PersonResource personResource

expressionValidator

protected oracle.wcps.people.property.AbstractPeoplePropertyDAO.ExpressionValidator expressionValidator

Constructor Detail

AbstractPeoplePropertyDAO

public AbstractPeoplePropertyDAO()

Method Detail

addProperty

protected abstract void addProperty(java.lang.Object o,
                                    IPropertyName pname,
                                    IPropertySet propertySet,
                                    IPropertyMapping mapping)

getPropertySetDefinition

public abstract IPropertySetDefinition getPropertySetDefinition()
Specified by:
getPropertySetDefinition in interface IPeoplePropertyDAO

loadPropertiesForMe

public void loadPropertiesForMe(IContext context,
                                IPropertySet propertySet,
                                IPropertySetDefinition propertySetDefinition,
                                java.util.List<IPropertyName> propertyNames)
Specified by:
loadPropertiesForMe in interface IPeoplePropertyDAO

loadPropertiesForUser

public void loadPropertiesForUser(IContext context,
                                  java.lang.String userId,
                                  IPropertySet propertySet,
                                  IPropertySetDefinition propertySetDefinition,
                                  java.util.List<IPropertyName> propertyNames)
Specified by:
loadPropertiesForUser in interface IPeoplePropertyDAO

filterPropertySet

public PagedList<IPropertySet> filterPropertySet(IContext context,
                                                 INamespaceName namespaceName,
                                                 PropertySetFilterContext filterContext)
Specified by:
filterPropertySet in interface IPeoplePropertyDAO
Throws:
java.lang.Exception

loadProperties

protected void loadProperties(Person person,
                              IPropertySet propertySet,
                              IPropertySetDefinition propertySetDefinition,
                              java.util.List<IPropertyName> propertyNames)

buildProperty

protected void buildProperty(java.lang.Object o,
                             IPropertyName pname,
                             IPropertySet propertySet)

buildListProperty

protected void buildListProperty(java.lang.Object o,
                                 IPropertyDefinition pdef,
                                 IPropertyName pname,
                                 IPropertySet propertySet)

getIdFromQueryString

protected java.lang.String getIdFromQueryString(java.lang.String queryString)

getQuery

protected java.lang.String getQuery(PropertySetFilterContext filterContext)
Build a query in the form of "loginid:equals:carl" from filterContext.
Parameters:
filterContext -
Returns:

addValuesToStringArray

protected void addValuesToStringArray(IPropertyName pname,
                                      IPropertySet propertySet,
                                      java.lang.String[] values)

addValuesToBooleanArray

protected void addValuesToBooleanArray(IPropertyName pname,
                                       IPropertySet propertySet,
                                       java.lang.Boolean[] values)

getValues

protected java.lang.Object[] getValues(IPropertyName propertyName,
                                       java.util.List<?> pvs)

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.