|
Oracle Content Services Java API Reference Release 1 10.1.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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. |
void |
provisionUserPreferences()
Synchronize the preferences of the current user with user preferences from OID. |
void |
provisionUserPreferences(long userId)
Synchronize the preferences of the specified user with user preferences from OID. |
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 |
public Preference getUserPreference(java.lang.String key,
AttributeRequest[] attributes)
throws FdkException
key - the user preference keyattributes - requested attributes
FdkException - - if the operation fails
public Preference[] getUserPreferences(java.lang.String[] keys,
AttributeRequest[] attributes)
throws FdkException
keys - the user preference keysattributes - requested attributes
FdkException - - if the operation fails
public Preference[] getUserPreferencesForUser(long userId,
java.lang.String[] keys,
AttributeRequest[] attributes)
throws FdkException
userId - the user IDkeys - the user preference keysattributes - requested attributes
FdkException - - if the operation fails
public void setUserPreference(Preference value)
throws FdkException
value - the user preference value (which contains the key)
FdkException - - if the operation fails
public void setUserPreferences(Preference[] values)
throws FdkException
values - array of user preferences
FdkException - - if the operation fails
public void setUserPreferencesForUser(long userId,
Preference[] values)
throws FdkException
userId - the user IDvalues - the user preference value (which contains the key)
FdkException - - if the operation fails
public void setDomainDefaultUserPreferences(Preference[] values)
throws FdkException
values - the user preference values
FdkException - if the operation fails
public void setDomainDefaultUserPreference(Preference value)
throws FdkException
value - the user preference value
FdkException - if the operation fails
public Preference[] getDomainDefaultUserPreferences(java.lang.String[] keys,
AttributeRequest[] attributes)
throws FdkException
keys - keys used to identify the user preferencesattributes - list of FDK attributes needed in the preference
FdkException - if the operation fails
public Preference getDomainDefaultUserPreference(java.lang.String key,
AttributeRequest[] attributes)
throws FdkException
key - key used to identify the user preferenceattributes - list of FDK attributes needed in the preference
FdkException - if the operation fails
public NamedValueSet[] findCredentialManagerUsers(NamedValue[] searchOptions)
throws FdkException
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 option
FdkException - others: If the operation fails.
public Item[] findDomainUsers(NamedValue[] options,
AttributeRequest[] attrs)
throws FdkException
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 option
FdkException - others: If the operation fails.
public Item getUser(java.lang.String name,
AttributeRequest[] attributes)
throws FdkException
name - The name of the user to return.attributes - additional attributes to retrieve for each user.
FdkException - if the operation fails.
public void provisionUserPreferences(long userId)
throws FdkException
userId - The user ID of specified user
FdkException - if the operation fails.
public void provisionUserPreferences()
throws FdkException
FdkException - if the operation fails.
|
Oracle Content Services Java API Reference Release 1 10.1.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||