Class ExternalUserDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.externaluser.ExternalUserDAO
-
- All Implemented Interfaces:
IExternalUserDAO
public class ExternalUserDAO extends Object implements IExternalUserDAO
Implementation of the ExternalUser DAO
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.externaluser.IExternalUserDAO
BEAN_SERVICE
-
-
Constructor Summary
Constructors Constructor Description ExternalUserDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExternalUser>findExternalUser(String strLastname, String strEmail, String strIdAttribute, String strAttributeValue, String strActionId)return list of ExternalUser which match the filterintgetSearchLimit()booleanisValidEmail(String strEmail, String strActionId)Check if email is a valid email for ExternalUser
-
-
-
Method Detail
-
getSearchLimit
public int getSearchLimit()
- Specified by:
getSearchLimitin interfaceIExternalUserDAO- Returns:
- the value store in properties or null
-
isValidEmail
public boolean isValidEmail(String strEmail, String strActionId)
Check if email is a valid email for ExternalUser- Specified by:
isValidEmailin interfaceIExternalUserDAO- Parameters:
strEmail- the email to checkstrActionId- the action the externaluser must be allowed to exectute- Returns:
- true if the email is ok
-
findExternalUser
public List<ExternalUser> findExternalUser(String strLastname, String strEmail, String strIdAttribute, String strAttributeValue, String strActionId)
return list of ExternalUser which match the filter- Specified by:
findExternalUserin interfaceIExternalUserDAO- Parameters:
strLastname- lastname to searchstrEmail- email to searchstrIdAttribute- id of user attribute to searchstrAttributeValue- value of user attribute to searchstrActionId- Action Id- Returns:
- list of ExternalUser
-
-