/** * Creates a GROUPValueObject through the business facade using information in the * HttpServletRequest. * * @return String as result * @exception ProcessingException */ public String createGROUP() throws ProcessingException { String sReturnValue = null; logMessage(FrameworkLogEventType.DEBUG_LOG_EVENT_TYPE, "Inside GROUPWorkerBean::createGROUP"); try { // Create the GROUPValueObject by calling the // static createGROUP method on GROUPProxy IGROUPValueObject valueObject = GROUPProxy.createGROUP(this.m_GROUPValueObject); if (valueObject != null) { // logMessage( FrameworkLogEventType.DEBUG_LOG_EVENT_TYPE, "GROUPWorkerBean:createGROUP() - // successfully created GROUPValueObject - " + valueObject.toString() ); ApplicationUSOM objectManager = (ApplicationUSOM) getUSOM(); objectManager.setCurrentGROUP(valueObject); } String[] users = this.getHttpServletRequest().getParameterValues("selectItems"); if (users != null && users.length > 0) { for (int i = 0; i < users.length; i++) { GROUPUSERProxy.createGROUPUSER( new GROUPUSERValueObject( new GROUPUSERPrimaryKey(users[i], valueObject.getGroupid()))); } } } catch (Exception exc) { throw new ProcessingException("GROUPWorkerBean:createGROUP() - " + exc, exc); } return (sReturnValue); }