Class AccessControlFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.business.AccessControlFilter
-
public class AccessControlFilter extends java.lang.Objectclass AccessControlFilter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_INTstatic java.lang.StringALL_STRINGstatic intFILTER_FALSEstatic intFILTER_TRUE
-
Constructor Summary
Constructors Constructor Description AccessControlFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsIsEnabled()booleancontainsName()booleancontainsWorkgroupCriteria()intgetIsEnabled()java.lang.StringgetName()java.lang.StringgetWorkgroup()voidsetIsEnabled(int idState)Set 1 if the access control return must be enabled 0 if the access control return must be disabledvoidsetName(java.lang.String name)voidsetWorkGroup(java.lang.String workgroup)set the workgroup of the access control
-
-
-
Field Detail
-
ALL_STRING
public static final java.lang.String ALL_STRING
- See Also:
- Constant Field Values
-
ALL_INT
public static final int ALL_INT
- See Also:
- Constant Field Values
-
FILTER_FALSE
public static final int FILTER_FALSE
- See Also:
- Constant Field Values
-
FILTER_TRUE
public static final int FILTER_TRUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getIsEnabled
public int getIsEnabled()
- Returns:
- 1 if the access control return must be enabled 0 if the access control return must be disabled
-
setIsEnabled
public void setIsEnabled(int idState)
Set 1 if the access control return must be enabled 0 if the access control return must be disabled- Parameters:
idState- 1 if the access control return must be enabled 0 if the access control return must be disabled
-
containsIsEnabled
public boolean containsIsEnabled()
- Returns:
- true if the filter contain access control state
-
getWorkgroup
public java.lang.String getWorkgroup()
- Returns:
- the workgroup of the access control
-
setWorkGroup
public void setWorkGroup(java.lang.String workgroup)
set the workgroup of the access control- Parameters:
workgroup- the workgroup of the access control
-
containsWorkgroupCriteria
public boolean containsWorkgroupCriteria()
- Returns:
- true if the filter contaion access control criteria
-
containsName
public boolean containsName()
-
-