Class AutomaticRoleConfiguration
- java.lang.Object
-
- fr.paris.lutece.plugins.automaticroleprovider.service.AutomaticRoleConfiguration
-
public class AutomaticRoleConfiguration extends java.lang.ObjectThe Class AutomaticRoleConfiguration.
-
-
Constructor Summary
Constructors Constructor Description AutomaticRoleConfiguration(java.lang.String strRole, ConfigurationPredicate configurationPredicate, java.lang.Boolean bAutomatic)Instantiates a new automatic role configuration.AutomaticRoleConfiguration(java.lang.String strLuteceUserAttributeKey, java.lang.String strLuteceUserAttributeValue, java.lang.String strRole, ConfigurationPredicate configurationPredicate)Instantiates a new automatic role configuration.AutomaticRoleConfiguration(java.lang.String strLuteceUserAttributeKey, java.lang.String strLuteceUserAttributeValue, java.lang.String strRole, ConfigurationPredicate configurationPredicate, java.lang.Boolean bAutomatic)Instantiates a new automatic role configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPredicategetConfigurationPredicate()Gets the configuration predicate.java.lang.StringgetLuteceUserAttributeKey()Gets the lutece user attribute key.java.lang.StringgetLuteceUserAttributeValue()Gets the lutece user attribute value.java.lang.StringgetRole()Gets the role.java.lang.BooleanisAutomatic()Checks if is automatic.voidsetLuteceUserAttributeKey(java.lang.String _strLuteceUserAttributeKey)Sets the lutece user attribute key.voidsetLuteceUserAttributeValue(java.lang.String _strLuteceUserAttributeValue)Sets the lutece user attribute value.voidsetRole(java.lang.String _strRole)Sets the role.
-
-
-
Constructor Detail
-
AutomaticRoleConfiguration
public AutomaticRoleConfiguration(java.lang.String strLuteceUserAttributeKey, java.lang.String strLuteceUserAttributeValue, java.lang.String strRole, ConfigurationPredicate configurationPredicate, java.lang.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
-
AutomaticRoleConfiguration
public AutomaticRoleConfiguration(java.lang.String strLuteceUserAttributeKey, java.lang.String strLuteceUserAttributeValue, java.lang.String strRole, ConfigurationPredicate configurationPredicate)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
-
AutomaticRoleConfiguration
public AutomaticRoleConfiguration(java.lang.String strRole, ConfigurationPredicate configurationPredicate, java.lang.Boolean bAutomatic)Instantiates a new automatic role configuration.- Parameters:
strRole- the str roleconfigurationPredicate- the configuration predicatebAutomatic- the b automatic
-
-
Method Detail
-
getLuteceUserAttributeKey
public java.lang.String getLuteceUserAttributeKey()
Gets the lutece user attribute key.- Returns:
- the lutece user attribute key
-
setLuteceUserAttributeKey
public void setLuteceUserAttributeKey(java.lang.String _strLuteceUserAttributeKey)
Sets the lutece user attribute key.- Parameters:
_strLuteceUserAttributeKey- the new lutece user attribute key
-
getLuteceUserAttributeValue
public java.lang.String getLuteceUserAttributeValue()
Gets the lutece user attribute value.- Returns:
- the lutece user attribute value
-
setLuteceUserAttributeValue
public void setLuteceUserAttributeValue(java.lang.String _strLuteceUserAttributeValue)
Sets the lutece user attribute value.- Parameters:
_strLuteceUserAttributeValue- the new lutece user attribute value
-
getRole
public java.lang.String getRole()
Gets the role.- Returns:
- the role
-
setRole
public void setRole(java.lang.String _strRole)
Sets the role.- Parameters:
_strRole- the new role
-
getConfigurationPredicate
public ConfigurationPredicate getConfigurationPredicate()
Gets the configuration predicate.- Returns:
- ConfigurationPredicate
-
isAutomatic
public java.lang.Boolean isAutomatic()
Checks if is automatic.- Returns:
- true, if is automatic
-
-