org.eclipse.stardust.engine.api.query
Class UserDetailsPolicy

java.lang.Object
  extended by org.eclipse.stardust.engine.api.query.UserDetailsPolicy
All Implemented Interfaces:
Serializable, EvaluationPolicy

public class UserDetailsPolicy
extends Object
implements EvaluationPolicy

Policy for specifying the level of detail for user details. The following level exist UserDetailsLevel.MINIMAL, UserDetailsLevel.CORE, UserDetailsLevel.WITH_PROPERTIES and UserDetailsLevel.FULL.

See Also:
Serialized Form

Constructor Summary
UserDetailsPolicy(UserDetailsLevel level)
           
 
Method Summary
 UserDetailsLevel getLevel()
           
 String[] getPreferenceModules()
           
 void setPreferenceModules(String... moduleIds)
          Instruct the engine to include preferences from the specified modules.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDetailsPolicy

public UserDetailsPolicy(UserDetailsLevel level)
Method Detail

getLevel

public UserDetailsLevel getLevel()
Returns:
The level of details for UserDetailsPolicy.

getPreferenceModules

public String[] getPreferenceModules()
Returns:
The module ids of the included preferences.

setPreferenceModules

public void setPreferenceModules(String... moduleIds)
Instruct the engine to include preferences from the specified modules.

Parameters:
moduleIds - an array of module ids.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.