/** * @param lookupResultsSequenceNumber * @param personId * @return Set<String> */ public Set<String> retrieveSetOfSelectedObjectIds( String lookupResultsSequenceNumber, String personId) throws Exception { SelectedObjectIds selectedObjectIds = retrieveSelectedObjectIds(lookupResultsSequenceNumber); if (!isAuthorizedToAccessSelectedObjectIds(selectedObjectIds, personId)) { throw new AuthorizationException( personId, "retrieve lookup results", "lookup sequence number " + lookupResultsSequenceNumber); } Set<String> retval = LookupUtils.convertStringOfObjectIdsToSet(selectedObjectIds.getSelectedObjectIds()); return retval; }
protected Set<String> parsePreviouslySelectedObjectIds(HttpServletRequest request) { String previouslySelectedObjectIds = request.getParameter(KRADConstants.MULTIPLE_VALUE_LOOKUP_PREVIOUSLY_SELECTED_OBJ_IDS_PARAM); return LookupUtils.convertStringOfObjectIdsToSet(previouslySelectedObjectIds); }