|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.osuser.DelegatingProfileProvider
public class DelegatingProfileProvider
Copyright 2007 Atlassian Software. All rights reserved.
| Constructor Summary | |
|---|---|
DelegatingProfileProvider()
|
|
| Method Summary | |
|---|---|
boolean |
create(java.lang.String name)
Create new Entity with given name using first delegate and return the result value. |
void |
flushCaches()
Flushes the caches on all providers. |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(java.lang.String name)
Creates new instance of PrioritizedCompositePropertySet that is instantiated with the same set of
profile provides that this class holds. |
boolean |
handles(java.lang.String name)
Checks if the delegated profile providers handle the profile with given name. |
boolean |
init(java.util.Properties props)
Initializes this provider. |
java.util.List |
list()
Returns List of names (Strings) of all Entities that can be accessed by this UserProvider. |
boolean |
load(java.lang.String name,
com.opensymphony.user.Entity.Accessor accessor)
Load Entity using the first delegate profile provider. |
boolean |
remove(java.lang.String name)
Remove Entity with given name using the first delegate profile provider. |
boolean |
store(java.lang.String name,
com.opensymphony.user.Entity.Accessor accessor)
Stores changes to Entity using the first delegate profile provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingProfileProvider()
| Method Detail |
|---|
public com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String name)
PrioritizedCompositePropertySet that is instantiated with the same set of
profile provides that this class holds.
getPropertySet in interface com.opensymphony.user.provider.ProfileProvidername - name
public void flushCaches()
flushCaches in interface com.opensymphony.user.provider.UserProviderpublic boolean init(java.util.Properties props)
ClassNotFoundException, IllegalAccessException or InstantiationException. Any of these
exceptions will cause a wrapping RuntimeException to be thrown.
init in interface com.opensymphony.user.provider.UserProviderprops - initialization properties
public boolean create(java.lang.String name)
create in interface com.opensymphony.user.provider.UserProviderpublic boolean handles(java.lang.String name)
handles in interface com.opensymphony.user.provider.UserProvidername - profile name
public java.util.List list()
list in interface com.opensymphony.user.provider.UserProvider
public boolean load(java.lang.String name,
com.opensymphony.user.Entity.Accessor accessor)
load in interface com.opensymphony.user.provider.UserProviderpublic boolean remove(java.lang.String name)
remove in interface com.opensymphony.user.provider.UserProvider
public boolean store(java.lang.String name,
com.opensymphony.user.Entity.Accessor accessor)
store in interface com.opensymphony.user.provider.UserProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||