|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.integration.osuser.DelegatingProfileProvider
public class DelegatingProfileProvider
Copyright 2007 Atlassian Software. All rights reserved.
Constructor Summary | |
---|---|
DelegatingProfileProvider()
|
Method Summary | |
---|---|
boolean |
create(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(String name)
Creates new instance of PrioritizedCompositePropertySet that is instantiated with the same set of
profile provides that this class holds. |
boolean |
handles(String name)
Checks if the delegated profile providers handle the profile with given name. |
boolean |
init(Properties props)
Initializes this provider. |
List |
list()
Returns List of names (Strings) of all Entities that can be accessed by this UserProvider. |
boolean |
load(String name,
com.opensymphony.user.Entity.Accessor accessor)
Load Entity using the first delegate profile provider. |
boolean |
remove(String name)
Remove Entity with given name using the first delegate profile provider. |
boolean |
store(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(String name)
PrioritizedCompositePropertySet
that is instantiated with the same set of
profile provides that this class holds.
getPropertySet
in interface com.opensymphony.user.provider.ProfileProvider
name
- name
public void flushCaches()
flushCaches
in interface com.opensymphony.user.provider.UserProvider
public boolean init(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.UserProvider
props
- initialization properties
public boolean create(String name)
create
in interface com.opensymphony.user.provider.UserProvider
public boolean handles(String name)
handles
in interface com.opensymphony.user.provider.UserProvider
name
- profile name
public List list()
list
in interface com.opensymphony.user.provider.UserProvider
public boolean load(String name, com.opensymphony.user.Entity.Accessor accessor)
load
in interface com.opensymphony.user.provider.UserProvider
public boolean remove(String name)
remove
in interface com.opensymphony.user.provider.UserProvider
public boolean store(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 |