|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.user.provider.file.FileProfileProvider
Following properties are required:
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
protected com.opensymphony.user.provider.file.FilePropertySetCache |
propertySetCache
|
| Constructor Summary | |
FileProfileProvider()
|
|
| Method Summary | |
boolean |
create(java.lang.String name)
Create new Entity with given name. |
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. |
java.util.List |
list()
Returns List of names (Strings) of all Entities that can be accessed by this UserProvider If this UserProvider cannot retrieve a list of names, null is to be returned. |
boolean |
load(java.lang.String name,
Entity.Accessor accessor)
Load Entity. |
boolean |
remove(java.lang.String name)
Remove Entity with given name. |
boolean |
store(java.lang.String name,
Entity.Accessor accessor)
Stores changes to Entity. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final org.apache.commons.logging.Log log
protected com.opensymphony.user.provider.file.FilePropertySetCache propertySetCache
| Constructor Detail |
public FileProfileProvider()
| Method Detail |
public com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String name)
ProfileProvider
getPropertySet in interface ProfileProviderpublic boolean create(java.lang.String name)
UserProvider
create in interface UserProviderpublic void flushCaches()
UserProvider
flushCaches in interface UserProviderpublic boolean handles(java.lang.String name)
UserProvider
handles in interface UserProviderpublic boolean init(java.util.Properties properties)
UserProvider
init in interface UserProviderproperties - Extra properties passed across by UserManager.public java.util.List list()
UserProvider
list in interface UserProvider
public boolean load(java.lang.String name,
Entity.Accessor accessor)
UserProvider
load in interface UserProviderpublic boolean remove(java.lang.String name)
UserProvider
remove in interface UserProvider
public boolean store(java.lang.String name,
Entity.Accessor accessor)
UserProvider
store in interface UserProvider
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||