Class AbstractUserCodeAccessControllerType
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.service.AbstractUserCodeAccessControllerType
-
- All Implemented Interfaces:
IAccessControllerType
- Direct Known Subclasses:
LuteceUserCodeAccessControllerType,UserCodeAccessControllerType
public abstract class AbstractUserCodeAccessControllerType extends java.lang.Object implements IAccessControllerType
AbstractIAccessControllerTypefor UserCodeAccessControllerType & LuteceUserCodeAccessControllerType
-
-
Constructor Summary
Constructors Constructor Description AbstractUserCodeAccessControllerType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteConfig(int idController)Delete the config of the controllerjava.lang.StringgetControllerConfigForm(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Get the html form for the config of the controller.java.lang.StringgetControllerForm(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Get the html form for the config of the controller.booleanhasConfig()Indicates if the controllerType needs a configvoidsaveControllerConfig(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Save the config of the controller.java.lang.Stringvalidate(javax.servlet.http.HttpServletRequest request, AccessController controller)Validate the controller-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.accesscontrol.service.IAccessControllerType
getBeanName, getTitle
-
-
-
-
Method Detail
-
hasConfig
public boolean hasConfig()
Description copied from interface:IAccessControllerTypeIndicates if the controllerType needs a config- Specified by:
hasConfigin interfaceIAccessControllerType- Returns:
-
deleteConfig
public void deleteConfig(int idController)
Description copied from interface:IAccessControllerTypeDelete the config of the controller- Specified by:
deleteConfigin interfaceIAccessControllerType
-
getControllerConfigForm
public java.lang.String getControllerConfigForm(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Description copied from interface:IAccessControllerTypeGet the html form for the config of the controller.- Specified by:
getControllerConfigFormin interfaceIAccessControllerType- Returns:
-
saveControllerConfig
public void saveControllerConfig(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Description copied from interface:IAccessControllerTypeSave the config of the controller.- Specified by:
saveControllerConfigin interfaceIAccessControllerType
-
getControllerForm
public java.lang.String getControllerForm(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)Description copied from interface:IAccessControllerTypeGet the html form for the config of the controller. if there is nothing to ask or display to the user And to skip form return null- Specified by:
getControllerFormin interfaceIAccessControllerType- Returns:
- controllerForm
-
validate
public java.lang.String validate(javax.servlet.http.HttpServletRequest request, AccessController controller) throws fr.paris.lutece.portal.service.security.UserNotSignedExceptionDescription copied from interface:IAccessControllerTypeValidate the controller- Specified by:
validatein interfaceIAccessControllerType- Returns:
- null if OK, an error message otherwise
- Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException
-
-