Search in sources :

Example 1 with DATATABLE_DISPLAY_DATA

use of org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA in project sw360 by eclipse.

the class ComponentPortlet method serveComponentList.

private void serveComponentList(ResourceRequest request, ResourceResponse response) throws PortletException {
    HttpServletRequest originalServletRequest = PortalUtil.getOriginalServletRequest(PortalUtil.getHttpServletRequest(request));
    PaginationParameters paginationParameters = PaginationParser.parametersFrom(originalServletRequest);
    handlePaginationSortOrder(request, paginationParameters);
    PaginationData pageData = new PaginationData();
    pageData.setRowsPerPage(paginationParameters.getDisplayLength());
    pageData.setDisplayStart(paginationParameters.getDisplayStart());
    pageData.setAscending(paginationParameters.isAscending().get());
    int sortParam = -1;
    if (paginationParameters.getSortingColumn().isPresent()) {
        sortParam = paginationParameters.getSortingColumn().get();
        if (sortParam == 1 && Integer.valueOf(paginationParameters.getEcho()) == 1) {
            sortParam = -1;
        }
    }
    pageData.setSortColumnNumber(sortParam);
    Map<PaginationData, List<Component>> pageDataComponentList = getFilteredComponentList(request, pageData);
    Map<String, Set<String>> filterMap = getComponentFilterMap(request);
    JSONArray jsonComponents = getComponentData(pageDataComponentList.values().iterator().next(), paginationParameters, filterMap);
    JSONObject jsonResult = createJSONObject();
    jsonResult.put(DATATABLE_RECORDS_TOTAL, pageDataComponentList.keySet().iterator().next().getTotalRowCount());
    jsonResult.put(DATATABLE_RECORDS_FILTERED, pageDataComponentList.keySet().iterator().next().getTotalRowCount());
    jsonResult.put(DATATABLE_DISPLAY_DATA, jsonComponents);
    try {
        writeJSON(request, response, jsonResult);
    } catch (IOException e) {
        log.error("Problem rendering RequestStatus", e);
        response.setProperty(ResourceResponse.HTTP_STATUS_CODE, "500");
    }
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) JSONObject(com.liferay.portal.kernel.json.JSONObject) PaginationParameters(org.eclipse.sw360.portal.common.datatables.data.PaginationParameters) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) JSONArray(com.liferay.portal.kernel.json.JSONArray) ImmutableList(com.google.common.collect.ImmutableList)

Example 2 with DATATABLE_DISPLAY_DATA

use of org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA in project sw360 by eclipse.

the class UserPortlet method serveUsersListAbsentInCouchDB.

private void serveUsersListAbsentInCouchDB(ResourceRequest request, ResourceResponse response) {
    Set<String> setOfEmailOfUsersPresentInCouchDB = new TreeSet<String>();
    try {
        UserService.Iface client = thriftClients.makeUserClient();
        setOfEmailOfUsersPresentInCouchDB = CommonUtils.nullToEmptySet(client.getUserEmails());
    } catch (TException e) {
        log.error("Problem getting departments/emails of all user.", e);
    }
    final Set<String> setOfEmailOfUsersPresentInCouchDBFinal = setOfEmailOfUsersPresentInCouchDB;
    List<org.eclipse.sw360.datahandler.thrift.users.User> usersAbsentInCouchDB;
    List<User> liferayUsers;
    try {
        liferayUsers = UserLocalServiceUtil.getUsers(QueryUtil.ALL_POS, QueryUtil.ALL_POS);
    } catch (SystemException e) {
        log.error("Could not get user List from liferay", e);
        liferayUsers = Collections.emptyList();
    }
    usersAbsentInCouchDB = liferayUsers.stream().filter(liferayUser -> !setOfEmailOfUsersPresentInCouchDBFinal.contains(liferayUser.getEmailAddress())).filter(liferayUser -> {
        String firstName = liferayUser.getFirstName();
        String lastName = liferayUser.getLastName();
        String emailAddress = liferayUser.getEmailAddress();
        List<Organization> organizations;
        try {
            organizations = liferayUser.getOrganizations();
        } catch (PortalException | SystemException e) {
            return false;
        }
        String department = "";
        if (organizations != null && organizations.size() > 0) {
            department = organizations.get(0).getName();
        }
        String userGroup = "";
        List<Role> roles;
        try {
            roles = liferayUser.getRoles();
        } catch (SystemException e) {
            return false;
        }
        List<String> roleNames = new ArrayList<>();
        for (Role role : roles) {
            roleNames.add(role.getName());
        }
        for (UserGroup group : UserGroup.values()) {
            String roleConstantFromUserGroup = getRoleConstantFromUserGroup(group);
            if (roleNames.contains(roleConstantFromUserGroup)) {
                userGroup = group.toString();
                break;
            }
        }
        String gid = liferayUser.getScreenName();
        String passwordHash = liferayUser.getPassword();
        return !(isNullOrEmpty(firstName) || isNullOrEmpty(lastName) || isNullOrEmpty(emailAddress) || isNullOrEmpty(department) || isNullOrEmpty(userGroup) || isNullOrEmpty(gid) || isNullOrEmpty(passwordHash));
    }).map(liferayUser -> {
        String emailAddress = liferayUser.getEmailAddress();
        String department = null;
        List<String> primaryRoles = liferayUser.getRoles().stream().map(role -> role.getName()).collect(Collectors.toList());
        try {
            department = liferayUser.getOrganizations().get(0).getName();
        } catch (PortalException pe) {
            log.error("Error occured while retrieving Organisation name of the user. ", pe);
        }
        return new org.eclipse.sw360.datahandler.thrift.users.User().setGivenname(liferayUser.getFirstName()).setLastname(liferayUser.getLastName()).setDepartment(department).setPrimaryRoles(primaryRoles).setEmail(emailAddress);
    }).collect(Collectors.toList());
    JSONArray userRequestData = createJSONArray();
    for (org.eclipse.sw360.datahandler.thrift.users.User user : usersAbsentInCouchDB) {
        createUserJsonObject(user, userRequestData, true);
    }
    JSONObject jsonResult = createJSONObject();
    jsonResult.put(DATATABLE_RECORDS_TOTAL, usersAbsentInCouchDB.size());
    jsonResult.put(DATATABLE_RECORDS_FILTERED, usersAbsentInCouchDB.size());
    jsonResult.put(DATATABLE_DISPLAY_DATA, userRequestData);
    try {
        writeJSON(request, response, jsonResult);
    } catch (IOException e) {
        log.error("Problem rendering list of users absent in couch db", e);
    }
}
Also used : TException(org.apache.thrift.TException) PAGENAME(org.eclipse.sw360.portal.common.PortalConstants.PAGENAME) WebKeys(com.liferay.portal.kernel.util.WebKeys) PaginationParameters(org.eclipse.sw360.portal.common.datatables.data.PaginationParameters) ConfigurationPolicy(org.osgi.service.component.annotations.ConfigurationPolicy) ThemeDisplay(com.liferay.portal.kernel.theme.ThemeDisplay) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) UserService(org.eclipse.sw360.datahandler.thrift.users.UserService) PAGENAME_DETAIL(org.eclipse.sw360.portal.common.PortalConstants.PAGENAME_DETAIL) FluentIterable(com.google.common.collect.FluentIterable) ThriftEnumUtils(org.eclipse.sw360.datahandler.common.ThriftEnumUtils) DATATABLE_RECORDS_TOTAL(org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_RECORDS_TOTAL) DATATABLE_RECORDS_FILTERED(org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_RECORDS_FILTERED) Portlet(javax.portlet.Portlet) com.liferay.portal.kernel.model(com.liferay.portal.kernel.model) OrganizationHelper(org.eclipse.sw360.portal.users.OrganizationHelper) PaginationData(org.eclipse.sw360.datahandler.thrift.PaginationData) UserUtils(org.eclipse.sw360.portal.users.UserUtils) com.liferay.portal.kernel.service(com.liferay.portal.kernel.service) PAGENAME_EDIT(org.eclipse.sw360.portal.common.PortalConstants.PAGENAME_EDIT) Sw360Portlet(org.eclipse.sw360.portal.portlets.Sw360Portlet) ImmutableSet(com.google.common.collect.ImmutableSet) AutoLoginException(com.liferay.portal.kernel.security.auto.login.AutoLoginException) USER_ADMIN_PORTLET_NAME(org.eclipse.sw360.portal.common.PortalConstants.USER_ADMIN_PORTLET_NAME) UserUtils.userGroupFromString(org.eclipse.sw360.portal.users.UserUtils.userGroupFromString) UserCSV(org.eclipse.sw360.portal.users.UserCSV) DATATABLE_DISPLAY_DATA(org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA) UserGroup(org.eclipse.sw360.datahandler.thrift.users.UserGroup) org.apache.commons.csv(org.apache.commons.csv) PortalUtil(com.liferay.portal.kernel.util.PortalUtil) Collectors(java.util.stream.Collectors) PaginationParser(org.eclipse.sw360.portal.common.datatables.PaginationParser) CommonUtils(org.eclipse.sw360.datahandler.common.CommonUtils) ErrorMessages(org.eclipse.sw360.portal.common.ErrorMessages) UploadPortletRequest(com.liferay.portal.kernel.upload.UploadPortletRequest) Logger(org.apache.logging.log4j.Logger) Stream(java.util.stream.Stream) Entry(java.util.Map.Entry) UsedAsLiferayAction(org.eclipse.sw360.portal.common.UsedAsLiferayAction) PortletUtils(org.eclipse.sw360.portal.common.PortletUtils) PwdEncryptorException(com.liferay.portal.kernel.exception.PwdEncryptorException) java.util(java.util) SSOAutoLogin(org.eclipse.sw360.portal.users.SSOAutoLogin) PortletResponseUtil(com.liferay.portal.kernel.portlet.PortletResponseUtil) Strings.isNullOrEmpty(com.google.common.base.Strings.isNullOrEmpty) PasswordEncryptorUtil(com.liferay.portal.kernel.security.pwd.PasswordEncryptorUtil) SW360Exception(org.eclipse.sw360.datahandler.thrift.SW360Exception) PortalException(com.liferay.portal.kernel.exception.PortalException) RequestStatus(org.eclipse.sw360.datahandler.thrift.RequestStatus) SystemException(com.liferay.portal.kernel.exception.SystemException) Component(org.osgi.service.component.annotations.Component) HttpServletRequest(javax.servlet.http.HttpServletRequest) ImmutableList(com.google.common.collect.ImmutableList) DisplayMapOfSecondaryGroupAndRoles(org.eclipse.sw360.portal.tags.DisplayMapOfSecondaryGroupAndRoles) javax.portlet(javax.portlet) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) HttpServletResponse(javax.servlet.http.HttpServletResponse) TException(org.apache.thrift.TException) JSONFactoryUtil(com.liferay.portal.kernel.json.JSONFactoryUtil) UserUtils.getRoleConstantFromUserGroup(org.eclipse.sw360.portal.users.UserUtils.getRoleConstantFromUserGroup) LuceneAwareDatabaseConnector(org.eclipse.sw360.datahandler.couchdb.lucene.LuceneAwareDatabaseConnector) Maps(com.google.common.collect.Maps) JSONObject(com.liferay.portal.kernel.json.JSONObject) java.io(java.io) UserCacheHolder(org.eclipse.sw360.portal.users.UserCacheHolder) PortalConstants(org.eclipse.sw360.portal.common.PortalConstants) JSONArray(com.liferay.portal.kernel.json.JSONArray) UserPortletUtils(org.eclipse.sw360.portal.users.UserPortletUtils) HttpServletRequestAdapter(org.eclipse.sw360.portal.users.HttpServletRequestAdapter) LogManager(org.apache.logging.log4j.LogManager) QueryUtil(com.liferay.portal.kernel.dao.orm.QueryUtil) UserUtils.userGroupFromString(org.eclipse.sw360.portal.users.UserUtils.userGroupFromString) UserGroup(org.eclipse.sw360.datahandler.thrift.users.UserGroup) UserUtils.getRoleConstantFromUserGroup(org.eclipse.sw360.portal.users.UserUtils.getRoleConstantFromUserGroup) SystemException(com.liferay.portal.kernel.exception.SystemException) ImmutableList(com.google.common.collect.ImmutableList) PortalException(com.liferay.portal.kernel.exception.PortalException) UserService(org.eclipse.sw360.datahandler.thrift.users.UserService) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) JSONArray(com.liferay.portal.kernel.json.JSONArray) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) JSONObject(com.liferay.portal.kernel.json.JSONObject)

Example 3 with DATATABLE_DISPLAY_DATA

use of org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA in project sw360 by eclipse.

the class UserPortlet method serveUsersListPresentInCouchDB.

private void serveUsersListPresentInCouchDB(ResourceRequest request, ResourceResponse response) {
    HttpServletRequest originalServletRequest = PortalUtil.getOriginalServletRequest(PortalUtil.getHttpServletRequest(request));
    PaginationParameters paginationParameters = PaginationParser.parametersFrom(originalServletRequest);
    PortletUtils.handlePaginationSortOrder(request, paginationParameters, USER_FILTERED_FIELDS, USER_NO_SORT);
    UserService.Iface client = thriftClients.makeUserClient();
    PaginationData pageData = new PaginationData();
    pageData.setRowsPerPage(paginationParameters.getDisplayLength());
    pageData.setDisplayStart(paginationParameters.getDisplayStart());
    pageData.setAscending(paginationParameters.isAscending().get());
    if (paginationParameters.getSortingColumn().isPresent()) {
        int sortParam = paginationParameters.getSortingColumn().get();
        if (sortParam == 0 && Integer.valueOf(paginationParameters.getEcho()) == 1) {
            pageData.setSortColumnNumber(-1);
        } else {
            pageData.setSortColumnNumber(paginationParameters.getSortingColumn().get());
        }
    } else {
        pageData.setSortColumnNumber(-1);
    }
    Map<String, Set<String>> filterMap = getUserFilterMap(originalServletRequest);
    Map<PaginationData, List<org.eclipse.sw360.datahandler.thrift.users.User>> usersWithPageData = getFilteredUsersList(request, pageData, client, filterMap);
    List<org.eclipse.sw360.datahandler.thrift.users.User> users = new ArrayList<>();
    PaginationData pgDt = new PaginationData();
    if (!CommonUtils.isNullOrEmptyMap(usersWithPageData)) {
        users = usersWithPageData.values().iterator().next();
        pgDt = usersWithPageData.keySet().iterator().next();
    }
    JSONArray jsonUsers = getUserData(users, paginationParameters, filterMap);
    JSONObject jsonResult = createJSONObject();
    jsonResult.put(DATATABLE_RECORDS_TOTAL, pgDt.getTotalRowCount());
    jsonResult.put(DATATABLE_RECORDS_FILTERED, pgDt.getTotalRowCount());
    jsonResult.put(DATATABLE_DISPLAY_DATA, jsonUsers);
    try {
        writeJSON(request, response, jsonResult);
    } catch (IOException e) {
        log.error("Problem rendering list of users present in couch db", e);
    }
}
Also used : PaginationData(org.eclipse.sw360.datahandler.thrift.PaginationData) ImmutableSet(com.google.common.collect.ImmutableSet) UserService(org.eclipse.sw360.datahandler.thrift.users.UserService) PaginationParameters(org.eclipse.sw360.portal.common.datatables.data.PaginationParameters) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) JSONArray(com.liferay.portal.kernel.json.JSONArray) UserUtils.userGroupFromString(org.eclipse.sw360.portal.users.UserUtils.userGroupFromString) HttpServletRequest(javax.servlet.http.HttpServletRequest) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) JSONObject(com.liferay.portal.kernel.json.JSONObject) ImmutableList(com.google.common.collect.ImmutableList)

Example 4 with DATATABLE_DISPLAY_DATA

use of org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA in project sw360 by eclipse.

the class ChangeLogsPortletUtils method serveChangeLogsList.

private JSONObject serveChangeLogsList(ResourceRequest request, ResourceResponse response, ChangeLogsService.Iface changeLogsClient) {
    HttpServletRequest originalServletRequest = PortalUtil.getOriginalServletRequest(PortalUtil.getHttpServletRequest(request));
    PaginationParameters paginationParameters = PaginationParser.parametersFrom(originalServletRequest);
    if (!paginationParameters.getSortingColumn().isPresent()) {
        for (ChangeLogs._Fields filteredField : changeLogsFields) {
            if (!isNullOrEmpty(request.getParameter(filteredField.toString()))) {
                paginationParameters.setSortingColumn(Optional.of(CHANGELOGS_NO_SORT));
                break;
            }
        }
    }
    List<ChangeLogs> changeLogsList = getFilteredChangeLogList(request, changeLogsClient);
    JSONArray jsonProjects = getChangeLogData(changeLogsList, paginationParameters, request);
    JSONObject jsonResult = createJSONObject();
    jsonResult.put(DATATABLE_RECORDS_TOTAL, changeLogsList.size());
    jsonResult.put(DATATABLE_RECORDS_FILTERED, changeLogsList.size());
    jsonResult.put(DATATABLE_DISPLAY_DATA, jsonProjects);
    return jsonResult;
}
Also used : HttpServletRequest(javax.servlet.http.HttpServletRequest) ChangeLogs(org.eclipse.sw360.datahandler.thrift.changelogs.ChangeLogs) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) JSONObject(com.liferay.portal.kernel.json.JSONObject) PaginationParameters(org.eclipse.sw360.portal.common.datatables.data.PaginationParameters) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) JSONArray(com.liferay.portal.kernel.json.JSONArray)

Example 5 with DATATABLE_DISPLAY_DATA

use of org.eclipse.sw360.portal.common.PortalConstants.DATATABLE_DISPLAY_DATA in project sw360 by eclipse.

the class ModerationPortlet method serveModerationList.

private void serveModerationList(ResourceRequest request, ResourceResponse response, boolean open) {
    HttpServletRequest originalServletRequest = PortalUtil.getOriginalServletRequest(PortalUtil.getHttpServletRequest(request));
    PaginationParameters paginationParameters = PaginationParser.parametersFrom(originalServletRequest);
    PortletUtils.handlePaginationSortOrder(request, paginationParameters, MODERATION_FILTERED_FIELDS, MODERATION_NO_SORT);
    PaginationData pageData = new PaginationData();
    pageData.setRowsPerPage(paginationParameters.getDisplayLength());
    pageData.setDisplayStart(paginationParameters.getDisplayStart());
    pageData.setAscending(paginationParameters.isAscending().get());
    if (paginationParameters.getSortingColumn().isPresent()) {
        int sortParam = paginationParameters.getSortingColumn().get();
        if (sortParam == 0 && Integer.valueOf(paginationParameters.getEcho()) == 1) {
            pageData.setSortColumnNumber(-1);
        } else {
            pageData.setSortColumnNumber(paginationParameters.getSortingColumn().get());
        }
    } else {
        pageData.setSortColumnNumber(-1);
    }
    Map<PaginationData, List<ModerationRequest>> modRequestsWithPageData = getFilteredModerationList(request, pageData, open);
    List<ModerationRequest> moderations = new ArrayList<>();
    PaginationData pgDt = new PaginationData();
    if (!CommonUtils.isNullOrEmptyMap(modRequestsWithPageData)) {
        moderations = modRequestsWithPageData.values().iterator().next();
        pgDt = modRequestsWithPageData.keySet().iterator().next();
    }
    JSONArray jsonOpenModerations = getModerationData(moderations, paginationParameters, request, open);
    JSONObject jsonResult = createJSONObject();
    final Map<String, Long> countByModerationState = getCountByModerationState(request);
    long openModRequestCount = countByModerationState.get("OPEN") == null ? 0 : countByModerationState.get("OPEN");
    long closedModRequestCount = countByModerationState.get("CLOSED") == null ? 0 : countByModerationState.get("CLOSED");
    Map<String, Set<String>> filterMap = getModerationFilterMap(request);
    long noOfRecords = filterMap.isEmpty() ? (open ? openModRequestCount : closedModRequestCount) : pgDt.getTotalRowCount();
    jsonResult.put(DATATABLE_RECORDS_TOTAL, noOfRecords);
    jsonResult.put(DATATABLE_RECORDS_FILTERED, noOfRecords);
    jsonResult.put(DATATABLE_DISPLAY_DATA, jsonOpenModerations);
    jsonResult.put(CLOSED_MODERATION_REQUESTS, closedModRequestCount);
    jsonResult.put(OPEN_MODERATION_REQUESTS, openModRequestCount);
    jsonResult.put(MODERATION_REQUESTING_USER_DEPARTMENTS, getRequestingUserDepts());
    try {
        writeJSON(request, response, jsonResult);
    } catch (IOException e) {
        log.error("Problem rendering list of open moderation", e);
    }
}
Also used : PaginationData(org.eclipse.sw360.datahandler.thrift.PaginationData) ModerationRequest(org.eclipse.sw360.datahandler.thrift.moderation.ModerationRequest) ImmutableSet(com.google.common.collect.ImmutableSet) CommonUtils.nullToEmptySet(org.eclipse.sw360.datahandler.common.CommonUtils.nullToEmptySet) PaginationParameters(org.eclipse.sw360.portal.common.datatables.data.PaginationParameters) JSONFactoryUtil.createJSONArray(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray) JSONArray(com.liferay.portal.kernel.json.JSONArray) IOException(java.io.IOException) HttpServletRequest(javax.servlet.http.HttpServletRequest) JSONFactoryUtil.createJSONObject(com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject) JSONObject(com.liferay.portal.kernel.json.JSONObject) ImmutableList(com.google.common.collect.ImmutableList)

Aggregations

JSONFactoryUtil.createJSONArray (com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONArray)6 JSONFactoryUtil.createJSONObject (com.liferay.portal.kernel.json.JSONFactoryUtil.createJSONObject)6 HttpServletRequest (javax.servlet.http.HttpServletRequest)6 PaginationParameters (org.eclipse.sw360.portal.common.datatables.data.PaginationParameters)6 JSONArray (com.liferay.portal.kernel.json.JSONArray)5 JSONObject (com.liferay.portal.kernel.json.JSONObject)5 ImmutableList (com.google.common.collect.ImmutableList)4 ImmutableSet (com.google.common.collect.ImmutableSet)3 PaginationData (org.eclipse.sw360.datahandler.thrift.PaginationData)3 IOException (java.io.IOException)2 UserService (org.eclipse.sw360.datahandler.thrift.users.UserService)2 UserUtils.userGroupFromString (org.eclipse.sw360.portal.users.UserUtils.userGroupFromString)2 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 Strings.isNullOrEmpty (com.google.common.base.Strings.isNullOrEmpty)1 FluentIterable (com.google.common.collect.FluentIterable)1 Maps (com.google.common.collect.Maps)1 QueryUtil (com.liferay.portal.kernel.dao.orm.QueryUtil)1 PortalException (com.liferay.portal.kernel.exception.PortalException)1 PwdEncryptorException (com.liferay.portal.kernel.exception.PwdEncryptorException)1 SystemException (com.liferay.portal.kernel.exception.SystemException)1