com.opensymphony.user.provider.ofbiz
Class OFBizProfileProvider
java.lang.Object
com.opensymphony.user.provider.ofbiz.OFBizAbstractProvider
com.opensymphony.user.provider.ofbiz.OFBizProfileProvider
- All Implemented Interfaces:
- ProfileProvider, java.io.Serializable, UserProvider
- public class OFBizProfileProvider
- extends OFBizAbstractProvider
- implements ProfileProvider
Takes same properties as OFBizAbstractProvider with one addition:
propertySetEntity - the name of the PropertySet that is looked up (default "OSUser")
- Author:
- Victor Salaman, Mike Cannon-Brookes
$Revision: 1.1.1.1 $
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.Map |
psCache
|
protected java.lang.String |
psEntity
|
|
Method Summary |
void |
flushCaches()
Flush the providers caches - if it is caching. |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(java.lang.String name)
Retrieve profile for User with given name. |
boolean |
handles(java.lang.String name)
Determine whether this UserProvider implementation is responsible for handling
this Entity. |
boolean |
init(java.util.Properties properties)
Called by UserManager before any other method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
psCache
protected java.util.Map psCache
psEntity
protected java.lang.String psEntity
OFBizProfileProvider
public OFBizProfileProvider()
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String name)
- Description copied from interface:
ProfileProvider
- Retrieve profile for User with given name.
- Specified by:
getPropertySet in interface ProfileProvider
flushCaches
public void flushCaches()
- Description copied from interface:
UserProvider
- Flush the providers caches - if it is caching.
Providers may implement their own caching strategies. This method merely indicates to the
provider that it should flush it's caches now.
- Specified by:
flushCaches in interface UserProvider- Overrides:
flushCaches in class OFBizAbstractProvider
handles
public boolean handles(java.lang.String name)
- Description copied from interface:
UserProvider
- Determine whether this UserProvider implementation is responsible for handling
this Entity.
- Specified by:
handles in interface UserProvider
init
public boolean init(java.util.Properties properties)
- Description copied from interface:
UserProvider
- Called by UserManager before any other method.
Allows for UserProvider specific initialization.
- Specified by:
init in interface UserProvider- Overrides:
init in class OFBizAbstractProvider