|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface class UserManager
A UserManager defines the facade interface for operations related to the management of ECM users.
Method Summary | |
---|---|
NamedValueSet[] |
findCredentialManagerUsers(NamedValue[] searchOptions) Find a list of users from the current credential manager that match the specified search options. |
Item[] |
findDomainUsers(NamedValue[] options, AttributeRequest[] attrs) Find a list of provisioned users in the current domain that match the specified search options. |
Preference |
getDomainDefaultUserPreference(java.lang.String key, AttributeRequest[] attributes) Get domain level default value for a single user preference. |
Preference[] |
getDomainDefaultUserPreferences(java.lang.String[] keys, AttributeRequest[] attributes) Get domain level default values for the requested user preferences. |
Item |
getUser(java.lang.String name, AttributeRequest[] attributes) Gets the specified user by name. |
Preference |
getUserPreference(java.lang.String key, AttributeRequest[] attributes) Get a user preference for the current user, by its preference key. |
Preference[] |
getUserPreferences(java.lang.String[] keys, AttributeRequest[] attributes) Get a set of user preferences for the current user, by preference key. |
Preference[] |
getUserPreferencesForUser(long userId, java.lang.String[] keys, AttributeRequest[] attributes) Get a set of user preferences for the specified user, by preference key. |
java.lang.String[] |
listExternallySupportedUserPreferences() Returns the list of externally supported user preferences |
void |
provisionUserPreferences() Synchronize the preferences of the current user with user preferences from the Identity Repositiory. |
void |
provisionUserPreferences(long userId) Synchronize the preferences of the specified user with user preferences from the Identity Repository. |
void |
setDomainDefaultUserPreference(Preference value) Set domain level default value for a single user preference. |
void |
setDomainDefaultUserPreferences(Preference[] values) Set domain level default values for user preferences. |
void |
setUserPreference(Preference value) Set a user preference for the current user. |
void |
setUserPreferences(Preference[] values) Set an array of user preferences for the current user. |
void |
setUserPreferencesForUser(long userId, Preference[] values) Set an array of user preferences for the specified user. |
Method Detail |
---|
Preference getUserPreference(java.lang.String key, AttributeRequest[] attributes) throws FdkException
UserManager
key
- the user preference keyattributes
- requested attributesFdkException
- - if the operation failsPreference[] getUserPreferences(java.lang.String[] keys, AttributeRequest[] attributes) throws FdkException
UserManager
keys
- the user preference keysattributes
- requested attributesFdkException
- - if the operation failsPreference[] getUserPreferencesForUser(long userId, java.lang.String[] keys, AttributeRequest[] attributes) throws FdkException
UserManager
userId
- the user IDkeys
- the user preference keysattributes
- requested attributesFdkException
- - if the operation failsvoid setUserPreference(Preference value) throws FdkException
UserManager
value
- the user preference value (which contains the key)FdkException
- - if the operation failsvoid setUserPreferences(Preference[] values) throws FdkException
UserManager
values
- array of user preferencesFdkException
- - if the operation failsvoid setUserPreferencesForUser(long userId, Preference[] values) throws FdkException
UserManager
userId
- the user IDvalues
- the user preference value (which contains the key)FdkException
- - if the operation failsvoid setDomainDefaultUserPreferences(Preference[] values) throws FdkException
UserManager
values
- the user preference valuesFdkException
- if the operation failsvoid setDomainDefaultUserPreference(Preference value) throws FdkException
UserManager
value
- the user preference valueFdkException
- if the operation failsPreference[] getDomainDefaultUserPreferences(java.lang.String[] keys, AttributeRequest[] attributes) throws FdkException
UserManager
keys
- keys used to identify the user preferencesattributes
- list of FDK attributes needed in the preferenceFdkException
- if the operation failsPreference getDomainDefaultUserPreference(java.lang.String key, AttributeRequest[] attributes) throws FdkException
UserManager
key
- key used to identify the user preferenceattributes
- list of FDK attributes needed in the preferenceFdkException
- if the operation failsNamedValueSet[] findCredentialManagerUsers(NamedValue[] searchOptions) throws FdkException
UserManager
Search a realm for a list of users that matches the options. If the realm is not specified, then the default realm is used. Null is returned if no user is found.
The value of the option specifies a filter to the option. The character '*' can be used to indicate zero or more characters in that position. Special characters '*', '(', ')', and '\' must be escaped in accordance with RFC-2254.
searchOptions
- The search options. Options must include one or more of the following Options:
FdkException
- (FDK_INVALID_OPTION): Invalid search optionFdkException
- others: If the operation fails.Item[] findDomainUsers(NamedValue[] options, AttributeRequest[] attrs) throws FdkException
UserManager
The value of the option specifies a filter to the option. Standard database and Windows wildcards (_?%*) accepted.
options
- The search options. Valid options:
FdkException
- (FDK_INVALID_OPTION): Invalid search optionFdkException
- others: If the operation fails.Item getUser(java.lang.String name, AttributeRequest[] attributes) throws FdkException
UserManager
name
- The name of the user to return.attributes
- additional attributes to retrieve for each user.FdkException
- if the operation fails.void provisionUserPreferences(long userId) throws FdkException
UserManager
userId
- The user ID of specified userFdkException
- if the operation fails.void provisionUserPreferences() throws FdkException
UserManager
FdkException
- if the operation fails.java.lang.String[] listExternallySupportedUserPreferences() throws FdkException
UserManager
FdkException
- if the operation fails.
|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |