Skip navigation links
oracle.wcps.people.property
Class AbstractPeoplePropertyDAO
java.lang.Object
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.
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 |
personResource
protected PersonResource personResource
expressionValidator
protected oracle.wcps.people.property.AbstractPeoplePropertyDAO.ExpressionValidator expressionValidator
AbstractPeoplePropertyDAO
public AbstractPeoplePropertyDAO()
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
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.