Class AutomaticRoleConfiguration
java.lang.Object
fr.paris.lutece.plugins.automaticroleprovider.service.AutomaticRoleConfiguration
The Class AutomaticRoleConfiguration.
-
Constructor Summary
ConstructorsConstructorDescriptionAutomaticRoleConfiguration(String strLuteceUserAttributeKey, String strLuteceUserAttributeValue, String strRole, ConfigurationPredicate configurationPredicate, Boolean bAutomatic) Instantiates a new automatic role configuration. -
Method Summary
Modifier and TypeMethodDescriptionGets the configuration predicate.Gets the lutece user attribute key.Gets the lutece user attribute value.getRole()Gets the role.Checks if is automatic.voidsetLuteceUserAttributeKey(String _strLuteceUserAttributeKey) Sets the lutece user attribute key.voidsetLuteceUserAttributeValue(String _strLuteceUserAttributeValue) Sets the lutece user attribute value.voidSets the role.
-
Constructor Details
-
AutomaticRoleConfiguration
public AutomaticRoleConfiguration(String strLuteceUserAttributeKey, String strLuteceUserAttributeValue, String strRole, ConfigurationPredicate configurationPredicate, Boolean bAutomatic) Instantiates a new automatic role configuration.- Parameters:
strLuteceUserAttributeKey- the str lutece user attribute keystrLuteceUserAttributeValue- the str lutece user attribute valuestrRole- the str roleconfigurationPredicate- the configuration predicatebAutomatic- the b automatic
-
-
Method Details
-
getLuteceUserAttributeKey
Gets the lutece user attribute key.- Returns:
- the lutece user attribute key
-
setLuteceUserAttributeKey
Sets the lutece user attribute key.- Parameters:
_strLuteceUserAttributeKey- the new lutece user attribute key
-
getLuteceUserAttributeValue
Gets the lutece user attribute value.- Returns:
- the lutece user attribute value
-
setLuteceUserAttributeValue
Sets the lutece user attribute value.- Parameters:
_strLuteceUserAttributeValue- the new lutece user attribute value
-
getRole
Gets the role.- Returns:
- the role
-
setRole
Sets the role.- Parameters:
_strRole- the new role
-
getConfigurationPredicate
Gets the configuration predicate.- Returns:
- ConfigurationPredicate
-
isAutomatic
Checks if is automatic.- Returns:
- true, if is automatic
-