|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.admin.AdminUserService
public final class AdminUserService
This service provides features concerning the administration users
Method Summary | |
---|---|
static boolean |
checkEmail(java.lang.String strEmail)
Check if the given email is valid or not. |
static void |
doInsertRegularExpression(int nRegularExpressionId)
Do insert a regular expression |
static void |
doModifyEmailPattern(java.lang.String strEmailPattern,
boolean bIsSetManually)
Do modify the email pattern |
static void |
doRemoveRegularExpression(int nRegularExpressionId)
Do remove a regular expression |
static void |
doResetEmailPattern()
Reset the email pattern by putting the default email pattern that is set in the lutece.properties. |
static AdminUser |
getAdminUser(javax.servlet.http.HttpServletRequest request)
Get the user in session |
static ReferenceList |
getAvailableRegularExpressions()
Get the available rugalar expressions |
static java.lang.String |
getEmailErrorMessageUrl(javax.servlet.http.HttpServletRequest request)
Get the email error message url |
static java.util.List<AdminUser> |
getFilteredUsersInterface(java.util.List<AdminUser> listUsers,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> model,
UrlItem url)
Get the filtered list of admin users |
static java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
Get the locale for the current request |
static java.util.Map<java.lang.String,java.lang.Object> |
getManageAdvancedParameters(AdminUser user)
Build the advanced parameters management |
static java.util.List<RegularExpression> |
getSelectedRegularExpressions()
Get the list of selected regular expression |
static boolean |
getUserAdminRightLevel(javax.servlet.http.HttpServletRequest request)
Gets the admin right level |
static void |
init()
Init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init()
public static AdminUser getAdminUser(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public static java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public static boolean getUserAdminRightLevel(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request
public static java.util.List<AdminUser> getFilteredUsersInterface(java.util.List<AdminUser> listUsers, javax.servlet.http.HttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> model, UrlItem url)
listUsers
- the initial list of usersrequest
- HttpServletRequestmodel
- mapurl
- URL of the current interface
public static java.util.Map<java.lang.String,java.lang.Object> getManageAdvancedParameters(AdminUser user)
user
- The AdminUser object
public static boolean checkEmail(java.lang.String strEmail)
strEmail
-
public static void doModifyEmailPattern(java.lang.String strEmailPattern, boolean bIsSetManually)
strEmailPattern
- the email patternbIsSetManually
- true if it is know set manually, false otherwisepublic static void doResetEmailPattern()
public static java.lang.String getEmailErrorMessageUrl(javax.servlet.http.HttpServletRequest request)
public static void doInsertRegularExpression(int nRegularExpressionId)
nRegularExpressionId
- the ID of the regular expressionpublic static void doRemoveRegularExpression(int nRegularExpressionId)
nRegularExpressionId
- the ID of the regularexpresionpublic static ReferenceList getAvailableRegularExpressions()
ReferenceList
public static java.util.List<RegularExpression> getSelectedRegularExpressions()
RegularExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |