diff --git a/src/main/java/com/frentix/olat/course/nodes/ViteroCourseNode.java b/src/main/java/com/frentix/olat/course/nodes/ViteroCourseNode.java new file mode 100644 index 0000000000000000000000000000000000000000..6cb90aba884c8b17127bc2478ed97f63b935ac6d --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/ViteroCourseNode.java @@ -0,0 +1,198 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.course.nodes; + +import java.util.List; + +import org.olat.core.CoreSpringFactory; +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.generic.tabbable.TabbableController; +import org.olat.core.id.Roles; +import org.olat.core.util.Util; +import org.olat.core.util.ValidationStatus; +import org.olat.course.CourseFactory; +import org.olat.course.ICourse; +import org.olat.course.condition.ConditionEditController; +import org.olat.course.editor.CourseEditorEnv; +import org.olat.course.editor.NodeEditController; +import org.olat.course.editor.StatusDescription; +import org.olat.course.nodes.AbstractAccessableCourseNode; +import org.olat.course.nodes.CourseNode; +import org.olat.course.nodes.StatusDescriptionHelper; +import org.olat.course.nodes.TitledWrapperHelper; +import org.olat.course.run.navigation.NodeRunConstructionResult; +import org.olat.course.run.userview.NodeEvaluation; +import org.olat.course.run.userview.UserCourseEnvironment; +import org.olat.repository.RepositoryEntry; +import org.olat.repository.RepositoryManager; + +import com.frentix.olat.course.nodes.vitero.ViteroBookingConfiguration; +import com.frentix.olat.course.nodes.vitero.ViteroEditController; +import com.frentix.olat.course.nodes.vitero.ViteroRunController; +import com.frentix.olat.vitero.manager.ViteroManager; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroCourseNode extends AbstractAccessableCourseNode { + + private static final long serialVersionUID = 8680935159748506305L; + + private static final String TYPE = "vitero"; + + // configuration + public static final String CONF_VC_CONFIGURATION = "vc_configuration"; + + public ViteroCourseNode() { + super(TYPE); + } + + /** + * To support different virtual classroom implementations it's necessary to + * check whether the persisted configuration suits to the actual virtual + * classroom implementation or not. If not a new one will be created and + * persisted. + * + * @param provider + * @return the persisted configuration or a fresh one + */ + private ViteroBookingConfiguration handleConfig(final ViteroManager provider) { + ViteroBookingConfiguration config = (ViteroBookingConfiguration) getModuleConfiguration().get(CONF_VC_CONFIGURATION); + if (config == null) { + config = new ViteroBookingConfiguration(); + } + getModuleConfiguration().set(CONF_VC_CONFIGURATION, config); + return config; + } + + @Override + public void updateModuleConfigDefaults(boolean isNewNode) { + // no update to default config necessary + } + + @Override + public TabbableController createEditController(UserRequest ureq, WindowControl wControl, ICourse course, + UserCourseEnvironment userCourseEnv) { + updateModuleConfigDefaults(false); + CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(userCourseEnv.getCourseEditorEnv().getCurrentCourseNodeId()); + // load and check configuration + ViteroManager provider = (ViteroManager)CoreSpringFactory.getBean("viteroManager"); + ViteroBookingConfiguration config = handleConfig(provider); + + // create edit controller + ViteroEditController childTabCntrllr = new ViteroEditController(ureq, wControl, this, course, userCourseEnv, provider, config); + + NodeEditController nodeEditCtr = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, + course.getCourseEnvironment().getCourseGroupManager(), userCourseEnv, childTabCntrllr); + nodeEditCtr.addControllerListener(childTabCntrllr); + return nodeEditCtr; + } + + @Override + public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl, + UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) { + updateModuleConfigDefaults(false); + // check if user is moderator of the virtual classroom + Roles roles = ureq.getUserSession().getRoles(); + boolean moderator = roles.isOLATAdmin(); + Long key = userCourseEnv.getCourseEnvironment().getCourseResourceableId(); + if (!moderator) { + if(roles.isInstitutionalResourceManager() | roles.isAuthor()) { + RepositoryManager rm = RepositoryManager.getInstance(); + ICourse course = CourseFactory.loadCourse(key); + RepositoryEntry re = rm.lookupRepositoryEntry(course, false); + if (re != null) { + moderator = rm.isOwnerOfRepositoryEntry(ureq.getIdentity(), re); + if(!moderator) { + moderator = rm.isInstitutionalRessourceManagerFor(re, ureq.getIdentity()); + } + } + } + } + // load configuration + ViteroManager provider = (ViteroManager)CoreSpringFactory.getBean("viteroManager"); + ViteroBookingConfiguration config = handleConfig(provider); + // create run controller + Controller runCtr = new ViteroRunController(ureq, wControl, null); + Controller controller = TitledWrapperHelper.getWrapper(ureq, wControl, runCtr, this, "o_vc_icon"); + return new NodeRunConstructionResult(controller); + } + + @Override + public Controller createPeekViewRunController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, + NodeEvaluation ne) { + return null; + } + + @Override + public StatusDescription[] isConfigValid(CourseEditorEnv cev) { + String translatorStr = Util.getPackageName(ConditionEditController.class); + List<StatusDescription> statusDescs = isConfigValidWithTranslator(cev, translatorStr, getConditionExpressions()); + return StatusDescriptionHelper.sort(statusDescs); + } + + public RepositoryEntry getReferencedRepositoryEntry() { + return null; + } + + public StatusDescription isConfigValid() { + if (oneClickStatusCache != null) { return oneClickStatusCache[0]; } + StatusDescription status = StatusDescription.NOERROR; + + // load configuration + ViteroManager provider = (ViteroManager)CoreSpringFactory.getBean("viteroManager"); + ViteroBookingConfiguration config = handleConfig(provider); + boolean invalid = !provider.isConfigValid(config); + if (invalid) { + String[] params = new String[] { this.getShortTitle() }; + String shortKey = "error.config.short"; + String longKey = "error.config.long"; + String translationPackage = ViteroEditController.class.getPackage().getName(); + status = new StatusDescription(ValidationStatus.ERROR, shortKey, longKey, params, translationPackage); + status.setDescriptionForUnit(getIdent()); + status.setActivateableViewIdentifier(ViteroEditController.PANE_TAB_VCCONFIG); + } + + return status; + } + + public boolean needsReferenceToARepositoryEntry() { + return false; + } + + @Override + public void cleanupOnDelete(ICourse course) { + // load configuration + ViteroManager provider = (ViteroManager)CoreSpringFactory.getBean("viteroManager"); + ViteroBookingConfiguration config = handleConfig(provider); + // remove meeting + provider.removeTeaRoom(course.getResourceableId() + "_" + this.getIdent(), config); + } + +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroBookingConfiguration.java b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroBookingConfiguration.java new file mode 100644 index 0000000000000000000000000000000000000000..9830fa4efcf9ee8979fde824cb275dc073967fb1 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroBookingConfiguration.java @@ -0,0 +1,74 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.course.nodes.vitero; + +import java.io.Serializable; +import java.util.List; + +import com.frentix.olat.vitero.model.ViteroBooking; + + +/** + * + * Description:<br> + * TODO: srosse Class Description for ViteroBookingConfiguration + * + * <P> + * Initial Date: 26 sept. 2011 <br> + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingConfiguration implements Serializable { + + private static final long serialVersionUID = 7658813481281328834L; + + private int bookingId; + private List<ViteroBooking> meetingDates; + private boolean createMeetingImmediately; + + + public int getBookingId() { + return bookingId; + } + + public void setBookingId(int bookingId) { + this.bookingId = bookingId; + } + + public List<ViteroBooking> getMeetingDates() { + return meetingDates; + } + + public void setMeetingDates(List<ViteroBooking> meetingDates) { + this.meetingDates = meetingDates; + } + + public boolean isCreateMeetingImmediately() { + return createMeetingImmediately; + } + + public void setCreateMeetingImmediately(boolean createMeetingImmediately) { + this.createMeetingImmediately = createMeetingImmediately; + } + + public boolean isUseMeetingDates() { + return true; + } +} diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroCourseNodeConfiguration.java b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroCourseNodeConfiguration.java new file mode 100644 index 0000000000000000000000000000000000000000..198bb64cbba0ca57a2ae4095e2c2602ba4a82e35 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroCourseNodeConfiguration.java @@ -0,0 +1,93 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.course.nodes.vitero; + +import java.util.List; +import java.util.Locale; + +import org.olat.core.extensions.ExtensionResource; +import org.olat.core.gui.translator.Translator; +import org.olat.core.util.Util; +import org.olat.course.nodes.AbstractCourseNodeConfiguration; +import org.olat.course.nodes.CourseNode; +import org.olat.course.nodes.CourseNodeConfiguration; + +import com.frentix.olat.course.nodes.ViteroCourseNode; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroCourseNodeConfiguration extends AbstractCourseNodeConfiguration implements CourseNodeConfiguration { + + public String getAlias() { + return "vitero"; + } + + public String getIconCSSClass() { + return "o_vc_icon"; + } + + public CourseNode getInstance() { + return new ViteroCourseNode(); + } + + public String getLinkCSSClass() { + return "o_vc_icon"; + } + + public String getLinkText(Locale locale) { + Translator fallback = Util.createPackageTranslator(CourseNodeConfiguration.class, locale); + Translator translator = Util.createPackageTranslator(this.getClass(), locale, fallback); + return translator.translate("title_vc"); + } + + @Override + public boolean isEnabled() { + return super.isEnabled(); + } + + public ExtensionResource getExtensionCSS() { + return null; + } + + public List getExtensionResources() { + return null; + } + + public String getName() { + return getAlias(); + } + + public void setup() { + // no special setup necessary + } + + public void tearDown() { + // no special tear down necessary + } + +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroDisplayController.java b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroDisplayController.java similarity index 61% rename from src/main/java/com/frentix/olat/vc/provider/vitero/ViteroDisplayController.java rename to src/main/java/com/frentix/olat/course/nodes/vitero/ViteroDisplayController.java index 0d8d44aec5dbf4a9d1a29af567c7182e27fa6b21..294d86c2c1e983dc12018250bb444552216ef4f5 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroDisplayController.java +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroDisplayController.java @@ -1,17 +1,24 @@ -//<OLATCE-103> /** - * - * BPS Bildungsportal Sachsen GmbH<br> - * Bahnhofstrasse 6<br> - * 09111 Chemnitz<br> - * Germany<br> - * - * Copyright (c) 2005-2010 by BPS Bildungsportal Sachsen GmbH<br> - * http://www.bps-system.de<br> - * - * All rights reserved. + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> */ -package com.frentix.olat.vc.provider.vitero; +package com.frentix.olat.course.nodes.vitero; import java.util.ArrayList; import java.util.Date; @@ -24,8 +31,9 @@ import org.olat.core.gui.control.Event; import org.olat.core.gui.control.WindowControl; import org.olat.core.gui.control.controller.BasicController; -import de.bps.course.nodes.vc.MeetingDate; -import de.bps.course.nodes.vc.provider.VCProvider; +import com.frentix.olat.vitero.manager.ViteroManager; +import com.frentix.olat.vitero.model.ViteroBooking; + /** * @@ -37,25 +45,20 @@ import de.bps.course.nodes.vc.provider.VCProvider; * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com */ public class ViteroDisplayController extends BasicController { - - // objects for run view private VelocityContainer runVC; - private String roomId; - // data - private List<MeetingDate> dateList = new ArrayList<MeetingDate>(); + private List<ViteroBooking> dateList = new ArrayList<ViteroBooking>(); private ViteroBookingConfiguration config; - private MeetingDate meeting; + private ViteroBooking meeting; private Date allBegin, allEnd; - private VCProvider vitero; + private ViteroManager vitero; - public ViteroDisplayController(UserRequest ureq, WindowControl wControl, String roomId, String name, String description, boolean isModerator, ViteroBookingConfiguration config, VCProvider provider) { + public ViteroDisplayController(UserRequest ureq, WindowControl wControl, String roomId, String name, String description, boolean isModerator, ViteroBookingConfiguration config, ViteroManager provider) { super(ureq, wControl); - this.roomId = roomId; this.vitero = provider; this.config = config; @@ -65,8 +68,8 @@ public class ViteroDisplayController extends BasicController { // select actual meeting if(config.isUseMeetingDates()) { Date now = new Date((new Date()).getTime() + 15*60*1000); // allow to start meetings about 15 minutes before begin - for(MeetingDate date : dateList) { - Date begin = date.getBegin(); + for(ViteroBooking date : dateList) { + Date begin = date.getStart(); Date end = date.getEnd(); if(now.after(begin) & now.before(end)) { meeting = date; @@ -77,11 +80,9 @@ public class ViteroDisplayController extends BasicController { } else { allBegin = new Date(); allEnd = new Date(allBegin.getTime() + 365*24*60*60*1000); // preset one year - meeting = new MeetingDate(); - meeting.setBegin(allBegin); + meeting = new ViteroBooking(); + meeting.setStart(allBegin); meeting.setEnd(allEnd); - meeting.setTitle(name); - meeting.setDescription(description); } runVC = createVelocityContainer("run"); @@ -100,5 +101,4 @@ public class ViteroDisplayController extends BasicController { protected void doDispose() { // nothing to dispose } -} -//</OLATCE-103> \ No newline at end of file +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroEditController.java b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroEditController.java new file mode 100644 index 0000000000000000000000000000000000000000..463d945578e68ccb966fb0f2cca27fa7160edfa8 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroEditController.java @@ -0,0 +1,200 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.course.nodes.vitero; + +import java.util.Date; + +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.Component; +import org.olat.core.gui.components.tabbedpane.TabbedPane; +import org.olat.core.gui.components.velocity.VelocityContainer; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.ControllerEventListener; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.generic.modal.DialogBoxController; +import org.olat.core.gui.control.generic.modal.DialogBoxUIFactory; +import org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController; +import org.olat.course.ICourse; +import org.olat.course.assessment.AssessmentHelper; +import org.olat.course.condition.Condition; +import org.olat.course.condition.ConditionEditController; +import org.olat.course.editor.NodeEditController; +import org.olat.course.run.userview.UserCourseEnvironment; + +import com.frentix.olat.course.nodes.ViteroCourseNode; +import com.frentix.olat.vitero.manager.ViteroManager; +import com.frentix.olat.vitero.model.ViteroBooking; +import com.frentix.olat.vitero.ui.ViteroBookingsEditController; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroEditController extends ActivateableTabbableDefaultController implements ControllerEventListener { + + private static final String PANE_TAB_ACCESSIBILITY = "pane.tab.accessibility"; + public static final String PANE_TAB_VCCONFIG = "pane.tab.vcconfig"; + final static String[] paneKeys = { PANE_TAB_VCCONFIG, PANE_TAB_ACCESSIBILITY }; + + // GUI + private VelocityContainer editVc; + private ConditionEditController accessibilityCondContr; + private TabbedPane tabPane; + private ViteroBookingsEditController editForm; + private DialogBoxController yesNoUpdate; + private DialogBoxController yesNoDelete; + + // runtime data + private ViteroCourseNode courseNode; + private ViteroBookingConfiguration config; + + public ViteroEditController(UserRequest ureq, WindowControl wControl, ViteroCourseNode courseNode, + ICourse course, UserCourseEnvironment userCourseEnv, ViteroManager provider, ViteroBookingConfiguration config) { + super(ureq, wControl); + this.courseNode = courseNode; + this.config = config; + + editVc = this.createVelocityContainer("edit"); + + Condition accessCondition = courseNode.getPreConditionAccess(); + accessibilityCondContr = new ConditionEditController(ureq, wControl, course.getCourseEnvironment().getCourseGroupManager(), + accessCondition, "accessabilityConditionForm", AssessmentHelper.getAssessableNodes(course.getEditorTreeModel(), courseNode), + userCourseEnv); + this.listenTo(accessibilityCondContr); + + editForm = new ViteroBookingsEditController(ureq, wControl); + listenTo(editForm); + editVc.put("editForm", editForm.getInitialComponent()); + } + + @Override + public String[] getPaneKeys() { + return paneKeys; + } + + @Override + public TabbedPane getTabbedPane() { + return tabPane; + } + + @Override + protected void doDispose() { + if(editForm != null) { + removeAsListenerAndDispose(editForm); + editForm = null; + } + if(yesNoDelete != null) { + removeAsListenerAndDispose(yesNoDelete); + yesNoDelete = null; + } + if(yesNoUpdate != null) { + removeAsListenerAndDispose(yesNoUpdate); + yesNoUpdate = null; + } + } + + @Override + protected void event(UserRequest ureq, Component source, Event event) { + // nothing to do + } + + @Override + protected void event(UserRequest ureq, Controller source, Event event) { + if (source == accessibilityCondContr) { + if (event == Event.CHANGED_EVENT) { + Condition cond = accessibilityCondContr.getCondition(); + courseNode.setPreConditionAccess(cond); + fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); + } + } else if (source == editForm) { + courseNode.getModuleConfiguration().set(ViteroCourseNode.CONF_VC_CONFIGURATION, config); + fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); + } else if (source == yesNoDelete) { + if(DialogBoxUIFactory.isYesEvent(event)) { + //provider.removeClassroom(null, config); + reset(ureq); + } + } else if(source == yesNoUpdate) { + if(DialogBoxUIFactory.isYesEvent(event)) { + Date allBegin = null, allEnd = null; + if(config.getMeetingDates() != null) { + for(ViteroBooking date : config.getMeetingDates()) { + Date begin = date.getStart(); + Date end = date.getEnd(); + allBegin = allBegin == null ? begin : begin.before(allBegin) ? begin : allBegin; + allEnd = allEnd == null ? end : end.after(allEnd) ? end : allEnd; + } + } + /*boolean success = provider.updateClassroom(roomId, courseNode.getShortTitle(), courseNode.getLongTitle(), allBegin, allEnd, config); + if(success) { + getWindowControl().setInfo(translate("success.update.room")); + } else { + getWindowControl().setError(translate("error.update.room")); + }*/ + } + } else if(event == NodeEditController.NODECONFIG_CHANGED_EVENT) { + // something has changed, maybe the title or description, thus ask to update + /*if(provider.existsClassroom(roomId, config)) { + removeAsListenerAndDispose(yesNoUpdate); + yesNoUpdate = DialogBoxUIFactory.createYesNoDialog(ureq, getWindowControl(), translate("sync.meeting.title"), translate("sync.meeting.text")); + listenTo(yesNoUpdate); + yesNoUpdate.activate(); + }*/ + } + } + + private void reset(UserRequest ureq) { + removeAsListenerAndDispose(editForm); + // prepare new edit view +/* + config = provider.createNewConfiguration(); + // create room if configured to do it immediately + if(config.isCreateMeetingImmediately()) { + // here, the config is empty in any case, thus there are no start and end dates + provider.createClassroom(roomId, courseNode.getShortName(), courseNode.getLongTitle(), null, null, config); + } + editForm = new ViteroEditForm(ureq, getWindowControl(), provider.getTemplates(), (DefaultVCConfiguration) config); + listenTo(editForm); + editVc.put("editForm", editForm.getInitialComponent()); + listenTo(configCtr); + editVc.put("configCtr", configCtr.getInitialComponent()); + editVc.setDirty(true); + // save the minimal config + courseNode.getModuleConfiguration().set(VCCourseNode.CONF_VC_CONFIGURATION, config); + + fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); + */ + } + + public void addTabs(TabbedPane tabbedPane) { + tabPane = tabbedPane; + tabbedPane.addTab(translate(PANE_TAB_ACCESSIBILITY), + accessibilityCondContr.getWrappedDefaultAccessConditionVC(translate("condition.accessibility.title"))); + tabbedPane.addTab(translate(PANE_TAB_VCCONFIG), editVc); + + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroRunController.java b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroRunController.java new file mode 100644 index 0000000000000000000000000000000000000000..778a6612da7cd89de54dcd56ab1c795bc3197822 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/ViteroRunController.java @@ -0,0 +1,64 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.course.nodes.vitero; + +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.Component; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.controller.BasicController; +import org.olat.course.ICourse; + +import com.frentix.olat.vitero.ui.ViteroBookingsController; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroRunController extends BasicController { + + private final ViteroBookingsController bookingsController; + + + public ViteroRunController(UserRequest ureq, WindowControl wControl, ICourse course) { + super(ureq, wControl); + + bookingsController = new ViteroBookingsController(ureq, wControl, null, course); + listenTo(bookingsController); + + putInitialPanel(bookingsController.getInitialComponent()); + } + + @Override + protected void event(UserRequest ureq, Component source, Event event) { + //nothing to do + } + + @Override + protected void doDispose() { + //nothing to do + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/_content/edit.html b/src/main/java/com/frentix/olat/course/nodes/vitero/_content/edit.html new file mode 100644 index 0000000000000000000000000000000000000000..29ec5aa26f2133b240cc7a91955302dd27eb2a82 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/_content/edit.html @@ -0,0 +1 @@ +$r.render('editForm') diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_de.properties b/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_de.properties new file mode 100644 index 0000000000000000000000000000000000000000..85f5bb42c335f07ef9e257c4170da42c6a816a7d --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_de.properties @@ -0,0 +1,52 @@ +pane.tab.accessibility=Zugang +pane.tab.vcconfig=Konfiguration +condition.accessibility.title=Zugang +title_vc=Vitero Tea Room +config.header=Konfiguration des virtuellen Klassenzimmers +config.header.extended=Erweiterte Konfiguration +config.select.vc=System f\u00fcr virtuellen Klassenraum +error.config.short=Konfiguration von "{0}" fehlerhaft +error.config.long=Die Konfiguration des Kursbausteins "{0}" ist fehlerhaft oder unvollst\u00e4ndig. + +error.update.room=Das virtuelle Klassenzimmer konnte nicht mit den aktuellen Einstellungen synchronisiert werden. Bitte wenden Sie sich an Ihren Betreuer oder Ihre Systemadministratoren. + +delete.meeting.title=Virtuelles Klassenzimmers l\u00f6schen +delete.meeting.text=Sie haben ein anderes System f\u00fcr das virtuelle Klassenzimmer ausgew\u00e4hlt. Das bestehende Virtuelle Klassenzimmer wird bei dieser \u00c4nderung gel\u00f6scht. Wollen Sie das System wirklich wechseln? + +no.meeting.learner=Derzeit findet kein Meeting statt, dem Sie beitreten k\u00f6nnten. +no.meeting.moderator=Derzeit findet kein Meeting statt. Teilnehmer k\u00f6nnen das virtuelle Klassenzimmer 15 Minuten vor einem geplanten Meeting betreten. + +sync.meeting.title=Virtuelles Klassenzimmer synchronisieren +sync.meeting.text=Sie haben die Einstellungen f\u00fcr diese virtuelle Klassenzimmer ge\u00e4ndert, nachdem dieses er\u00f6ffnet wurde. Die \u00c4nderungen werden erst wirksam, wenn Sie das virtuelle Klassenzimmer mit den neuen Einstellungen synchronisieren. Die Einstellungen k\u00f6nnen auch jederzeit direkt im Kurs synchronisiert werden. M\u00f6chten Sie die Einstellungen jetzt synchronisieren? +success.update.room=Das virtuelle Klassenzimmer wurde erfolgreich synchronisiert. Bitte vergessen Sie nicht, die \u00c4nderungen zu publizieren. + +vc.access.dates=Virtuelles Klassenzimmer soll nur zu bestimmten Terminen betreten werden k\u00f6nnen +vc.meetings.intro=Termine f\u00fcr Meetings +vc.table.add=+ +vc.table.begin=Start +vc.table.begin.empty=Datumsangabe fehlt +vc.table.begin.error=Fehlerhafte Eingabe +vc.table.description=Beschreibung +vc.table.description.empty=Beschreibung fehlt +vc.table.delete=- +vc.table.duration=Dauer +vc.table.duration.empty=Dauer fehlt +vc.table.duration.error=Falsches Format +vc.table.duration.example=hh\:mm +vc.table.empty=Derzeit sind keine Meetings geplant. +vc.table.end=Ende +vc.table.intro=Hier finden Sie eine Liste aller geplanten Meetings: +vc.table.title=Titel +vc.table.title.empty=Titel fehlt +vc.template.choose.intro=Vorlage f\u00fcr virtuelles Klassenzimmer +vc.template.choose.label=Vorlage +vc.template.empty=Es stehen keine Templates zur Verf\u00fcgung +vc.options=Zutrittsberechtigung +vc.options.intro=Zutrittsberechtigung +vc.options.label=Zutrittsberechtigung + +chelp.ced-vc-config.title=Virtuelles Klassenzimmer konfigurieren +chelp.hover.vc.config=Hilfe zur Konfiguration des Virtuellen Klassenzimmers +chelp.vc1=Richten Sie ein virtuelles Klassenzimmer zur Online-Kommunikation (Pr\u00e4sentationen, Diskussionen, Whiteboard, Desktop-Sharing uvm.) mit Ihren Kurs-Teilnehmern ein. Jedem Kursbaustein wird genau ein virtuelles Klassenzimmer zugeordnet. W\u00e4hlen Sie Vorkonfigurationen f\u00fcr diesen Raum und definieren Sie ggf., zu welchen Terminen der Raum f\u00fcr Nutzer betretbar ist. Um Ressourcen zu sparen, wird ein Raum nicht automatisch mit Erstellen des Kursbausteins er\u00f6ffnet, sondern muss je nach Konfiguration (siehe <i>Zutrittsberechtigung</i>) vor dem ersten Betreten durch einen Moderator oder Teilnehmer <i>er\u00f6ffnet</i> werden. +chelp.vc2=<b>Vorlage f\u00fcr virtuelles Klassenzimmer:</b> Die jeweiligen Vorlagen bringen unterschiedliche Vorkonfigurationen f\u00fcr den Raum mit sich. +chelp.vc3=<b>Termine f\u00fcr Meetings:</b> Definieren Sie einen oder mehrere Termine, zu denen der Raum von Teilnehmern betreten werden kann. \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_en.properties b/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_en.properties new file mode 100644 index 0000000000000000000000000000000000000000..9fe00e1ec431f00e5cc626d52f9f8353afa0a631 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/_i18n/LocalStrings_en.properties @@ -0,0 +1,52 @@ +pane.tab.accessibility=Access +pane.tab.vcconfig=Configuration +condition.accessibility.title=Access +title_vc=Vitero Tea Room +config.header=Configuration of the virtual classroom +config.header.extended=Extended configuration +config.select.vc=System for virtual classroom +error.config.short=Configuration of "{0}" contains errors +error.config.long=The configuration of the course node "{0}" contains errors or is incomplete. + +error.update.room=Sorry! An error occured while synchronizing the virtual class room with the actual configuration. Please, inform your tutor or system administrator. + +delete.meeting.title=Delete virtual classroom +delete.meeting.text=You have changed the system for your virtual classroom. The existing classroom will thus be deleted. Do you really want to delete the classroom? + +no.meeting.learner=Currently, there are no meetings planned. +no.meeting.moderator=Currently, there are no meetings planned. Participants may enter the virtual classroom 15 minutes prior to meeting start. + +sync.meeting.title=Synchronize virtual classroom +sync.meeting.text=You have changed the configuration of the virtual classroom after it had been started. The changes will be taken into account only after having synchronized the virtual class room with the new configuration. You can synchronize the configuration at any time directly from the course run. Do you want to synchronize now? +success.update.room=The virtual classroom has been synchronized successfully. Do not forget to publish the current changes. + +vc.access.dates=Virtual classroom shall only be available at defined dates +vc.meetings.intro=Planned dates for meetings +vc.table.add=+ +vc.table.begin=Begin +vc.table.begin.empty=Missing date +vc.table.begin.error=Wrong format +vc.table.description=Description +vc.table.description.empty=Missing description +vc.table.delete=- +vc.table.duration=Duration +vc.table.duration.empty=Missing duration +vc.table.duration.error=Wrong format +vc.table.duration.example=hh\:mm +vc.table.empty=There are no meetings planned, yet. +vc.table.end=End +vc.table.intro=List of currently planned meetings: +vc.table.title=Title +vc.table.title.empty=Missing title +vc.template.choose.intro=Template for virtual classroom +vc.template.choose.label=Template +vc.template.empty=No templates available +vc.options=Access authorisation +vc.options.intro=Access authorisation +vc.options.label=Access authorisation + +chelp.ced-vc-config.title=Configure virtual classroom +chelp.hover.vc.config=Help about configuration of the virtual classroom +chelp.vc1=Create a virtual classroom for online communication (presentations, discussions, whiteboard, desktop-sharing etc.) with your course participants. Every course element is linked to exactly one virtual classroom. Choose pre-configurations and define dates for meetings. The classroom will not be automatically opened when creating the course element, but refers to its configuration and has to be opened by the moderator or participant . +chelp.vc2=<b>Template for virtual classroom:</b> The given templates result in different pre-configurations for the classroom. +chelp.vc3=<b>Dates for meetings:</b> Define a random number of dates when the classroom shall be opened for meetings and can be entered by participants. \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/course/nodes/vitero/_spring/buildingblockContext.xml b/src/main/java/com/frentix/olat/course/nodes/vitero/_spring/buildingblockContext.xml new file mode 100644 index 0000000000000000000000000000000000000000..4f6e38432bda7123faea40328350f3500d33a293 --- /dev/null +++ b/src/main/java/com/frentix/olat/course/nodes/vitero/_spring/buildingblockContext.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:context="http://www.springframework.org/schema/context" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> + + <bean id="vitero" class="com.frentix.olat.course.nodes.vitero.ViteroCourseNodeConfiguration" scope="prototype"> + <property name="enabled" value="${course.node.vitero.enabled}" /> + <property name="order" value="301" /> + </bean> + +</beans> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/Repetitionpattern.java b/src/main/java/com/frentix/olat/vc/provider/vitero/Repetitionpattern.java deleted file mode 100644 index 1fac9268a427249adde64a93462b34ff9917ece0..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/Repetitionpattern.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.frentix.olat.vc.provider.vitero; - -public enum Repetitionpattern { - once, //no repetition (default) - daily, //every day - weekly, //every week - workdays, //only from monday to friday - weekends //only on saturday and sunday -} diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingConfiguration.java b/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingConfiguration.java deleted file mode 100644 index 99f28078878c085b7c7779aa714eb3a4a829abc3..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingConfiguration.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.frentix.olat.vc.provider.vitero; - -import de.bps.course.nodes.vc.DefaultVCConfiguration; - -/** - * - * Description:<br> - * TODO: srosse Class Description for ViteroBookingConfiguration - * - * <P> - * Initial Date: 26 sept. 2011 <br> - * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com - */ -public class ViteroBookingConfiguration extends DefaultVCConfiguration { - - private static final long serialVersionUID = 7658813481281328834L; - - private int bookingId; - - - public int getBookingId() { - return bookingId; - } - - public void setBookingId(int bookingId) { - this.bookingId = bookingId; - } - - - - @Override - public boolean isUseMeetingDates() { - return true; - } - - @Override - public boolean isConfigValid() { - return true; - } - - - -} diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingProvider.java b/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingProvider.java deleted file mode 100644 index 764d97f8364d8d81e2126f4027f95da2b86af8a2..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroBookingProvider.java +++ /dev/null @@ -1,332 +0,0 @@ -package com.frentix.olat.vc.provider.vitero; - -import java.net.URL; -import java.rmi.RemoteException; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -import javax.ws.rs.core.UriBuilder; - -import org.apache.axiom.om.OMElement; -import org.apache.axis2.AxisFault; -import org.apache.axis2.client.ServiceClient; -import org.olat.core.gui.UserRequest; -import org.olat.core.gui.control.Controller; -import org.olat.core.gui.control.WindowControl; -import org.olat.core.id.Identity; -import org.olat.core.logging.LogDelegator; -import org.olat.core.util.StringHelper; - -import com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub; -import com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.Bookingtype; - -import de.bps.course.nodes.vc.VCConfiguration; -import de.bps.course.nodes.vc.provider.VCProvider; - -/** - * - * Description:<br> - * Implementation of the Virtual Classroom for the Vitero Booking System - * - * <P> - * Initial Date: 26 sept. 2011 <br> - * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com - */ -public class ViteroBookingProvider extends LogDelegator implements VCProvider { - - private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddhhmm"); - - private boolean enabled; - private String providerId; - private String displayName; - private String protocol; - private int port; - private String baseUrl; - private String contextPath; - private String adminLogin; - private String adminPassword; - private String customerId; - - @Override - public VCProvider newInstance() { - ViteroBookingProvider provider = new ViteroBookingProvider(); - provider.enabled = enabled; - provider.providerId = providerId; - provider.displayName = displayName; - provider.protocol = protocol; - provider.port = port; - provider.baseUrl = baseUrl; - provider.contextPath = contextPath; - provider.adminLogin = adminLogin; - provider.adminPassword = adminPassword; - provider.customerId = customerId; - return provider; - } - - @Override - public boolean isEnabled() { - return enabled; - } - - public void setEnabled(boolean enabled) { - this.enabled = enabled; - } - - @Override - public String getProviderId() { - return providerId; - } - - public void setProviderId(String providerId) { - this.providerId = providerId; - } - - public String getProtocol() { - return protocol; - } - - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - public int getPort() { - return port; - } - - public void setPort(int port) { - this.port = port; - } - - public String getBaseUrl() { - return baseUrl; - } - - public void setBaseUrl(String baseUrl) { - this.baseUrl = baseUrl; - } - - public String getContextPath() { - return contextPath; - } - - public void setContextPath(String contextPath) { - this.contextPath = contextPath; - } - - @Override - public String getDisplayName() { - return displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - - public String getAdminLogin() { - return adminLogin; - } - - public void setAdminLogin(String adminLogin) { - this.adminLogin = adminLogin; - } - - public String getAdminPassword() { - return adminPassword; - } - - public void setAdminPassword(String adminPassword) { - this.adminPassword = adminPassword; - } - - public String getCustomerId() { - return customerId; - } - - public void setCustomerId(String customerId) { - this.customerId = customerId; - } - - @Override - public Map<String, String> getTemplates() { - return new HashMap<String,String>(); - } - - @Override - public boolean isProviderAvailable() { - return true; - } - - @Override - public boolean createClassroom(String roomId, String name, String description, Date begin, Date end, VCConfiguration config) { - ViteroBookingConfiguration vConfig = (ViteroBookingConfiguration)config; - Bookingtype booking = getBookingById(vConfig.getBookingId()); - if(booking != null) { - logInfo("Booking already exists: " + vConfig.getBookingId()); - return true; - } - - try { - BookingServiceStub bookingWs = getBookingWebService(); - BookingServiceStub.CreateBookingRequest createRequest = new BookingServiceStub.CreateBookingRequest(); - - BookingServiceStub.Newbookingtype newBooking = new BookingServiceStub.Newbookingtype(); - //mandatory - newBooking.setStart(format(begin)); - newBooking.setEnd(format(end)); - newBooking.setStartbuffer(15); - newBooking.setEndbuffer(15); - newBooking.setGroupid(1); - newBooking.setRoomsize(20); - - //optional - /* - newBooking.setIgnorefaults(false); - newBooking.setCafe(false); - newBooking.setCapture(false); - //phone - BookingServiceStub.Phonetype phone = new BookingServiceStub.Phonetype(); - phone.setDialout(false); - phone.setPhoneconference(false); - phone.setShowdialogue(false); - newBooking.setPhone(phone); - - newBooking.setPcstateokrequired(false); - newBooking.setRepetitionpattern("once"); - newBooking.setRepetitionenddate(""); - newBooking.setTimezone("Africa/Ceuta"); - */ - createRequest.setBooking(newBooking); - - BookingServiceStub.CreateBookingResponse response = bookingWs.createBooking(createRequest); - boolean bookingCollision = response.getBookingcollision(); - boolean moduleCollision = response.getModulecollision(); - int bookingId = response.getBookingid(); - - if(!bookingCollision && !moduleCollision) { - vConfig.setBookingId(bookingId); - return true; - } - return false; - } catch (RemoteException e) { - logError("", e); - return false; - } - } - - @Override - public boolean updateClassroom(String roomId, String name, String description, Date begin, Date end, VCConfiguration config) { - return false; - } - - @Override - public boolean removeClassroom(String roomId, VCConfiguration config) { - return false; - } - - @Override - public URL createClassroomUrl(String roomId, Identity identity, VCConfiguration config) { - return null; - } - - @Override - public URL createClassroomGuestUrl(String roomId, Identity identity, VCConfiguration config) { - return null; - } - - @Override - public boolean existsClassroom(String roomId, VCConfiguration config) { - return false; - } - - @Override - public boolean login(Identity identity, String password) { - return false; - } - - @Override - public boolean createModerator(Identity identity, String roomId) { - return false; - } - - @Override - public boolean createUser(Identity identity, String roomId) { - return false; - } - - @Override - public boolean createGuest(Identity identity, String roomId) { - return false; - } - - @Override - public Controller createDisplayController(UserRequest ureq, WindowControl wControl, String roomId, String name, String description, - boolean isModerator, VCConfiguration config) { - return new ViteroDisplayController(ureq, wControl, roomId, name, description, isModerator, (ViteroBookingConfiguration)config, this); - } - - @Override - public Controller createConfigController(UserRequest ureq, WindowControl wControl, String roomId, VCConfiguration config) { - return new ViteroConfigController(ureq, wControl, roomId, this, (ViteroBookingConfiguration)config); - } - - @Override - public VCConfiguration createNewConfiguration() { - return new ViteroBookingConfiguration(); - } - - protected Bookingtype getBookingById(int id) { - if(id < 0) return null; - - try { - BookingServiceStub bookingWs = getBookingWebService(); - BookingServiceStub.GetBookingByIdRequest bookingByIdRequest = new BookingServiceStub.GetBookingByIdRequest(); - BookingServiceStub.Bookingid bookingId = new BookingServiceStub.Bookingid(); - bookingId.setBookingid(id); - bookingByIdRequest.setGetBookingByIdRequest(bookingId); - BookingServiceStub.GetBookingByIdResponse response = bookingWs.getBookingById(bookingByIdRequest); - Bookingtype booking = response.getGetBookingByIdResponse(); - return booking; - } catch (RemoteException e) { - logError("Cannot get booking by id: " + id, e); - return null; - } - } - - protected BookingServiceStub getBookingWebService() { - try { - BookingServiceStub bookingWs = new BookingServiceStub(getVmsEndPoint()); - ServiceClient client = bookingWs._getServiceClient(); - OMElement securityEl = SecurityHeader.generateSecurityHeader("admin", "007"); - client.addHeader(securityEl); - return bookingWs; - } catch (AxisFault e) { - logError("Cannot create booking ws.", e); - return null; - } - } - - protected String getVmsEndPoint() { - UriBuilder builder = UriBuilder.fromUri(protocol + "://" + baseUrl).port(port); - if(StringHelper.containsNonWhitespace(contextPath)) { - builder = builder.path(contextPath); - } - builder.path("services"); - return builder.build().toString(); - } - - protected synchronized String format(Date date) { - return dateFormat.format(date); - } - - protected synchronized Date parse(String dateString) { - try { - return dateFormat.parse(dateString); - } catch (ParseException e) { - logError("Cannot parse a date: " + dateString, e); - return null; - } - } -} diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroConfigController.java b/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroConfigController.java deleted file mode 100644 index 05be2166f6c34e1fd6ab6c841205c7549afb5b1d..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroConfigController.java +++ /dev/null @@ -1,50 +0,0 @@ - -package com.frentix.olat.vc.provider.vitero; - -import org.olat.core.gui.UserRequest; -import org.olat.core.gui.components.Component; -import org.olat.core.gui.components.velocity.VelocityContainer; -import org.olat.core.gui.control.Controller; -import org.olat.core.gui.control.Event; -import org.olat.core.gui.control.WindowControl; -import org.olat.core.gui.control.controller.BasicController; - -/** - * - * Description:<br> - * TODO: srosse Class Description for ViteroConfigController - * - * <P> - * Initial Date: 26 sept. 2011 <br> - * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com - */ -public class ViteroConfigController extends BasicController { - - private VelocityContainer editVC; - - - protected ViteroConfigController(UserRequest ureq, WindowControl wControl, String roomId, ViteroBookingProvider adobe, ViteroBookingConfiguration config) { - super(ureq, wControl); - - - editVC = createVelocityContainer("edit"); - - putInitialPanel(editVC); - } - - @Override - protected void event(UserRequest ureq, Component source, Event event) { - // nothing to do - } - - @Override - protected void event(UserRequest ureq, Controller source, Event event) { - // - } - - @Override - protected void doDispose() { - - } - -} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroTestMain.java b/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroTestMain.java deleted file mode 100644 index 0b94a2af31830684afe49f9a13c880a4b1f63129..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/ViteroTestMain.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.frentix.olat.vc.provider.vitero; - -import com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.Bookingtype; - -public class ViteroTestMain { - - private final ViteroBookingProvider provider; - - public ViteroTestMain() { - provider = new ViteroBookingProvider(); - provider.setAdminLogin("admin"); - provider.setAdminPassword("007"); - provider.setProtocol("http"); - provider.setBaseUrl("192.168.1.54"); - provider.setPort(8080); - provider.setContextPath("vitero"); - } - - public static final void main(String[] args) { - new ViteroTestMain().testGetBookingById(3); - } - - public void testGetBookingById(int id) { - Bookingtype type = provider.getBookingById(id); - System.out.println(type.getBooking().getBookingid()); - } - - -} diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/_content/edit.html b/src/main/java/com/frentix/olat/vc/provider/vitero/_content/edit.html deleted file mode 100644 index 802992c4220de19a90767f3000a79a31b98d0df7..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/_content/edit.html +++ /dev/null @@ -1 +0,0 @@ -Hello world diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/_content/run.html b/src/main/java/com/frentix/olat/vc/provider/vitero/_content/run.html deleted file mode 100644 index 445a34418c4b3ab38a9f51a89cb10b49f23ae2a5..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/_content/run.html +++ /dev/null @@ -1 +0,0 @@ -Hello world (by Vitero) \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/_spring/viteroContext.xml b/src/main/java/com/frentix/olat/vc/provider/vitero/_spring/viteroContext.xml deleted file mode 100644 index 0549de94e92c6b580c884d7d074a991bd216e3fb..0000000000000000000000000000000000000000 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/_spring/viteroContext.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - - - <!-- Definition of the providers --> - <bean id="viteroProvider" class="com.frentix.olat.vc.provider.vitero.ViteroBookingProvider"> - <property name="enabled" value="${vc.vitero.enabled}" /> - <property name="providerId" value="vitero" /> - <property name="displayName" value="Vitero" /> - <property name="protocol" value="${vc.vitero.protocol}" /> - <property name="port" value="${vc.vitero.port}" /> - <property name="baseUrl" value="${vc.vitero.baseurl}" /> - <property name="contextPath" value="${vc.vitero.contextPath}" /> - <property name="adminLogin" value="${vc.vitero.adminlogin}" /> - <property name="adminPassword" value="${vc.vitero.adminpassword}" /> - <property name="customerId" value="${vc.vitero.customerid}" /> - </bean> - - -</beans> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ViteroModule.java b/src/main/java/com/frentix/olat/vitero/ViteroModule.java new file mode 100644 index 0000000000000000000000000000000000000000..b5b6897e54184537858da735627173818d07fa05 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ViteroModule.java @@ -0,0 +1,217 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero; + +import java.net.URI; + +import javax.ws.rs.core.UriBuilder; + +import org.olat.core.configuration.AbstractOLATModule; +import org.olat.core.configuration.ConfigOnOff; +import org.olat.core.configuration.PersistedProperties; +import org.olat.core.util.StringHelper; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroModule extends AbstractOLATModule implements ConfigOnOff { + + private static final String ENABLED = "vc.vitero.enabled"; + private static final String PROTOCOL = "protocol"; + private static final String PORT = "port"; + private static final String BASE_URL = "baseUrl"; + private static final String CONTEXT_PATH = "contextPath"; + private static final String ADMIN_LOGIN = "adminLogin"; + private static final String ADMIN_PASSWORD = "adminPassword"; + private static final String CUSTOMER_ID = "customerId"; + + private boolean enabled; + private String displayName; + private String protocol; + private int port; + private String baseUrl; + private String contextPath; + private String adminLogin; + private String adminPassword; + private int customerId; + + @Override + public void init() { + String enabledObj = getStringPropertyValue(ENABLED, true); + if(StringHelper.containsNonWhitespace(enabledObj)) { + enabled = "true".equals(enabledObj); + } + + String protocolObj = getStringPropertyValue(PROTOCOL, true); + if(StringHelper.containsNonWhitespace(protocolObj)) { + protocol = protocolObj; + } + String portObj = getStringPropertyValue(PORT, true); + if(StringHelper.containsNonWhitespace(portObj)) { + port = Integer.parseInt(portObj); + } + String baseUrlObj = getStringPropertyValue(BASE_URL, true); + if(StringHelper.containsNonWhitespace(baseUrlObj)) { + baseUrl = baseUrlObj; + } + String contextPathObj = getStringPropertyValue(CONTEXT_PATH, true); + if(StringHelper.containsNonWhitespace(contextPathObj)) { + contextPath = contextPathObj; + } + String adminLoginObj = getStringPropertyValue(ADMIN_LOGIN, true); + if(StringHelper.containsNonWhitespace(adminLoginObj)) { + adminLogin = adminLoginObj; + } + String adminPasswordObj = getStringPropertyValue(ADMIN_PASSWORD, true); + if(StringHelper.containsNonWhitespace(adminPasswordObj)) { + adminPassword = adminPasswordObj; + } + String customerIdObj = getStringPropertyValue(CUSTOMER_ID, true); + if(StringHelper.containsNonWhitespace(customerIdObj)) { + customerId = Integer.parseInt(customerIdObj); + } + } + + @Override + protected void initDefaultProperties() { + enabled = getBooleanConfigParameter(ENABLED, true); + protocol = getStringConfigParameter(PROTOCOL, "http", false); + port = getIntConfigParameter(PORT, 8080); + baseUrl = getStringConfigParameter(BASE_URL, "localhost", false); + contextPath = getStringConfigParameter(CONTEXT_PATH, "vitero", false); + adminLogin = getStringConfigParameter(ADMIN_LOGIN, "admin", false); + adminPassword = getStringConfigParameter(ADMIN_PASSWORD, "007", false); + customerId = Integer.parseInt(getStringConfigParameter(CUSTOMER_ID, "1", false)); + } + + @Override + protected void initFromChangedProperties() { + init(); + } + + @Override + public void setPersistedProperties(PersistedProperties persistedProperties) { + this.moduleConfigProperties = persistedProperties; + } + + public URI getVmsURI() { + UriBuilder builder = UriBuilder.fromUri(getProtocol() + "://" + getBaseUrl()); + if(getPort() > 0) { + builder = builder.port(getPort()); + } + if(StringHelper.containsNonWhitespace(getContextPath())) { + builder = builder.path(getContextPath()); + } + return builder.build(); + } + + public void setVmsURI(URI uri) { + String host = uri.getHost(); + setBaseUrl(host); + int port = uri.getPort(); + setPort(port); + String path = uri.getPath(); + if(StringHelper.containsNonWhitespace(path) && path.startsWith("/")) { + path = path.substring(1, path.length()); + } + setContextPath(path); + String scheme = uri.getScheme(); + setProtocol(scheme); + } + + public boolean isEnabled() { + return enabled; + } + + public void setEnabled(boolean enabled) { + setBooleanProperty(ENABLED, enabled, true); + } + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + setStringProperty(PROTOCOL, protocol, true); + } + + public int getPort() { + return port; + } + + public void setPort(int port) { + setStringProperty(PORT, Integer.toString(port), true); + } + + public String getBaseUrl() { + return baseUrl; + } + + public void setBaseUrl(String baseUrl) { + setStringProperty(BASE_URL, baseUrl, true); + } + + public String getContextPath() { + return contextPath; + } + + public void setContextPath(String contextPath) { + setStringProperty(CONTEXT_PATH, contextPath, true); + } + + public String getDisplayName() { + return displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getAdminLogin() { + return adminLogin; + } + + public void setAdminLogin(String adminLogin) { + setStringProperty(ADMIN_LOGIN, adminLogin, true); + } + + public String getAdminPassword() { + return adminPassword; + } + + public void setAdminPassword(String adminPassword) { + setStringProperty(ADMIN_PASSWORD, adminPassword, true); + } + + public int getCustomerId() { + return customerId; + } + + public void setCustomerId(int customerId) { + setStringProperty(CUSTOMER_ID, Integer.toString(customerId), true); + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ViteroUIFactory.java b/src/main/java/com/frentix/olat/vitero/ViteroUIFactory.java new file mode 100755 index 0000000000000000000000000000000000000000..202ca522f92b138b987199af940cc0372f822f07 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ViteroUIFactory.java @@ -0,0 +1,50 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero; + +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.WindowControl; + +import com.frentix.olat.vitero.ui.ViteroAdminController; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroUIFactory { + + /** + * Get a controller for admin-setup of Vitero Integration + * used directly over extension-config, therefore needs to be static + * @param ureq + * @param wControl + * @return + */ + public static Controller createViteroAdminController(UserRequest ureq, WindowControl wControl) { + return new ViteroAdminController(ureq, wControl); + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/_spring/viteroContext.xml b/src/main/java/com/frentix/olat/vitero/_spring/viteroContext.xml new file mode 100644 index 0000000000000000000000000000000000000000..cb54e37e179e74c9df0297fa47af42c2c62f87d7 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/_spring/viteroContext.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:context="http://www.springframework.org/schema/context" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/context + http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + + <context:annotation-config /> + <context:component-scan base-package="com.frentix.olat.vitero" /> + + <!-- Definition of the providers --> + <bean id="viteroModule" class="com.frentix.olat.vitero.ViteroModule"> + <property name="persistedProperties"> + <bean class="org.olat.core.configuration.PersistedProperties" scope="prototype" init-method="init" destroy-method="destroy" + depends-on="coordinatorManager,org.olat.core.util.WebappHelper"> + <constructor-arg index="0" ref="coordinatorManager"/> + <constructor-arg index="1" ref="viteroModule" /> + </bean> + </property> + + </bean> + + <!-- default configuration --> + <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> + <property name="targetObject" ref="viteroModule" /> + <property name="targetMethod" value="init" /> + <property name="arguments"> + <value> + vc.vitero.enabled=${vc.vitero.enabled} + protocol=${vc.vitero.protocol} + port=${vc.vitero.port} + baseUrl=${vc.vitero.baseurl} + contextPath=${vc.vitero.contextPath} + adminLogin=${vc.vitero.adminlogin} + adminPassword=${vc.vitero.adminpassword} + customerId=${vc.vitero.customerid} + </value> + </property> + </bean> + + <!-- Portfolio admin. panel --> + <bean class="org.olat.core.extensions.action.GenericActionExtension" init-method="initExtensionPoints"> + <property name="actionController"> + <bean class="org.olat.core.gui.control.creator.FactoryControllerCreator" scope="prototype"> + <property name="factoryName" value="com.frentix.olat.vitero.ViteroUIFactory"/> + <property name="factoryMethod" value="createViteroAdminController"/> + </bean> + </property> + <property name="i18nActionKey" value="admin.menu.title"/> + <property name="i18nDescriptionKey" value="admin.menu.title.alt"/> + <property name="translationPackage" value="com.frentix.olat.vitero.ui"/> + <property name="extensionPoints"> + <list> + <value>org.olat.admin.SystemAdminMainController</value> + </list> + </property> + <property name="order" value="39" /> + </bean> + + +</beans> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/SecurityHeader.java b/src/main/java/com/frentix/olat/vitero/manager/SecurityHeader.java similarity index 68% rename from src/main/java/com/frentix/olat/vc/provider/vitero/SecurityHeader.java rename to src/main/java/com/frentix/olat/vitero/manager/SecurityHeader.java index 2086a58c1136c5df15d641cf2f1e530f51ebedb7..c73693f2cdea31a028c0b3c52c2689fa7e21ef96 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/SecurityHeader.java +++ b/src/main/java/com/frentix/olat/vitero/manager/SecurityHeader.java @@ -1,4 +1,24 @@ -package com.frentix.olat.vc.provider.vitero; +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.manager; import java.text.SimpleDateFormat; import java.util.Date; @@ -14,11 +34,27 @@ import org.apache.axis2.client.ServiceClient; import org.apache.axis2.client.Stub; import org.apache.commons.codec.binary.Base64; +import com.frentix.olat.vitero.ViteroModule; + +/** + * + * Description:<br> + * Generate the SOAP header to authenticate against VMS + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ public class SecurityHeader { - public static void addAdminSecurityHeader(ViteroBookingProvider provider, Stub stub) { + public static void addAdminSecurityHeader(ViteroModule module, Stub stub) { + addAdminSecurityHeader(module.getAdminLogin(), module.getAdminPassword(), stub); + } + + public static void addAdminSecurityHeader(String login, String password, Stub stub) { ServiceClient client = stub._getServiceClient(); - OMElement securityEl = generateSecurityHeader(provider.getAdminLogin(), provider.getAdminPassword()); + OMElement securityEl = generateSecurityHeader(login, password); client.addHeader(securityEl); } diff --git a/src/main/java/com/frentix/olat/vitero/manager/ViteroManager.java b/src/main/java/com/frentix/olat/vitero/manager/ViteroManager.java new file mode 100644 index 0000000000000000000000000000000000000000..b7cb35c6078c0fa3d72bc70d00db0d91c10bfe4b --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/manager/ViteroManager.java @@ -0,0 +1,581 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.manager; + +import java.io.File; +import java.math.BigInteger; +import java.rmi.RemoteException; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import javax.activation.DataHandler; +import javax.activation.FileDataSource; +import javax.annotation.PostConstruct; +import javax.ws.rs.core.UriBuilder; + +import org.apache.axis2.AxisFault; +import org.olat.basesecurity.Authentication; +import org.olat.basesecurity.BaseSecurity; +import org.olat.core.id.Identity; +import org.olat.core.id.OLATResourceable; +import org.olat.core.id.User; +import org.olat.core.id.UserConstants; +import org.olat.core.manager.BasicManager; +import org.olat.core.util.StringHelper; +import org.olat.core.util.coordinate.CoordinatorManager; +import org.olat.core.util.coordinate.SyncerCallback; +import org.olat.core.util.xml.XStreamHelper; +import org.olat.group.BusinessGroup; +import org.olat.properties.Property; +import org.olat.properties.PropertyManager; +import org.olat.user.DisplayPortraitManager; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.frentix.olat.course.nodes.vitero.ViteroBookingConfiguration; +import com.frentix.olat.vitero.ViteroModule; +import com.frentix.olat.vitero.manager.stubs.BookingServiceStub; +import com.frentix.olat.vitero.manager.stubs.BookingServiceStub.Booking; +import com.frentix.olat.vitero.manager.stubs.BookingServiceStub.Bookinglist; +import com.frentix.olat.vitero.manager.stubs.BookingServiceStub.Bookingtype; +import com.frentix.olat.vitero.manager.stubs.CustomerServiceStub; +import com.frentix.olat.vitero.manager.stubs.LicenceServiceStub; +import com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.Rooms_type0; +import com.frentix.olat.vitero.manager.stubs.MtomServiceStub; +import com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub; +import com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.Codetype; +import com.frentix.olat.vitero.manager.stubs.UserServiceStub; +import com.frentix.olat.vitero.manager.stubs.UserServiceStub.Userid; +import com.frentix.olat.vitero.model.ViteroBooking; +import com.ibm.icu.util.Calendar; +import com.thoughtworks.xstream.XStream; + +/** + * + * Description:<br> + * Implementation of the Virtual Classroom for the Vitero Booking System + * + * <P> + * Initial Date: 26 sept. 2011 <br> + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +@Service +public class ViteroManager extends BasicManager { + + private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddhhmm"); + + private static final String VMS_PROVIDER = "VMS"; + private static final String VMS_CATEGORY = "vitero-category"; + private static final String COLLABORATION_TOOL_PROP_NAME = "collaboration-tool"; + + @Autowired + private ViteroModule viteroModule; + @Autowired + private PropertyManager propertyManager; + @Autowired + private CoordinatorManager coordinatorManager; + @Autowired + private BaseSecurity securityManager; + + private XStream xStream; + + public ViteroManager() { + //make Spring happy + } + + @PostConstruct + public void init() { + xStream = XStreamHelper.createXStreamInstance(); + xStream.alias("vBooking", ViteroBooking.class); + } + + public void setViteroModule(ViteroModule module) { + this.viteroModule = module; + } + + public void getLicence(Date begin, Date end) { + try { + LicenceServiceStub licenceWs = getLicenceWebService(); + LicenceServiceStub.GetBookableRoomsForGroupRequest request = new LicenceServiceStub.GetBookableRoomsForGroupRequest(); + LicenceServiceStub.Grouprequesttype groupRequest = new LicenceServiceStub.Grouprequesttype(); + groupRequest.setStart(format(begin)); + groupRequest.setEnd(format(end)); + + request.setGetBookableRoomsForGroupRequest(groupRequest); + + + LicenceServiceStub.GetBookableRoomsForGroupResponse response = licenceWs.getBookableRoomsForGroup(request); + Rooms_type0 rooms = response.getRooms(); + int[] roomSize = rooms.getRoomsize(); + System.out.println(roomSize); + } catch (RemoteException e) { + logError("", e); + } + } + + public List<ViteroBooking> getBookings(BusinessGroup group, OLATResourceable ores, Identity identity) { + int userId = getVmsUserId(identity); + Booking[] bookings = getBookingInFutureByCustomerId(userId); + return convert(bookings); + } + + public String getURLToBooking(Identity identity, ViteroBooking booking) { + String sessionCode = createSessionCode(identity, booking); + String url = getStartPoint(sessionCode); + return url; + } + + public String serializeViteroBooking(ViteroBooking booking) { + return xStream.toXML(booking); + } + + public ViteroBooking deserializeViteroBooking(String booking) { + return (ViteroBooking)xStream.fromXML(booking); + } + + /** + * Create a session code with a one hour expiration date + * @param identity + * @param booking + * @return + */ + protected String createSessionCode(Identity identity, ViteroBooking booking) { + try { + int userId = getVmsUserId(identity); + SessionCodeServiceStub sessionCodeWs = this.getSessionCodeWebService(); + SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest codeRequest = new SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest(); + + SessionCodeServiceStub.Sessioncode_type2 code = new SessionCodeServiceStub.Sessioncode_type2(); + code.setBookingid(booking.getBookingId()); + code.setUserid(userId); + + + Calendar cal = Calendar.getInstance(); + cal.setTime(new Date()); + cal.add(Calendar.HOUR, 1); + code.setExpirationdate(format(cal.getTime())); + + codeRequest.setSessioncode(code); + + SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse response = sessionCodeWs.createPersonalBookingSessionCode(codeRequest); + Codetype myCode = response.getCreatePersonalBookingSessionCodeResponse(); + return myCode.getCode(); + } catch (RemoteException e) { + logError("", e); + return null; + } + } + + public int getVmsUserId(Identity identity) { + int userId; + Authentication authentication = securityManager.findAuthentication(identity, VMS_PROVIDER); + if(authentication == null) { + userId = createVmsUser(identity); + if(userId > 0) { + securityManager.createAndPersistAuthentication(identity, VMS_PROVIDER, Integer.toString(userId), ""); + } + } else { + userId = Integer.parseInt(authentication.getAuthusername()); + } + return userId; + } + + protected int createVmsUser(Identity identity) { + try { + UserServiceStub userWs = this.getUserWebService(); + UserServiceStub.CreateUserRequest createRequest = new UserServiceStub.CreateUserRequest(); + UserServiceStub.Newusertype user = new UserServiceStub.Newusertype(); + + //mandatory + User olatUser = identity.getUser(); + user.setUsername("olat." + identity.getName()); + user.setSurname(olatUser.getProperty(UserConstants.LASTNAME, null)); + user.setFirstname(olatUser.getProperty(UserConstants.FIRSTNAME, null)); + user.setEmail(olatUser.getProperty(UserConstants.EMAIL, null)); + user.setPassword("changeme"); + + UserServiceStub.Idlist customerIds = new UserServiceStub.Idlist(); + customerIds.set_int(new int[]{viteroModule.getCustomerId()}); + user.setCustomeridlist(customerIds); + + //optional + user.setLocale("en"); + user.setPcstate("NOT_TESTED"); + + String street = olatUser.getProperty(UserConstants.STREET, null); + if(StringHelper.containsNonWhitespace(street)) { + user.setStreet(street); + } + String zip = olatUser.getProperty(UserConstants.ZIPCODE, null); + if(StringHelper.containsNonWhitespace(zip)) { + user.setZip(zip); + } + String city = olatUser.getProperty(UserConstants.CITY, null); + if(StringHelper.containsNonWhitespace(city)) { + user.setCity(city); + } + String country = olatUser.getProperty(UserConstants.COUNTRY, null); + if(StringHelper.containsNonWhitespace(country)) { + user.setCountry(country); + } + + String mobile = olatUser.getProperty(UserConstants.TELMOBILE, null); + if(StringHelper.containsNonWhitespace(mobile)) { + user.setMobile(mobile); + } + String phonePrivate = olatUser.getProperty(UserConstants.TELPRIVATE, null); + if(StringHelper.containsNonWhitespace(phonePrivate)) { + user.setPhone(phonePrivate); + } + String phoneOffice = olatUser.getProperty(UserConstants.TELOFFICE, null); + if(StringHelper.containsNonWhitespace(phoneOffice)) { + user.setPhone(phoneOffice); + } + + /* + user.setTitle(""); + user.setCompany(""); + user.setTimezone(""); + */ + user.setTechnicalnote("Generated by OpenOLAT"); + + createRequest.setUser(user); + UserServiceStub.CreateUserResponse response = userWs.createUser(createRequest); + Userid userId = response.getCreateUserResponse(); + + storePortrait(identity, userId.getUserid()); + + return userId.getUserid(); + } catch (RemoteException e) { + logError("Cannot create vms user.", e); + return -1; + } + } + + protected boolean storePortrait(Identity identity, int userId) { + try { + + File portraitDir = DisplayPortraitManager.getInstance().getPortraitDir(identity); + File portrait = new File(portraitDir, DisplayPortraitManager.PORTRAIT_BIG_FILENAME); + if(portrait.exists()) { + MtomServiceStub mtomWs = getMtomWebService(); + + MtomServiceStub.StoreAvatarRequest request = new MtomServiceStub.StoreAvatarRequest(); + MtomServiceStub.CompleteAvatarWrapper avatar = new MtomServiceStub.CompleteAvatarWrapper(); + + avatar.setType(BigInteger.ZERO); + avatar.setUserid(BigInteger.valueOf(userId)); + avatar.setFilename(portrait.getName()); + + DataHandler portraitHandler = new DataHandler(new FileDataSource(portrait)); + avatar.setFile(portraitHandler); + + request.setStoreAvatarRequest(avatar); + mtomWs.storeAvatar(request); + return true; + } + return false; + } catch (RemoteException e) { + logError("", e); + return false; + } + } + + public boolean createRoom(BusinessGroup group, OLATResourceable ores, Date begin, Date end, ViteroBookingConfiguration config) { + ViteroBookingConfiguration vConfig = (ViteroBookingConfiguration)config; + Bookingtype booking = getBookingById(vConfig.getBookingId()); + if(booking != null) { + logInfo("Booking already exists: " + vConfig.getBookingId()); + return true; + } + + try { + BookingServiceStub bookingWs = getBookingWebService(); + BookingServiceStub.CreateBookingRequest createRequest = new BookingServiceStub.CreateBookingRequest(); + + BookingServiceStub.Newbookingtype newBooking = new BookingServiceStub.Newbookingtype(); + //mandatory + newBooking.setStart(format(begin)); + newBooking.setEnd(format(end)); + newBooking.setStartbuffer(15); + newBooking.setEndbuffer(15); + newBooking.setGroupid(1); + newBooking.setRoomsize(20); + + //optional + /* + newBooking.setIgnorefaults(false); + newBooking.setCafe(false); + newBooking.setCapture(false); + //phone + BookingServiceStub.Phonetype phone = new BookingServiceStub.Phonetype(); + phone.setDialout(false); + phone.setPhoneconference(false); + phone.setShowdialogue(false); + newBooking.setPhone(phone); + + newBooking.setPcstateokrequired(false); + newBooking.setRepetitionpattern("once"); + newBooking.setRepetitionenddate(""); + newBooking.setTimezone("Africa/Ceuta"); + */ + createRequest.setBooking(newBooking); + + BookingServiceStub.CreateBookingResponse response = bookingWs.createBooking(createRequest); + boolean bookingCollision = response.getBookingcollision(); + boolean moduleCollision = response.getModulecollision(); + int bookingId = response.getBookingid(); + + if(!bookingCollision && !moduleCollision) { + vConfig.setBookingId(bookingId); + return true; + } + return false; + } catch (RemoteException e) { + logError("", e); + return false; + } + } + + public boolean deleteBooking(ViteroBooking vBooking) { + try { + Bookingtype booking = getBookingById(vBooking.getBookingId()); + if(booking == null) { + //already deleted, do nothing + return true; + } + + BookingServiceStub bookingWs = getBookingWebService(); + BookingServiceStub.DeleteBookingRequest deleteRequest = new BookingServiceStub.DeleteBookingRequest(); + deleteRequest.setBookingid(vBooking.getBookingId()); + BookingServiceStub.DeleteBookingResponse response = bookingWs.deleteBooking(deleteRequest); + + BigInteger state = response.getDeletestate(); + return state != null; + + } catch (RemoteException e) { + logError("", e); + return false; + } + } + + public boolean isConfigValid(ViteroBookingConfiguration config) { + return true; + } + + + + public boolean removeTeaRoom(String roomId, ViteroBookingConfiguration config) { + return false; + } + + protected Booking[] getBookingInFutureByCustomerId(int userId) { + try { + BookingServiceStub bookingWs = getBookingWebService(); + BookingServiceStub.GetBookingListByUserInFutureRequest request = new BookingServiceStub.GetBookingListByUserInFutureRequest(); + request.setUserid(userId); + + BookingServiceStub.GetBookingListByUserInFutureResponse response = bookingWs.getBookingListByUserInFuture(request); + Bookinglist bookingList = response.getGetBookingListByUserInFutureResponse(); + + return bookingList.getBooking(); + } catch (RemoteException e) { + logError("", e); + return null; + } + } + + protected List<ViteroBooking> convert(Booking[] bookings) { + List<ViteroBooking> viteroBookings = new ArrayList<ViteroBooking>(); + + if(bookings != null && bookings.length > 0) { + for(Booking b:bookings) { + viteroBookings.add(convert(b)); + } + } + + return viteroBookings; + } + + protected ViteroBooking convert(Booking booking) { + ViteroBooking vb = new ViteroBooking(); + vb.setBookingId(booking.getBookingid()); + vb.setGroupId(booking.getGroupid()); + vb.setRoomSize(booking.getRoomsize()); + vb.setStart(parse(booking.getStart())); + vb.setStartBuffer(booking.getEndbuffer()); + vb.setEnd(parse(booking.getEnd())); + vb.setEndBuffer(booking.getStartbuffer()); + return vb; + } + + protected void createTeaRoom(final BusinessGroup group, final OLATResourceable courseResource) { + OLATResourceable ores = group == null ? courseResource : group; + + + + Property prop = coordinatorManager.getCoordinator().getSyncer().doInSync(ores, new SyncerCallback<Property>() { + public Property execute() { + Property prop = null; + return prop; + } + }); + } + + protected Property getProperty(final BusinessGroup group, final OLATResourceable courseResource, String subName) { + if(group != null && !StringHelper.containsNonWhitespace(subName)) { + subName = COLLABORATION_TOOL_PROP_NAME; + } + return propertyManager.findProperty(null, group, courseResource, VMS_CATEGORY, subName); + } + + protected Property getOrCreateProperty(final BusinessGroup group, final OLATResourceable courseResource, String subName) { + Property property = getProperty(group, courseResource, subName); + + + return property; + } + + + protected Bookingtype getBookingById(int id) { + if(id < 0) return null; + + try { + BookingServiceStub bookingWs = getBookingWebService(); + BookingServiceStub.GetBookingByIdRequest bookingByIdRequest = new BookingServiceStub.GetBookingByIdRequest(); + BookingServiceStub.Bookingid bookingId = new BookingServiceStub.Bookingid(); + bookingId.setBookingid(id); + bookingByIdRequest.setGetBookingByIdRequest(bookingId); + BookingServiceStub.GetBookingByIdResponse response = bookingWs.getBookingById(bookingByIdRequest); + Bookingtype booking = response.getGetBookingByIdResponse(); + return booking; + } catch (RemoteException e) { + logError("Cannot get booking by id: " + id, e); + return null; + } + } + + public boolean checkConnection(String url, String login, String password, int customerId) { + try { + CustomerServiceStub customerWs = new CustomerServiceStub(url + "/services"); + SecurityHeader.addAdminSecurityHeader(login, password, customerWs); + + CustomerServiceStub.GetCustomerRequest cRequest = new CustomerServiceStub.GetCustomerRequest(); + CustomerServiceStub.Customerid id = new CustomerServiceStub.Customerid(); + id.setCustomerid(customerId); + cRequest.setGetCustomerRequest(id); + CustomerServiceStub.GetCustomerResponse response = customerWs.getCustomer(cRequest); + if(response == null) return false; + CustomerServiceStub.Customer customer = response.getGetCustomerResponse(); + if(customer == null) return false; + CustomerServiceStub.Customertype customerType = customer.getCustomer(); + if(customerType == null) return false; + return customerType.getId() > -1; + } catch (Exception e) { + logWarn("Error checking connection", e); + return false; + } + } + + protected BookingServiceStub getBookingWebService() { + try { + BookingServiceStub bookingWs = new BookingServiceStub(getVmsEndPoint()); + SecurityHeader.addAdminSecurityHeader(viteroModule, bookingWs); + return bookingWs; + } catch (AxisFault e) { + logError("Cannot create booking ws.", e); + return null; + } + } + + protected LicenceServiceStub getLicenceWebService() { + try { + LicenceServiceStub licenceWs = new LicenceServiceStub(getVmsEndPoint()); + SecurityHeader.addAdminSecurityHeader(viteroModule, licenceWs); + return licenceWs; + } catch (AxisFault e) { + logError("Cannot create licence ws.", e); + return null; + } + } + + protected UserServiceStub getUserWebService() { + try { + UserServiceStub userWs = new UserServiceStub(getVmsEndPoint()); + SecurityHeader.addAdminSecurityHeader(viteroModule, userWs); + return userWs; + } catch (AxisFault e) { + logError("Cannot create user ws.", e); + return null; + } + } + + protected MtomServiceStub getMtomWebService() { + try { + MtomServiceStub mtomWs = new MtomServiceStub(getVmsEndPoint()); + SecurityHeader.addAdminSecurityHeader(viteroModule, mtomWs); + return mtomWs; + } catch (AxisFault e) { + logError("Cannot create user ws.", e); + return null; + } + } + + protected SessionCodeServiceStub getSessionCodeWebService() { + try { + SessionCodeServiceStub sessionCodeWs = new SessionCodeServiceStub(getVmsEndPoint()); + SecurityHeader.addAdminSecurityHeader(viteroModule, sessionCodeWs); + return sessionCodeWs; + } catch (AxisFault e) { + logError("Cannot create user ws.", e); + return null; + } + } + + protected String getVmsEndPoint() { + UriBuilder builder = UriBuilder.fromUri(viteroModule.getVmsURI()); + builder.path("services"); + return builder.build().toString(); + } + + protected String getStartPoint(String sessionCode) { + UriBuilder builder = UriBuilder.fromUri(viteroModule.getVmsURI() ); + builder.path("start.html"); + builder.queryParam("sessionCode", sessionCode); + return builder.build().toString(); + } + + protected synchronized String format(Date date) { + return dateFormat.format(date); + } + + protected synchronized Date parse(String dateString) { + try { + return dateFormat.parse(dateString); + } catch (ParseException e) { + logError("Cannot parse a date: " + dateString, e); + return null; + } + } +} diff --git a/src/main/java/com/frentix/olat/vitero/manager/ViteroTestMain.java b/src/main/java/com/frentix/olat/vitero/manager/ViteroTestMain.java new file mode 100644 index 0000000000000000000000000000000000000000..bd4b4bca2cd094a7406943c61ed34e912be06892 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/manager/ViteroTestMain.java @@ -0,0 +1,77 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.manager; + +import java.util.Date; + +import com.frentix.olat.vitero.ViteroModule; +import com.frentix.olat.vitero.manager.stubs.BookingServiceStub.Bookingtype; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroTestMain { + + private final ViteroModule module; + private final ViteroManager manager; + + public ViteroTestMain() { + module = new ViteroModule(); + module.setAdminLogin("admin"); + module.setAdminPassword("007"); + module.setProtocol("http"); + module.setBaseUrl("192.168.1.54"); + module.setPort(8080); + module.setContextPath("vitero"); + + manager = new ViteroManager(); + manager.setViteroModule(module); + } + + public static final void main(String[] args) { + ViteroTestMain main = new ViteroTestMain(); + + //booking by id + //new ViteroTestMain().testGetBookingById(3); + + //licence + main.testGetLicense(); + } + + public void testGetBookingById(int id) { + Bookingtype type = manager.getBookingById(id); + System.out.println(type.getBooking().getBookingid()); + } + + public void testGetLicense() { + + manager.getLicence(new Date(), new Date()); + System.out.println("Licence"); + } + + +} diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceCallbackHandler.java similarity index 85% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceCallbackHandler.java index 495936972b952694e85d8368867b8b745af5113d..68ea61d637bd28b1fd4546626a2584942667ba7b 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * BookingServiceCallbackHandler Callback class, Users can extend this class and implement @@ -51,7 +51,7 @@ * override this method for handling normal response from getBookingListByGroupInFuture operation */ public void receiveResultgetBookingListByGroupInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse result ) { } @@ -67,7 +67,7 @@ * override this method for handling normal response from createBooking operation */ public void receiveResultcreateBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse result ) { } @@ -83,7 +83,7 @@ * override this method for handling normal response from getBookingListByDate operation */ public void receiveResultgetBookingListByDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse result ) { } @@ -99,7 +99,7 @@ * override this method for handling normal response from getBookingListByUserAndDate operation */ public void receiveResultgetBookingListByUserAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse result ) { } @@ -115,7 +115,7 @@ * override this method for handling normal response from getBookingListByUserInFuture operation */ public void receiveResultgetBookingListByUserInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse result ) { } @@ -131,7 +131,7 @@ * override this method for handling normal response from getBookingTimeById operation */ public void receiveResultgetBookingTimeById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse result ) { } @@ -147,7 +147,7 @@ * override this method for handling normal response from getBookingById operation */ public void receiveResultgetBookingById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse result ) { } @@ -163,7 +163,7 @@ * override this method for handling normal response from deleteBooking operation */ public void receiveResultdeleteBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse result ) { } @@ -179,7 +179,7 @@ * override this method for handling normal response from getBookingByBookingTimeId operation */ public void receiveResultgetBookingByBookingTimeId( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse result ) { } @@ -195,7 +195,7 @@ * override this method for handling normal response from getBookingListByGroupAndDate operation */ public void receiveResultgetBookingListByGroupAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse result + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceStub.java index bbc0126aaf329c92346369932bd5fff618308fe3..e3c247e69ec1a693fc609ad0b25bcb028e6f2e50 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/BookingServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/BookingServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -258,9 +258,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse getBookingListByGroupInFuture( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse getBookingListByGroupInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest getBookingListByGroupInFutureRequest1) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest getBookingListByGroupInFutureRequest1) throws java.rmi.RemoteException @@ -310,11 +310,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -376,9 +376,9 @@ */ public void startgetBookingListByGroupInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest getBookingListByGroupInFutureRequest1, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest getBookingListByGroupInFutureRequest1, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -421,10 +421,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingListByGroupInFuture( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingListByGroupInFuture(e); @@ -523,9 +523,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse createBooking( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse createBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest createBookingRequest3) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest createBookingRequest3) throws java.rmi.RemoteException @@ -575,11 +575,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -641,9 +641,9 @@ */ public void startcreateBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest createBookingRequest3, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest createBookingRequest3, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -686,10 +686,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultcreateBooking( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorcreateBooking(e); @@ -788,9 +788,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse getBookingListByDate( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse getBookingListByDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest getBookingListByDateRequest5) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest getBookingListByDateRequest5) throws java.rmi.RemoteException @@ -840,11 +840,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -906,9 +906,9 @@ */ public void startgetBookingListByDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest getBookingListByDateRequest5, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest getBookingListByDateRequest5, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -951,10 +951,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingListByDate( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingListByDate(e); @@ -1053,9 +1053,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse getBookingListByUserAndDate( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse getBookingListByUserAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest getBookingListByUserAndDateRequest7) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest getBookingListByUserAndDateRequest7) throws java.rmi.RemoteException @@ -1105,11 +1105,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1171,9 +1171,9 @@ */ public void startgetBookingListByUserAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest getBookingListByUserAndDateRequest7, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest getBookingListByUserAndDateRequest7, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1216,10 +1216,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingListByUserAndDate( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingListByUserAndDate(e); @@ -1318,9 +1318,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse getBookingListByUserInFuture( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse getBookingListByUserInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest getBookingListByUserInFutureRequest9) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest getBookingListByUserInFutureRequest9) throws java.rmi.RemoteException @@ -1370,11 +1370,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1436,9 +1436,9 @@ */ public void startgetBookingListByUserInFuture( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest getBookingListByUserInFutureRequest9, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest getBookingListByUserInFutureRequest9, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1481,10 +1481,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingListByUserInFuture( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingListByUserInFuture(e); @@ -1583,9 +1583,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse getBookingTimeById( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse getBookingTimeById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest getBookingTimeByIdRequest11) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest getBookingTimeByIdRequest11) throws java.rmi.RemoteException @@ -1635,11 +1635,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1701,9 +1701,9 @@ */ public void startgetBookingTimeById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest getBookingTimeByIdRequest11, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest getBookingTimeByIdRequest11, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1746,10 +1746,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingTimeById( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingTimeById(e); @@ -1848,9 +1848,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse getBookingById( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse getBookingById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest getBookingByIdRequest13) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest getBookingByIdRequest13) throws java.rmi.RemoteException @@ -1900,11 +1900,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1966,9 +1966,9 @@ */ public void startgetBookingById( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest getBookingByIdRequest13, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest getBookingByIdRequest13, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -2011,10 +2011,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingById( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingById(e); @@ -2113,9 +2113,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse deleteBooking( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse deleteBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest deleteBookingRequest15) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest deleteBookingRequest15) throws java.rmi.RemoteException @@ -2165,11 +2165,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -2231,9 +2231,9 @@ */ public void startdeleteBooking( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest deleteBookingRequest15, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest deleteBookingRequest15, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -2276,10 +2276,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultdeleteBooking( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrordeleteBooking(e); @@ -2378,9 +2378,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse getBookingByBookingTimeId( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse getBookingByBookingTimeId( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest getBookingByBookingTimeIdRequest17) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest getBookingByBookingTimeIdRequest17) throws java.rmi.RemoteException @@ -2430,11 +2430,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -2496,9 +2496,9 @@ */ public void startgetBookingByBookingTimeId( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest getBookingByBookingTimeIdRequest17, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest getBookingByBookingTimeIdRequest17, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -2541,10 +2541,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingByBookingTimeId( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingByBookingTimeId(e); @@ -2643,9 +2643,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse getBookingListByGroupAndDate( + public com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse getBookingListByGroupAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest getBookingListByGroupAndDateRequest19) + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest getBookingListByGroupAndDateRequest19) throws java.rmi.RemoteException @@ -2695,11 +2695,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse)object; + return (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -2761,9 +2761,9 @@ */ public void startgetBookingListByGroupAndDate( - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest getBookingListByGroupAndDateRequest19, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest getBookingListByGroupAndDateRequest19, - final com.frentix.olat.vc.provider.vitero.stubs.BookingServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.BookingServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -2806,10 +2806,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class, + com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookingListByGroupAndDate( - (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse)object); + (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookingListByGroupAndDate(e); @@ -22939,12 +22939,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -22953,12 +22953,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -22967,12 +22967,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -22981,12 +22981,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -22995,12 +22995,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23009,12 +23009,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23023,12 +23023,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23037,12 +23037,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23051,12 +23051,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23065,12 +23065,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23079,12 +23079,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23093,12 +23093,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23107,12 +23107,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23121,12 +23121,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23135,12 +23135,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23149,12 +23149,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23163,12 +23163,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23177,12 +23177,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23191,12 +23191,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23205,12 +23205,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23219,12 +23219,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23234,14 +23234,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23255,14 +23255,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23276,14 +23276,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23297,14 +23297,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23318,14 +23318,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23339,14 +23339,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23360,14 +23360,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23381,14 +23381,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23402,14 +23402,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23423,14 +23423,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -23460,149 +23460,149 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupInFutureResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.CreateBookingResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.CreateBookingResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserAndDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByUserInFutureResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingTimeByIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingTimeByIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.DeleteBookingResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.DeleteBookingResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingByBookingTimeIdResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.BookingServiceStub.GetBookingListByGroupAndDateResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceCallbackHandler.java similarity index 91% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceCallbackHandler.java index a238e746987ef61ce3ee666706407ebd210b2d02..89b42e9b852117ee4f6161cf1afe87efc5c05d5b 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * CmsServiceCallbackHandler Callback class, Users can extend this class and implement @@ -61,7 +61,7 @@ * override this method for handling normal response from getCustomerFolder operation */ public void receiveResultgetCustomerFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse result + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse result ) { } @@ -79,7 +79,7 @@ * override this method for handling normal response from getGroupFolder operation */ public void receiveResultgetGroupFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse result + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceStub.java index 2ab08e99898f7a157af4153154f14cd605a92f2e..fca0aa57fd74069fd7ea05067541ff6e1515e693 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CmsServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/CmsServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -230,7 +230,7 @@ * */ public void changeDisplaytype( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest changeDisplaytypeRequest0 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest changeDisplaytypeRequest0 ) throws java.rmi.RemoteException @@ -283,7 +283,7 @@ * */ public void renameNode( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest renameNodeRequest1 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest renameNodeRequest1 ) throws java.rmi.RemoteException @@ -336,7 +336,7 @@ * */ public void deleteNode( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest deleteNodeRequest2 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest deleteNodeRequest2 ) throws java.rmi.RemoteException @@ -389,7 +389,7 @@ * */ public void createFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest createFolderRequest4 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest createFolderRequest4 ) throws java.rmi.RemoteException @@ -442,7 +442,7 @@ * */ public void moveNode( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest moveNodeRequest5 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest moveNodeRequest5 ) throws java.rmi.RemoteException @@ -499,9 +499,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse getCustomerFolder( + public com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse getCustomerFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest getCustomerFolderRequest6) + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest getCustomerFolderRequest6) throws java.rmi.RemoteException @@ -551,11 +551,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse.class, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -617,9 +617,9 @@ */ public void startgetCustomerFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest getCustomerFolderRequest6, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest getCustomerFolderRequest6, - final com.frentix.olat.vc.provider.vitero.stubs.CmsServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CmsServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -662,10 +662,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse.class, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetCustomerFolder( - (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse)object); + (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetCustomerFolder(e); @@ -760,7 +760,7 @@ * */ public void copyNode( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest copyNodeRequest8 + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest copyNodeRequest8 ) throws java.rmi.RemoteException @@ -817,9 +817,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse getGroupFolder( + public com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse getGroupFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest getGroupFolderRequest9) + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest getGroupFolderRequest9) throws java.rmi.RemoteException @@ -869,11 +869,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse.class, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -935,9 +935,9 @@ */ public void startgetGroupFolder( - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest getGroupFolderRequest9, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest getGroupFolderRequest9, - final com.frentix.olat.vc.provider.vitero.stubs.CmsServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CmsServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -980,10 +980,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse.class, + com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetGroupFolder( - (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse)object); + (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetGroupFolder(e); @@ -9082,12 +9082,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9096,12 +9096,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9110,12 +9110,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9124,12 +9124,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9138,12 +9138,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9152,12 +9152,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9166,12 +9166,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9180,12 +9180,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9194,12 +9194,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9208,12 +9208,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9222,12 +9222,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9237,14 +9237,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9258,14 +9258,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9279,14 +9279,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9300,14 +9300,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9321,14 +9321,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9342,14 +9342,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9363,14 +9363,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9384,14 +9384,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -9421,79 +9421,79 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.ChangeDisplaytypeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.ChangeDisplaytypeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.RenameNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.RenameNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.DeleteNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.DeleteNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CreateFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CreateFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.MoveNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.MoveNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetCustomerFolderResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetCustomerFolderResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.CopyNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.CopyNodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CmsServiceStub.GetGroupFolderResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CmsServiceStub.GetGroupFolderResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceCallbackHandler.java similarity index 88% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceCallbackHandler.java index c3850b85fc5c115f6716aa6a6eae12ca3f39c2ef..70789aaad8407cadd70b43ffb5a37dbad8a4a28e 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * CustomerServiceCallbackHandler Callback class, Users can extend this class and implement @@ -49,7 +49,7 @@ * override this method for handling normal response from getCustomerByName operation */ public void receiveResultgetCustomerByName( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse result + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse result ) { } @@ -65,7 +65,7 @@ * override this method for handling normal response from getCustomerList operation */ public void receiveResultgetCustomerList( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse result + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse result ) { } @@ -89,7 +89,7 @@ * override this method for handling normal response from createCustomer operation */ public void receiveResultcreateCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse result + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse result ) { } @@ -109,7 +109,7 @@ * override this method for handling normal response from getCustomer operation */ public void receiveResultgetCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse result + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceStub.java index 1862b481df6950160e8150bd59ec20b2de215618..d5f43960532dceac12bc51ac7459d31cdea60d5e 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/CustomerServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/CustomerServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -258,9 +258,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse getCustomerByName( + public com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse getCustomerByName( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest getCustomerByNameRequest0) + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest getCustomerByNameRequest0) throws java.rmi.RemoteException @@ -310,11 +310,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -376,9 +376,9 @@ */ public void startgetCustomerByName( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest getCustomerByNameRequest0, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest getCustomerByNameRequest0, - final com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CustomerServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -421,10 +421,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetCustomerByName( - (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse)object); + (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetCustomerByName(e); @@ -523,9 +523,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse getCustomerList( + public com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse getCustomerList( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest getCustomerListRequest2) + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest getCustomerListRequest2) throws java.rmi.RemoteException @@ -575,11 +575,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -641,9 +641,9 @@ */ public void startgetCustomerList( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest getCustomerListRequest2, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest getCustomerListRequest2, - final com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CustomerServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -686,10 +686,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetCustomerList( - (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse)object); + (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetCustomerList(e); @@ -784,7 +784,7 @@ * */ public void moveAllUsersToCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest moveAllUsersToCustomerRequest5 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest moveAllUsersToCustomerRequest5 ) throws java.rmi.RemoteException @@ -837,7 +837,7 @@ * */ public void addUserToCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest addUserToCustomerRequest6 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest addUserToCustomerRequest6 ) throws java.rmi.RemoteException @@ -890,7 +890,7 @@ * */ public void deleteCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest deleteCustomerRequest7 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest deleteCustomerRequest7 ) throws java.rmi.RemoteException @@ -947,9 +947,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse createCustomer( + public com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse createCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest createCustomerRequest8) + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest createCustomerRequest8) throws java.rmi.RemoteException @@ -999,11 +999,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1065,9 +1065,9 @@ */ public void startcreateCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest createCustomerRequest8, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest createCustomerRequest8, - final com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CustomerServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1110,10 +1110,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultcreateCustomer( - (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse)object); + (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorcreateCustomer(e); @@ -1208,7 +1208,7 @@ * */ public void moveUserToCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest moveUserToCustomerRequest10 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest moveUserToCustomerRequest10 ) throws java.rmi.RemoteException @@ -1261,7 +1261,7 @@ * */ public void updateCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest updateCustomerRequest11 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest updateCustomerRequest11 ) throws java.rmi.RemoteException @@ -1318,9 +1318,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse getCustomer( + public com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse getCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest getCustomerRequest12) + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest getCustomerRequest12) throws java.rmi.RemoteException @@ -1370,11 +1370,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse)object; + return (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1436,9 +1436,9 @@ */ public void startgetCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest getCustomerRequest12, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest getCustomerRequest12, - final com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.CustomerServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1481,10 +1481,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetCustomer( - (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse)object); + (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetCustomer(e); @@ -1579,7 +1579,7 @@ * */ public void removeUserFromCustomer( - com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest removeUserFromCustomerRequest14 + com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest removeUserFromCustomerRequest14 ) throws java.rmi.RemoteException @@ -12515,12 +12515,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12529,12 +12529,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12543,12 +12543,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12557,12 +12557,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12571,12 +12571,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12585,12 +12585,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12599,12 +12599,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12613,12 +12613,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12627,12 +12627,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12641,12 +12641,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12655,12 +12655,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12669,12 +12669,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12683,12 +12683,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12697,12 +12697,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12711,12 +12711,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12726,14 +12726,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12747,14 +12747,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12768,14 +12768,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12789,14 +12789,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12810,14 +12810,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12831,14 +12831,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12852,14 +12852,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12873,14 +12873,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12894,14 +12894,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12915,14 +12915,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12952,107 +12952,107 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerByNameResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerByNameResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerListResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerListResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveAllUsersToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.AddUserToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.AddUserToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.DeleteCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.DeleteCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.CreateCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.CreateCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.MoveUserToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.MoveUserToCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.UpdateCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.UpdateCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.GetCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.GetCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.CustomerServiceStub.RemoveUserFromCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceCallbackHandler.java similarity index 88% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceCallbackHandler.java index 044dab5ba42fdafe10eb8fd02733fc8385ed4f02..53f39080dcc993edaa3a687c7bd3328cdcd9df15 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * GroupServiceCallbackHandler Callback class, Users can extend this class and implement @@ -51,7 +51,7 @@ * override this method for handling normal response from getGroupListByCustomer operation */ public void receiveResultgetGroupListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse result + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse result ) { } @@ -67,7 +67,7 @@ * override this method for handling normal response from getGroupByName operation */ public void receiveResultgetGroupByName( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse result + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse result ) { } @@ -93,7 +93,7 @@ * override this method for handling normal response from getGroup operation */ public void receiveResultgetGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse result + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse result ) { } @@ -109,7 +109,7 @@ * override this method for handling normal response from createGroup operation */ public void receiveResultcreateGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse result + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceStub.java index d33f8abc65045d361c2810bf04ef19a264244ad9..9260b86bff7600778ab96e561a123862b73086fb 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/GroupServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/GroupServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -242,7 +242,7 @@ * */ public void addUserToGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest addUserToGroupRequest0 + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest addUserToGroupRequest0 ) throws java.rmi.RemoteException @@ -299,9 +299,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse getGroupListByCustomer( + public com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse getGroupListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest getGroupListByCustomerRequest1) + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest getGroupListByCustomerRequest1) throws java.rmi.RemoteException @@ -351,11 +351,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse)object; + return (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -417,9 +417,9 @@ */ public void startgetGroupListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest getGroupListByCustomerRequest1, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest getGroupListByCustomerRequest1, - final com.frentix.olat.vc.provider.vitero.stubs.GroupServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.GroupServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -462,10 +462,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetGroupListByCustomer( - (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse)object); + (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetGroupListByCustomer(e); @@ -564,9 +564,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse getGroupByName( + public com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse getGroupByName( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest getGroupByNameRequest3) + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest getGroupByNameRequest3) throws java.rmi.RemoteException @@ -616,11 +616,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse)object; + return (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -682,9 +682,9 @@ */ public void startgetGroupByName( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest getGroupByNameRequest3, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest getGroupByNameRequest3, - final com.frentix.olat.vc.provider.vitero.stubs.GroupServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.GroupServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -727,10 +727,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetGroupByName( - (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse)object); + (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetGroupByName(e); @@ -825,7 +825,7 @@ * */ public void deleteGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest deleteGroupRequest6 + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest deleteGroupRequest6 ) throws java.rmi.RemoteException @@ -878,7 +878,7 @@ * */ public void updateGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest updateGroupRequest7 + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest updateGroupRequest7 ) throws java.rmi.RemoteException @@ -931,7 +931,7 @@ * */ public void removeUserFromGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest removeUserFromGroupRequest8 + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest removeUserFromGroupRequest8 ) throws java.rmi.RemoteException @@ -984,7 +984,7 @@ * */ public void changeGroupRole( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest changeGroupRoleRequest9 + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest changeGroupRoleRequest9 ) throws java.rmi.RemoteException @@ -1041,9 +1041,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse getGroup( + public com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse getGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest getGroupRequest10) + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest getGroupRequest10) throws java.rmi.RemoteException @@ -1093,11 +1093,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse)object; + return (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1159,9 +1159,9 @@ */ public void startgetGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest getGroupRequest10, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest getGroupRequest10, - final com.frentix.olat.vc.provider.vitero.stubs.GroupServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.GroupServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1204,10 +1204,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetGroup( - (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse)object); + (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetGroup(e); @@ -1306,9 +1306,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse createGroup( + public com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse createGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest createGroupRequest12) + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest createGroupRequest12) throws java.rmi.RemoteException @@ -1358,11 +1358,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse)object; + return (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1424,9 +1424,9 @@ */ public void startcreateGroup( - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest createGroupRequest12, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest createGroupRequest12, - final com.frentix.olat.vc.provider.vitero.stubs.GroupServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.GroupServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1469,10 +1469,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultcreateGroup( - (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse)object); + (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorcreateGroup(e); @@ -11978,12 +11978,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -11992,12 +11992,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12006,12 +12006,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12020,12 +12020,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12034,12 +12034,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12048,12 +12048,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12062,12 +12062,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12076,12 +12076,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12090,12 +12090,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12104,12 +12104,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12118,12 +12118,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12132,12 +12132,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12146,12 +12146,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12160,12 +12160,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12175,14 +12175,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12196,14 +12196,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12217,14 +12217,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12238,14 +12238,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12259,14 +12259,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12280,14 +12280,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12301,14 +12301,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12322,14 +12322,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12343,14 +12343,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -12380,100 +12380,100 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.AddUserToGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.AddUserToGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupListByCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupListByCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupByNameResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupByNameResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.DeleteGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.DeleteGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.UpdateGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.UpdateGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.RemoveUserFromGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.RemoveUserFromGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.ChangeGroupRoleRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.ChangeGroupRoleRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.GetGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.GetGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.GroupServiceStub.CreateGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.GroupServiceStub.CreateGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceCallbackHandler.java similarity index 86% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceCallbackHandler.java index e7ea8c0844356a04a18f421bf9c96cfe907f7047..c9c2e76c520ac74cf695e68a8ea52e00ed20a03c 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * LicenceServiceCallbackHandler Callback class, Users can extend this class and implement @@ -49,7 +49,7 @@ * override this method for handling normal response from getBookableModulesForGroup operation */ public void receiveResultgetBookableModulesForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse result ) { } @@ -67,7 +67,7 @@ * override this method for handling normal response from groupHasBookableModule operation */ public void receiveResultgroupHasBookableModule( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse result ) { } @@ -83,7 +83,7 @@ * override this method for handling normal response from getAllModules operation */ public void receiveResultgetAllModules( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse result ) { } @@ -99,7 +99,7 @@ * override this method for handling normal response from getModulesForCustomer operation */ public void receiveResultgetModulesForCustomer( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse result ) { } @@ -115,7 +115,7 @@ * override this method for handling normal response from isPhoneAvailable operation */ public void receiveResultisPhoneAvailable( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse result ) { } @@ -131,7 +131,7 @@ * override this method for handling normal response from getBookableRoomsForGroup operation */ public void receiveResultgetBookableRoomsForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse result + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceStub.java index e6059514ad7050089bc621e6ebed46eedb78b71f..8d061b67215052244c7397125cea0be42ed7857e 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/LicenceServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/LicenceServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -210,9 +210,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse getBookableModulesForGroup( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse getBookableModulesForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest getBookableModulesForGroupRequest0) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest getBookableModulesForGroupRequest0) throws java.rmi.RemoteException @@ -262,11 +262,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -328,9 +328,9 @@ */ public void startgetBookableModulesForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest getBookableModulesForGroupRequest0, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest getBookableModulesForGroupRequest0, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -373,10 +373,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookableModulesForGroup( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookableModulesForGroup(e); @@ -475,9 +475,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse groupHasBookableModule( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse groupHasBookableModule( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest groupHasBookableModuleRequest3) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest groupHasBookableModuleRequest3) throws java.rmi.RemoteException @@ -527,11 +527,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -593,9 +593,9 @@ */ public void startgroupHasBookableModule( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest groupHasBookableModuleRequest3, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest groupHasBookableModuleRequest3, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -638,10 +638,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgroupHasBookableModule( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgroupHasBookableModule(e); @@ -740,9 +740,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse getAllModules( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse getAllModules( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest getAllModulesRequest5) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest getAllModulesRequest5) throws java.rmi.RemoteException @@ -792,11 +792,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -858,9 +858,9 @@ */ public void startgetAllModules( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest getAllModulesRequest5, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest getAllModulesRequest5, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -903,10 +903,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetAllModules( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetAllModules(e); @@ -1005,9 +1005,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse getModulesForCustomer( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse getModulesForCustomer( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest getModulesForCustomerRequest7) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest getModulesForCustomerRequest7) throws java.rmi.RemoteException @@ -1057,11 +1057,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1123,9 +1123,9 @@ */ public void startgetModulesForCustomer( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest getModulesForCustomerRequest7, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest getModulesForCustomerRequest7, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1168,10 +1168,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetModulesForCustomer( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetModulesForCustomer(e); @@ -1270,9 +1270,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse isPhoneAvailable( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse isPhoneAvailable( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest isPhoneAvailableRequest9) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest isPhoneAvailableRequest9) throws java.rmi.RemoteException @@ -1322,11 +1322,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1388,9 +1388,9 @@ */ public void startisPhoneAvailable( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest isPhoneAvailableRequest9, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest isPhoneAvailableRequest9, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1433,10 +1433,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultisPhoneAvailable( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorisPhoneAvailable(e); @@ -1535,9 +1535,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse getBookableRoomsForGroup( + public com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse getBookableRoomsForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest getBookableRoomsForGroupRequest11) + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest getBookableRoomsForGroupRequest11) throws java.rmi.RemoteException @@ -1587,11 +1587,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse)object; + return (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1653,9 +1653,9 @@ */ public void startgetBookableRoomsForGroup( - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest getBookableRoomsForGroupRequest11, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest getBookableRoomsForGroupRequest11, - final com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.LicenceServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1698,10 +1698,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetBookableRoomsForGroup( - (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse)object); + (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetBookableRoomsForGroup(e); @@ -10568,12 +10568,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10582,12 +10582,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10596,12 +10596,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10610,12 +10610,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10624,12 +10624,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10638,12 +10638,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10652,12 +10652,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10666,12 +10666,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10680,12 +10680,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10694,12 +10694,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10708,12 +10708,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10722,12 +10722,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10736,12 +10736,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10751,14 +10751,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10772,14 +10772,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10793,14 +10793,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10814,14 +10814,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10835,14 +10835,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10856,14 +10856,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -10893,93 +10893,93 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableModulesForGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GroupHasBookableModuleResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetAllModulesResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetAllModulesResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetModulesForCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetModulesForCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.IsPhoneAvailableResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.IsPhoneAvailableResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.LicenceServiceStub.GetBookableRoomsForGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceCallbackHandler.java similarity index 89% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceCallbackHandler.java index 93d7406fed4558aa4f1a76d495c761785e1a5f53..8312bce960aece329f1800574775eae1a0da5c2c 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * MtomServiceCallbackHandler Callback class, Users can extend this class and implement @@ -49,7 +49,7 @@ * override this method for handling normal response from loadFile operation */ public void receiveResultloadFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse result + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse result ) { } @@ -67,7 +67,7 @@ * override this method for handling normal response from loadAvatar operation */ public void receiveResultloadAvatar( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse result + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse result ) { } @@ -83,7 +83,7 @@ * override this method for handling normal response from storeFile operation */ public void receiveResultstoreFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse result + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceStub.java similarity index 97% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceStub.java index 1d4aa2f3cd3622a7fe04d1233b9579ada06b6234..8608b469fb54e184cc25b911cd8623c247b3fcc4 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/MtomServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/MtomServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -186,9 +186,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse loadFile( + public com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse loadFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest loadFileRequest0) + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest loadFileRequest0) throws java.rmi.RemoteException @@ -238,11 +238,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse)object; + return (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -304,9 +304,9 @@ */ public void startloadFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest loadFileRequest0, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest loadFileRequest0, - final com.frentix.olat.vc.provider.vitero.stubs.MtomServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.MtomServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -349,10 +349,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultloadFile( - (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse)object); + (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorloadFile(e); @@ -447,7 +447,7 @@ * */ public void storeAvatar( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest storeAvatarRequest2 + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest storeAvatarRequest2 ) throws java.rmi.RemoteException @@ -504,9 +504,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse loadAvatar( + public com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse loadAvatar( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest loadAvatarRequest3) + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest loadAvatarRequest3) throws java.rmi.RemoteException @@ -556,11 +556,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse)object; + return (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -622,9 +622,9 @@ */ public void startloadAvatar( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest loadAvatarRequest3, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest loadAvatarRequest3, - final com.frentix.olat.vc.provider.vitero.stubs.MtomServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.MtomServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -667,10 +667,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultloadAvatar( - (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse)object); + (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorloadAvatar(e); @@ -769,9 +769,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse storeFile( + public com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse storeFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest storeFileRequest5) + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest storeFileRequest5) throws java.rmi.RemoteException @@ -821,11 +821,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse)object; + return (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -887,9 +887,9 @@ */ public void startstoreFile( - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest storeFileRequest5, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest storeFileRequest5, - final com.frentix.olat.vc.provider.vitero.stubs.MtomServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.MtomServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -932,10 +932,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse.class, + com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultstoreFile( - (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse)object); + (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorstoreFile(e); @@ -7465,12 +7465,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7479,12 +7479,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7493,12 +7493,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7507,12 +7507,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7521,12 +7521,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7535,12 +7535,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7549,12 +7549,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7563,12 +7563,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.SuccessResponseE param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.SuccessResponseE param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.SuccessResponseE.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.SuccessResponseE.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7578,14 +7578,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7599,14 +7599,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7620,14 +7620,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7641,14 +7641,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -7678,58 +7678,58 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadFileResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadFileResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreAvatarRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreAvatarRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.LoadAvatarResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.LoadAvatarResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.StoreFileResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.StoreFileResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.SuccessResponseE.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.MtomServiceStub.SuccessResponseE.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.MtomServiceStub.SuccessResponseE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.MtomServiceStub.SuccessResponseE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceCallbackHandler.java new file mode 100644 index 0000000000000000000000000000000000000000..aeaa69410b852306eeb2c523810eba0fe1a27f14 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceCallbackHandler.java @@ -0,0 +1,134 @@ + +/** + * SessionCodeServiceCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) + */ + + package com.frentix.olat.vitero.manager.stubs; + + /** + * SessionCodeServiceCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class SessionCodeServiceCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public SessionCodeServiceCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public SessionCodeServiceCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + /** + * auto generated Axis2 call back method for createPersonalGroupSessionCode method + * override this method for handling normal response from createPersonalGroupSessionCode operation + */ + public void receiveResultcreatePersonalGroupSessionCode( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from createPersonalGroupSessionCode operation + */ + public void receiveErrorcreatePersonalGroupSessionCode(java.lang.Exception e) { + } + + /** + * auto generated Axis2 call back method for getSessionCodeInformation method + * override this method for handling normal response from getSessionCodeInformation operation + */ + public void receiveResultgetSessionCodeInformation( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from getSessionCodeInformation operation + */ + public void receiveErrorgetSessionCodeInformation(java.lang.Exception e) { + } + + // No methods generated for meps other than in-out + + /** + * auto generated Axis2 call back method for getPersonalGroupSessionCodes method + * override this method for handling normal response from getPersonalGroupSessionCodes operation + */ + public void receiveResultgetPersonalGroupSessionCodes( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from getPersonalGroupSessionCodes operation + */ + public void receiveErrorgetPersonalGroupSessionCodes(java.lang.Exception e) { + } + + /** + * auto generated Axis2 call back method for createPersonalBookingSessionCode method + * override this method for handling normal response from createPersonalBookingSessionCode operation + */ + public void receiveResultcreatePersonalBookingSessionCode( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from createPersonalBookingSessionCode operation + */ + public void receiveErrorcreatePersonalBookingSessionCode(java.lang.Exception e) { + } + + /** + * auto generated Axis2 call back method for getPersonalBookingSessionCodes method + * override this method for handling normal response from getPersonalBookingSessionCodes operation + */ + public void receiveResultgetPersonalBookingSessionCodes( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from getPersonalBookingSessionCodes operation + */ + public void receiveErrorgetPersonalBookingSessionCodes(java.lang.Exception e) { + } + + // No methods generated for meps other than in-out + + + + } + \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceStub.java new file mode 100644 index 0000000000000000000000000000000000000000..e3f5f1b7fd9f84765b59fcd2e2d9dc07fca1ef73 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/SessionCodeServiceStub.java @@ -0,0 +1,11784 @@ + +/** + * SessionCodeServiceStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) + */ + package com.frentix.olat.vitero.manager.stubs; + + + + /* + * SessionCodeServiceStub java implementation + */ + + + public class SessionCodeServiceStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return Long.toString(System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("SessionCodeService" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[7]; + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "createPersonalGroupSessionCode")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "getSessionCodeInformation")); + _service.addOperation(__operation); + + + + + _operations[1]=__operation; + + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "success")); + _service.addOperation(__operation); + + + + + _operations[2]=__operation; + + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "getPersonalGroupSessionCodes")); + _service.addOperation(__operation); + + + + + _operations[3]=__operation; + + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "createPersonalBookingSessionCode")); + _service.addOperation(__operation); + + + + + _operations[4]=__operation; + + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "getPersonalBookingSessionCodes")); + _service.addOperation(__operation); + + + + + _operations[5]=__operation; + + + __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", "deleteSessionCode")); + _service.addOperation(__operation); + + + + + _operations[6]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + + + } + + /** + *Constructor that takes in a configContext + */ + + public SessionCodeServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public SessionCodeServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + configurationContext = _serviceClient.getServiceContext().getConfigurationContext(); + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + + } + + /** + * Default Constructor + */ + public SessionCodeServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://192.168.1.54:8080/vitero/services/" ); + + } + + /** + * Default Constructor + */ + public SessionCodeServiceStub() throws org.apache.axis2.AxisFault { + + this("http://192.168.1.54:8080/vitero/services/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public SessionCodeServiceStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + /** + * Auto generated method signature + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#createPersonalGroupSessionCode + * @param createPersonalGroupSessionCodeRequest0 + + */ + + + + public com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse createPersonalGroupSessionCode( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest createPersonalGroupSessionCodeRequest0) + + + throws java.rmi.RemoteException + + { + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + createPersonalGroupSessionCodeRequest0, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "createPersonalGroupSessionCode"))); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#startcreatePersonalGroupSessionCode + * @param createPersonalGroupSessionCodeRequest0 + + */ + public void startcreatePersonalGroupSessionCode( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest createPersonalGroupSessionCodeRequest0, + + final com.frentix.olat.vitero.manager.stubs.SessionCodeServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + createPersonalGroupSessionCodeRequest0, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "createPersonalGroupSessionCode"))); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultcreatePersonalGroupSessionCode( + (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorcreatePersonalGroupSessionCode(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + callback.receiveErrorcreatePersonalGroupSessionCode(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalGroupSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalGroupSessionCode(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorcreatePersonalGroupSessionCode(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[0].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[0].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + /** + * Auto generated method signature + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#getSessionCodeInformation + * @param getSessionCodeInformationRequest2 + + */ + + + + public com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse getSessionCodeInformation( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest getSessionCodeInformationRequest2) + + + throws java.rmi.RemoteException + + { + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[1].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getSessionCodeInformationRequest2, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getSessionCodeInformation"))); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#startgetSessionCodeInformation + * @param getSessionCodeInformationRequest2 + + */ + public void startgetSessionCodeInformation( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest getSessionCodeInformationRequest2, + + final com.frentix.olat.vitero.manager.stubs.SessionCodeServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[1].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getSessionCodeInformationRequest2, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getSessionCodeInformation"))); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultgetSessionCodeInformation( + (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorgetSessionCodeInformation(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + callback.receiveErrorgetSessionCodeInformation(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetSessionCodeInformation(f); + } + } else { + callback.receiveErrorgetSessionCodeInformation(f); + } + } else { + callback.receiveErrorgetSessionCodeInformation(f); + } + } else { + callback.receiveErrorgetSessionCodeInformation(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorgetSessionCodeInformation(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[1].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[1].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + /** + * Auto generated method signature + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#getPersonalGroupSessionCodes + * @param getPersonalGroupSessionCodesRequest5 + + */ + + + + public com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse getPersonalGroupSessionCodes( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest getPersonalGroupSessionCodesRequest5) + + + throws java.rmi.RemoteException + + { + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getPersonalGroupSessionCodesRequest5, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getPersonalGroupSessionCodes"))); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#startgetPersonalGroupSessionCodes + * @param getPersonalGroupSessionCodesRequest5 + + */ + public void startgetPersonalGroupSessionCodes( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest getPersonalGroupSessionCodesRequest5, + + final com.frentix.olat.vitero.manager.stubs.SessionCodeServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getPersonalGroupSessionCodesRequest5, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getPersonalGroupSessionCodes"))); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultgetPersonalGroupSessionCodes( + (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorgetPersonalGroupSessionCodes(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + callback.receiveErrorgetPersonalGroupSessionCodes(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalGroupSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalGroupSessionCodes(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorgetPersonalGroupSessionCodes(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[3].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[3].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + /** + * Auto generated method signature + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#createPersonalBookingSessionCode + * @param createPersonalBookingSessionCodeRequest7 + + */ + + + + public com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse createPersonalBookingSessionCode( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest createPersonalBookingSessionCodeRequest7) + + + throws java.rmi.RemoteException + + { + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + createPersonalBookingSessionCodeRequest7, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "createPersonalBookingSessionCode"))); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#startcreatePersonalBookingSessionCode + * @param createPersonalBookingSessionCodeRequest7 + + */ + public void startcreatePersonalBookingSessionCode( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest createPersonalBookingSessionCodeRequest7, + + final com.frentix.olat.vitero.manager.stubs.SessionCodeServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + createPersonalBookingSessionCodeRequest7, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "createPersonalBookingSessionCode"))); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultcreatePersonalBookingSessionCode( + (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorcreatePersonalBookingSessionCode(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + callback.receiveErrorcreatePersonalBookingSessionCode(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalBookingSessionCode(f); + } + } else { + callback.receiveErrorcreatePersonalBookingSessionCode(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorcreatePersonalBookingSessionCode(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[4].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[4].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + /** + * Auto generated method signature + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#getPersonalBookingSessionCodes + * @param getPersonalBookingSessionCodesRequest9 + + */ + + + + public com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse getPersonalBookingSessionCodes( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest getPersonalBookingSessionCodesRequest9) + + + throws java.rmi.RemoteException + + { + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getPersonalBookingSessionCodesRequest9, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getPersonalBookingSessionCodes"))); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.frentix.olat.vitero.manager.stubs.SessionCodeService#startgetPersonalBookingSessionCodes + * @param getPersonalBookingSessionCodesRequest9 + + */ + public void startgetPersonalBookingSessionCodes( + + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest getPersonalBookingSessionCodesRequest9, + + final com.frentix.olat.vitero.manager.stubs.SessionCodeServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getPersonalBookingSessionCodesRequest9, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "getPersonalBookingSessionCodes"))); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultgetPersonalBookingSessionCodes( + (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorgetPersonalBookingSessionCodes(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(faultElt.getQName())){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName()); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.Exception ex= + (java.lang.Exception) exceptionClass.newInstance(); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName()); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + + callback.receiveErrorgetPersonalBookingSessionCodes(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalBookingSessionCodes(f); + } + } else { + callback.receiveErrorgetPersonalBookingSessionCodes(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorgetPersonalBookingSessionCodes(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[5].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[5].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + + /** + * Auto generated method signature + * + */ + public void deleteSessionCode( + com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest deleteSessionCodeRequest11 + + ) throws java.rmi.RemoteException + + + { + org.apache.axis2.context.MessageContext _messageContext = null; + + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[6].getName()); + _operationClient.getOptions().setAction("\"\""); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + org.apache.axiom.soap.SOAPEnvelope env = null; + _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + deleteSessionCodeRequest11, + optimizeContent(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "deleteSessionCode"))); + + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + _operationClient.execute(true); + + + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + + return; + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.1.54:8080/vitero/services/ + public static class CreatePersonalBookingSessionCodeRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "createPersonalBookingSessionCodeRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Sessioncode + */ + + + protected Sessioncode_type2 localSessioncode ; + + + /** + * Auto generated getter method + * @return Sessioncode_type2 + */ + public Sessioncode_type2 getSessioncode(){ + return localSessioncode; + } + + + + /** + * Auto generated setter method + * @param param Sessioncode + */ + public void setSessioncode(Sessioncode_type2 param){ + + this.localSessioncode=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + CreatePersonalBookingSessionCodeRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":createPersonalBookingSessionCodeRequest", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "createPersonalBookingSessionCodeRequest", + xmlWriter); + } + + + } + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + localSessioncode.serialize(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode"), + factory,xmlWriter); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "sessioncode")); + + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + elementList.add(localSessioncode); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CreatePersonalBookingSessionCodeRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + CreatePersonalBookingSessionCodeRequest object = + new CreatePersonalBookingSessionCodeRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"createPersonalBookingSessionCodeRequest".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (CreatePersonalBookingSessionCodeRequest)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + + object.setSessioncode(Sessioncode_type2.Factory.parse(reader)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetPersonalGroupSessionCodesRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getPersonalGroupSessionCodesRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Userid + */ + + + protected int localUserid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getUserid(){ + return localUserid; + } + + + + /** + * Auto generated setter method + * @param param Userid + */ + public void setUserid(int param){ + + this.localUserid=param; + + + } + + + /** + * field for Groupid + */ + + + protected int localGroupid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getGroupid(){ + return localGroupid; + } + + + + /** + * Auto generated setter method + * @param param Groupid + */ + public void setGroupid(int param){ + + this.localGroupid=param; + + + } + + + /** + * field for Timezone + */ + + + protected java.lang.String localTimezone ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localTimezoneTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getTimezone(){ + return localTimezone; + } + + + + /** + * Auto generated setter method + * @param param Timezone + */ + public void setTimezone(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localTimezoneTracker = true; + } else { + localTimezoneTracker = false; + + } + + this.localTimezone=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetPersonalGroupSessionCodesRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getPersonalGroupSessionCodesRequest", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getPersonalGroupSessionCodesRequest", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"userid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"userid"); + } + + } else { + xmlWriter.writeStartElement("userid"); + } + + if (localUserid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("userid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"groupid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"groupid"); + } + + } else { + xmlWriter.writeStartElement("groupid"); + } + + if (localGroupid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("groupid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + } + + xmlWriter.writeEndElement(); + if (localTimezoneTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"timezone", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"timezone"); + } + + } else { + xmlWriter.writeStartElement("timezone"); + } + + + if (localTimezone==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localTimezone); + + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "userid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "groupid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + if (localTimezoneTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "timezone")); + + if (localTimezone != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localTimezone)); + } else { + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetPersonalGroupSessionCodesRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetPersonalGroupSessionCodesRequest object = + new GetPersonalGroupSessionCodesRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getPersonalGroupSessionCodesRequest".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetPersonalGroupSessionCodesRequest)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","userid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setUserid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","groupid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setGroupid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","timezone").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setTimezone( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class CreatePersonalBookingSessionCodeResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "createPersonalBookingSessionCodeResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for CreatePersonalBookingSessionCodeResponse + */ + + + protected Codetype localCreatePersonalBookingSessionCodeResponse ; + + + /** + * Auto generated getter method + * @return Codetype + */ + public Codetype getCreatePersonalBookingSessionCodeResponse(){ + return localCreatePersonalBookingSessionCodeResponse; + } + + + + /** + * Auto generated setter method + * @param param CreatePersonalBookingSessionCodeResponse + */ + public void setCreatePersonalBookingSessionCodeResponse(Codetype param){ + + this.localCreatePersonalBookingSessionCodeResponse=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + CreatePersonalBookingSessionCodeResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localCreatePersonalBookingSessionCodeResponse==null){ + throw new org.apache.axis2.databinding.ADBException("Property cannot be null!"); + } + localCreatePersonalBookingSessionCodeResponse.serialize(MY_QNAME,factory,xmlWriter); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localCreatePersonalBookingSessionCodeResponse.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CreatePersonalBookingSessionCodeResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + CreatePersonalBookingSessionCodeResponse object = + new CreatePersonalBookingSessionCodeResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","createPersonalBookingSessionCodeResponse").equals(reader.getName())){ + + object.setCreatePersonalBookingSessionCodeResponse(Codetype.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Sessioncode_type2 + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = sessioncode_type2 + Namespace URI = http://www.vitero.de/schema/sessioncode + Namespace Prefix = ns1 + */ + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Userid + */ + + + protected int localUserid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getUserid(){ + return localUserid; + } + + + + /** + * Auto generated setter method + * @param param Userid + */ + public void setUserid(int param){ + + this.localUserid=param; + + + } + + + /** + * field for Bookingid + */ + + + protected int localBookingid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getBookingid(){ + return localBookingid; + } + + + + /** + * Auto generated setter method + * @param param Bookingid + */ + public void setBookingid(int param){ + + this.localBookingid=param; + + + } + + + /** + * field for Expirationdate + */ + + + protected java.lang.String localExpirationdate ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExpirationdateTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getExpirationdate(){ + return localExpirationdate; + } + + + + /** + * Auto generated setter method + * @param param Expirationdate + */ + public void setExpirationdate(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localExpirationdateTracker = true; + } else { + localExpirationdateTracker = false; + + } + + this.localExpirationdate=param; + + + } + + + /** + * field for Timezone + */ + + + protected java.lang.String localTimezone ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localTimezoneTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getTimezone(){ + return localTimezone; + } + + + + /** + * Auto generated setter method + * @param param Timezone + */ + public void setTimezone(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localTimezoneTracker = true; + } else { + localTimezoneTracker = false; + + } + + this.localTimezone=param; + + + } + + + /** + * field for Codelength + */ + + + protected int localCodelength ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localCodelengthTracker = false ; + + + /** + * Auto generated getter method + * @return int + */ + public int getCodelength(){ + return localCodelength; + } + + + + /** + * Auto generated setter method + * @param param Codelength + */ + public void setCodelength(int param){ + + // setting primitive attribute tracker to true + + if (param==java.lang.Integer.MIN_VALUE) { + localCodelengthTracker = false; + + } else { + localCodelengthTracker = true; + } + + this.localCodelength=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + Sessioncode_type2.this.serialize(parentQName,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + parentQName,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":sessioncode_type2", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "sessioncode_type2", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"userid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"userid"); + } + + } else { + xmlWriter.writeStartElement("userid"); + } + + if (localUserid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("userid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"bookingid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"bookingid"); + } + + } else { + xmlWriter.writeStartElement("bookingid"); + } + + if (localBookingid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("bookingid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + } + + xmlWriter.writeEndElement(); + if (localExpirationdateTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"expirationdate", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"expirationdate"); + } + + } else { + xmlWriter.writeStartElement("expirationdate"); + } + + + if (localExpirationdate==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localExpirationdate); + + } + + xmlWriter.writeEndElement(); + } if (localTimezoneTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"timezone", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"timezone"); + } + + } else { + xmlWriter.writeStartElement("timezone"); + } + + + if (localTimezone==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localTimezone); + + } + + xmlWriter.writeEndElement(); + } if (localCodelengthTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"codelength", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"codelength"); + } + + } else { + xmlWriter.writeStartElement("codelength"); + } + + if (localCodelength==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("codelength cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCodelength)); + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "userid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "bookingid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + if (localExpirationdateTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "expirationdate")); + + if (localExpirationdate != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localExpirationdate)); + } else { + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + } + } if (localTimezoneTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "timezone")); + + if (localTimezone != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localTimezone)); + } else { + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + } + } if (localCodelengthTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "codelength")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCodelength)); + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Sessioncode_type2 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Sessioncode_type2 object = + new Sessioncode_type2(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"sessioncode_type2".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Sessioncode_type2)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","userid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setUserid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","bookingid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setBookingid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","expirationdate").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setExpirationdate( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","timezone").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setTimezone( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","codelength").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setCodelength( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetSessionCodeInformationRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getSessionCodeInformationRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Code + */ + + + protected java.lang.String localCode ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getCode(){ + return localCode; + } + + + + /** + * Auto generated setter method + * @param param Code + */ + public void setCode(java.lang.String param){ + + this.localCode=param; + + + } + + + /** + * field for Timezone + */ + + + protected java.lang.String localTimezone ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localTimezoneTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getTimezone(){ + return localTimezone; + } + + + + /** + * Auto generated setter method + * @param param Timezone + */ + public void setTimezone(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localTimezoneTracker = true; + } else { + localTimezoneTracker = false; + + } + + this.localTimezone=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetSessionCodeInformationRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getSessionCodeInformationRequest", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getSessionCodeInformationRequest", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"code", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"code"); + } + + } else { + xmlWriter.writeStartElement("code"); + } + + + if (localCode==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localCode); + + } + + xmlWriter.writeEndElement(); + if (localTimezoneTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"timezone", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"timezone"); + } + + } else { + xmlWriter.writeStartElement("timezone"); + } + + + if (localTimezone==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localTimezone); + + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "code")); + + if (localCode != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCode)); + } else { + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + } + if (localTimezoneTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "timezone")); + + if (localTimezone != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localTimezone)); + } else { + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetSessionCodeInformationRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetSessionCodeInformationRequest object = + new GetSessionCodeInformationRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getSessionCodeInformationRequest".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetSessionCodeInformationRequest)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","code").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setCode( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","timezone").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setTimezone( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Sessioncode_type0 + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = sessioncode_type0 + Namespace URI = http://www.vitero.de/schema/sessioncode + Namespace Prefix = ns1 + */ + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Type + */ + + + protected java.lang.String localType ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getType(){ + return localType; + } + + + + /** + * Auto generated setter method + * @param param Type + */ + public void setType(java.lang.String param){ + + this.localType=param; + + + } + + + /** + * field for Userid + */ + + + protected int localUserid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getUserid(){ + return localUserid; + } + + + + /** + * Auto generated setter method + * @param param Userid + */ + public void setUserid(int param){ + + this.localUserid=param; + + + } + + + /** + * field for Bookingid + */ + + + protected int localBookingid ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localBookingidTracker = false ; + + + /** + * Auto generated getter method + * @return int + */ + public int getBookingid(){ + return localBookingid; + } + + + + /** + * Auto generated setter method + * @param param Bookingid + */ + public void setBookingid(int param){ + + // setting primitive attribute tracker to true + + if (param==java.lang.Integer.MIN_VALUE) { + localBookingidTracker = false; + + } else { + localBookingidTracker = true; + } + + this.localBookingid=param; + + + } + + + /** + * field for Groupid + */ + + + protected int localGroupid ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localGroupidTracker = false ; + + + /** + * Auto generated getter method + * @return int + */ + public int getGroupid(){ + return localGroupid; + } + + + + /** + * Auto generated setter method + * @param param Groupid + */ + public void setGroupid(int param){ + + // setting primitive attribute tracker to true + + if (param==java.lang.Integer.MIN_VALUE) { + localGroupidTracker = false; + + } else { + localGroupidTracker = true; + } + + this.localGroupid=param; + + + } + + + /** + * field for Expirationdate + */ + + + protected java.lang.String localExpirationdate ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExpirationdateTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getExpirationdate(){ + return localExpirationdate; + } + + + + /** + * Auto generated setter method + * @param param Expirationdate + */ + public void setExpirationdate(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localExpirationdateTracker = true; + } else { + localExpirationdateTracker = false; + + } + + this.localExpirationdate=param; + + + } + + + /** + * field for Allownotexistingusers + */ + + + protected boolean localAllownotexistingusers ; + + + /** + * Auto generated getter method + * @return boolean + */ + public boolean getAllownotexistingusers(){ + return localAllownotexistingusers; + } + + + + /** + * Auto generated setter method + * @param param Allownotexistingusers + */ + public void setAllownotexistingusers(boolean param){ + + this.localAllownotexistingusers=param; + + + } + + + /** + * field for Allownotassignedusers + */ + + + protected boolean localAllownotassignedusers ; + + + /** + * Auto generated getter method + * @return boolean + */ + public boolean getAllownotassignedusers(){ + return localAllownotassignedusers; + } + + + + /** + * Auto generated setter method + * @param param Allownotassignedusers + */ + public void setAllownotassignedusers(boolean param){ + + this.localAllownotassignedusers=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + Sessioncode_type0.this.serialize(parentQName,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + parentQName,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":sessioncode_type0", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "sessioncode_type0", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"type", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"type"); + } + + } else { + xmlWriter.writeStartElement("type"); + } + + + if (localType==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("type cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localType); + + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"userid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"userid"); + } + + } else { + xmlWriter.writeStartElement("userid"); + } + + if (localUserid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("userid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + } + + xmlWriter.writeEndElement(); + if (localBookingidTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"bookingid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"bookingid"); + } + + } else { + xmlWriter.writeStartElement("bookingid"); + } + + if (localBookingid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("bookingid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + } + + xmlWriter.writeEndElement(); + } if (localGroupidTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"groupid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"groupid"); + } + + } else { + xmlWriter.writeStartElement("groupid"); + } + + if (localGroupid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("groupid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + } + + xmlWriter.writeEndElement(); + } if (localExpirationdateTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"expirationdate", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"expirationdate"); + } + + } else { + xmlWriter.writeStartElement("expirationdate"); + } + + + if (localExpirationdate==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localExpirationdate); + + } + + xmlWriter.writeEndElement(); + } + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"allownotexistingusers", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"allownotexistingusers"); + } + + } else { + xmlWriter.writeStartElement("allownotexistingusers"); + } + + if (false) { + + throw new org.apache.axis2.databinding.ADBException("allownotexistingusers cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotexistingusers)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"allownotassignedusers", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"allownotassignedusers"); + } + + } else { + xmlWriter.writeStartElement("allownotassignedusers"); + } + + if (false) { + + throw new org.apache.axis2.databinding.ADBException("allownotassignedusers cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "type")); + + if (localType != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localType)); + } else { + throw new org.apache.axis2.databinding.ADBException("type cannot be null!!"); + } + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "userid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + if (localBookingidTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "bookingid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + } if (localGroupidTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "groupid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + } if (localExpirationdateTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "expirationdate")); + + if (localExpirationdate != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localExpirationdate)); + } else { + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + } + } + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "allownotexistingusers")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotexistingusers)); + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "allownotassignedusers")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Sessioncode_type0 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Sessioncode_type0 object = + new Sessioncode_type0(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"sessioncode_type0".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Sessioncode_type0)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","type").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setType( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","userid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setUserid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","bookingid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setBookingid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","groupid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setGroupid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","expirationdate").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setExpirationdate( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","allownotexistingusers").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setAllownotexistingusers( + org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","allownotassignedusers").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setAllownotassignedusers( + org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Sessioncodebyidtype + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = sessioncodebyidtype + Namespace URI = http://www.vitero.de/schema/sessioncode + Namespace Prefix = ns1 + */ + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Code + */ + + + protected java.lang.String localCode ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getCode(){ + return localCode; + } + + + + /** + * Auto generated setter method + * @param param Code + */ + public void setCode(java.lang.String param){ + + this.localCode=param; + + + } + + + /** + * field for Expirationdate + */ + + + protected java.lang.String localExpirationdate ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExpirationdateTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getExpirationdate(){ + return localExpirationdate; + } + + + + /** + * Auto generated setter method + * @param param Expirationdate + */ + public void setExpirationdate(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localExpirationdateTracker = true; + } else { + localExpirationdateTracker = false; + + } + + this.localExpirationdate=param; + + + } + + + /** + * field for Allownotassignedusers + */ + + + protected boolean localAllownotassignedusers ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localAllownotassignedusersTracker = false ; + + + /** + * Auto generated getter method + * @return boolean + */ + public boolean getAllownotassignedusers(){ + return localAllownotassignedusers; + } + + + + /** + * Auto generated setter method + * @param param Allownotassignedusers + */ + public void setAllownotassignedusers(boolean param){ + + // setting primitive attribute tracker to true + + if (false) { + localAllownotassignedusersTracker = false; + + } else { + localAllownotassignedusersTracker = true; + } + + this.localAllownotassignedusers=param; + + + } + + + /** + * field for Allownotexistingusers + */ + + + protected boolean localAllownotexistingusers ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localAllownotexistingusersTracker = false ; + + + /** + * Auto generated getter method + * @return boolean + */ + public boolean getAllownotexistingusers(){ + return localAllownotexistingusers; + } + + + + /** + * Auto generated setter method + * @param param Allownotexistingusers + */ + public void setAllownotexistingusers(boolean param){ + + // setting primitive attribute tracker to true + + if (false) { + localAllownotexistingusersTracker = false; + + } else { + localAllownotexistingusersTracker = true; + } + + this.localAllownotexistingusers=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + Sessioncodebyidtype.this.serialize(parentQName,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + parentQName,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":sessioncodebyidtype", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "sessioncodebyidtype", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"code", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"code"); + } + + } else { + xmlWriter.writeStartElement("code"); + } + + + if (localCode==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localCode); + + } + + xmlWriter.writeEndElement(); + if (localExpirationdateTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"expirationdate", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"expirationdate"); + } + + } else { + xmlWriter.writeStartElement("expirationdate"); + } + + + if (localExpirationdate==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localExpirationdate); + + } + + xmlWriter.writeEndElement(); + } if (localAllownotassignedusersTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"allownotassignedusers", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"allownotassignedusers"); + } + + } else { + xmlWriter.writeStartElement("allownotassignedusers"); + } + + if (false) { + + throw new org.apache.axis2.databinding.ADBException("allownotassignedusers cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + } + + xmlWriter.writeEndElement(); + } if (localAllownotexistingusersTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"allownotexistingusers", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"allownotexistingusers"); + } + + } else { + xmlWriter.writeStartElement("allownotexistingusers"); + } + + if (false) { + + throw new org.apache.axis2.databinding.ADBException("allownotexistingusers cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotexistingusers)); + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "code")); + + if (localCode != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCode)); + } else { + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + } + if (localExpirationdateTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "expirationdate")); + + if (localExpirationdate != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localExpirationdate)); + } else { + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + } + } if (localAllownotassignedusersTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "allownotassignedusers")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + } if (localAllownotexistingusersTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "allownotexistingusers")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotexistingusers)); + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Sessioncodebyidtype parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Sessioncodebyidtype object = + new Sessioncodebyidtype(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"sessioncodebyidtype".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Sessioncodebyidtype)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","code").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setCode( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","expirationdate").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setExpirationdate( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","allownotassignedusers").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setAllownotassignedusers( + org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","allownotexistingusers").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setAllownotexistingusers( + org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Sessioncode_type1 + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = sessioncode_type1 + Namespace URI = http://www.vitero.de/schema/sessioncode + Namespace Prefix = ns1 + */ + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Userid + */ + + + protected int localUserid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getUserid(){ + return localUserid; + } + + + + /** + * Auto generated setter method + * @param param Userid + */ + public void setUserid(int param){ + + this.localUserid=param; + + + } + + + /** + * field for Groupid + */ + + + protected int localGroupid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getGroupid(){ + return localGroupid; + } + + + + /** + * Auto generated setter method + * @param param Groupid + */ + public void setGroupid(int param){ + + this.localGroupid=param; + + + } + + + /** + * field for Expirationdate + */ + + + protected java.lang.String localExpirationdate ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExpirationdateTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getExpirationdate(){ + return localExpirationdate; + } + + + + /** + * Auto generated setter method + * @param param Expirationdate + */ + public void setExpirationdate(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localExpirationdateTracker = true; + } else { + localExpirationdateTracker = false; + + } + + this.localExpirationdate=param; + + + } + + + /** + * field for Timezone + */ + + + protected java.lang.String localTimezone ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localTimezoneTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getTimezone(){ + return localTimezone; + } + + + + /** + * Auto generated setter method + * @param param Timezone + */ + public void setTimezone(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localTimezoneTracker = true; + } else { + localTimezoneTracker = false; + + } + + this.localTimezone=param; + + + } + + + /** + * field for Codelength + */ + + + protected int localCodelength ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localCodelengthTracker = false ; + + + /** + * Auto generated getter method + * @return int + */ + public int getCodelength(){ + return localCodelength; + } + + + + /** + * Auto generated setter method + * @param param Codelength + */ + public void setCodelength(int param){ + + // setting primitive attribute tracker to true + + if (param==java.lang.Integer.MIN_VALUE) { + localCodelengthTracker = false; + + } else { + localCodelengthTracker = true; + } + + this.localCodelength=param; + + + } + + + /** + * field for Allownotassignedusers + */ + + + protected boolean localAllownotassignedusers ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localAllownotassignedusersTracker = false ; + + + /** + * Auto generated getter method + * @return boolean + */ + public boolean getAllownotassignedusers(){ + return localAllownotassignedusers; + } + + + + /** + * Auto generated setter method + * @param param Allownotassignedusers + */ + public void setAllownotassignedusers(boolean param){ + + // setting primitive attribute tracker to true + + if (false) { + localAllownotassignedusersTracker = false; + + } else { + localAllownotassignedusersTracker = true; + } + + this.localAllownotassignedusers=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + Sessioncode_type1.this.serialize(parentQName,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + parentQName,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":sessioncode_type1", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "sessioncode_type1", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"userid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"userid"); + } + + } else { + xmlWriter.writeStartElement("userid"); + } + + if (localUserid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("userid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"groupid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"groupid"); + } + + } else { + xmlWriter.writeStartElement("groupid"); + } + + if (localGroupid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("groupid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + } + + xmlWriter.writeEndElement(); + if (localExpirationdateTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"expirationdate", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"expirationdate"); + } + + } else { + xmlWriter.writeStartElement("expirationdate"); + } + + + if (localExpirationdate==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localExpirationdate); + + } + + xmlWriter.writeEndElement(); + } if (localTimezoneTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"timezone", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"timezone"); + } + + } else { + xmlWriter.writeStartElement("timezone"); + } + + + if (localTimezone==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localTimezone); + + } + + xmlWriter.writeEndElement(); + } if (localCodelengthTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"codelength", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"codelength"); + } + + } else { + xmlWriter.writeStartElement("codelength"); + } + + if (localCodelength==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("codelength cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCodelength)); + } + + xmlWriter.writeEndElement(); + } if (localAllownotassignedusersTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"allownotassignedusers", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"allownotassignedusers"); + } + + } else { + xmlWriter.writeStartElement("allownotassignedusers"); + } + + if (false) { + + throw new org.apache.axis2.databinding.ADBException("allownotassignedusers cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "userid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "groupid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localGroupid)); + if (localExpirationdateTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "expirationdate")); + + if (localExpirationdate != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localExpirationdate)); + } else { + throw new org.apache.axis2.databinding.ADBException("expirationdate cannot be null!!"); + } + } if (localTimezoneTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "timezone")); + + if (localTimezone != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localTimezone)); + } else { + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + } + } if (localCodelengthTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "codelength")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCodelength)); + } if (localAllownotassignedusersTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "allownotassignedusers")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localAllownotassignedusers)); + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Sessioncode_type1 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Sessioncode_type1 object = + new Sessioncode_type1(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"sessioncode_type1".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Sessioncode_type1)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","userid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setUserid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","groupid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setGroupid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","expirationdate").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setExpirationdate( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","timezone").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setTimezone( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","codelength").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setCodelength( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","allownotassignedusers").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setAllownotassignedusers( + org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetPersonalBookingSessionCodesRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getPersonalBookingSessionCodesRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Userid + */ + + + protected int localUserid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getUserid(){ + return localUserid; + } + + + + /** + * Auto generated setter method + * @param param Userid + */ + public void setUserid(int param){ + + this.localUserid=param; + + + } + + + /** + * field for Bookingid + */ + + + protected int localBookingid ; + + + /** + * Auto generated getter method + * @return int + */ + public int getBookingid(){ + return localBookingid; + } + + + + /** + * Auto generated setter method + * @param param Bookingid + */ + public void setBookingid(int param){ + + this.localBookingid=param; + + + } + + + /** + * field for Timezone + */ + + + protected java.lang.String localTimezone ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localTimezoneTracker = false ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getTimezone(){ + return localTimezone; + } + + + + /** + * Auto generated setter method + * @param param Timezone + */ + public void setTimezone(java.lang.String param){ + + if (param != null){ + //update the setting tracker + localTimezoneTracker = true; + } else { + localTimezoneTracker = false; + + } + + this.localTimezone=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetPersonalBookingSessionCodesRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getPersonalBookingSessionCodesRequest", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getPersonalBookingSessionCodesRequest", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"userid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"userid"); + } + + } else { + xmlWriter.writeStartElement("userid"); + } + + if (localUserid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("userid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"bookingid", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"bookingid"); + } + + } else { + xmlWriter.writeStartElement("bookingid"); + } + + if (localBookingid==java.lang.Integer.MIN_VALUE) { + + throw new org.apache.axis2.databinding.ADBException("bookingid cannot be null!!"); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + } + + xmlWriter.writeEndElement(); + if (localTimezoneTracker){ + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"timezone", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"timezone"); + } + + } else { + xmlWriter.writeStartElement("timezone"); + } + + + if (localTimezone==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localTimezone); + + } + + xmlWriter.writeEndElement(); + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "userid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localUserid)); + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "bookingid")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBookingid)); + if (localTimezoneTracker){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "timezone")); + + if (localTimezone != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localTimezone)); + } else { + throw new org.apache.axis2.databinding.ADBException("timezone cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetPersonalBookingSessionCodesRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetPersonalBookingSessionCodesRequest object = + new GetPersonalBookingSessionCodesRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getPersonalBookingSessionCodesRequest".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetPersonalBookingSessionCodesRequest)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","userid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setUserid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","bookingid").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setBookingid( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + reader.next(); + + } // End of if for expected property start element + + else + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","timezone").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setTimezone( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Codetype + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = codetype + Namespace URI = http://www.vitero.de/schema/sessioncode + Namespace Prefix = ns1 + */ + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Code + */ + + + protected java.lang.String localCode ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getCode(){ + return localCode; + } + + + + /** + * Auto generated setter method + * @param param Code + */ + public void setCode(java.lang.String param){ + + this.localCode=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + Codetype.this.serialize(parentQName,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + parentQName,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":codetype", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "codetype", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"code", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"code"); + } + + } else { + xmlWriter.writeStartElement("code"); + } + + + if (localCode==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localCode); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "code")); + + if (localCode != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCode)); + } else { + throw new org.apache.axis2.databinding.ADBException("code cannot be null!!"); + } + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Codetype parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Codetype object = + new Codetype(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"codetype".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Codetype)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","code").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setCode( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class SuccessResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "successResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Request + */ + + + protected java.lang.String localRequest ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getRequest(){ + return localRequest; + } + + + + /** + * Auto generated setter method + * @param param Request + */ + public void setRequest(java.lang.String param){ + + this.localRequest=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + SuccessResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":successResponse", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "successResponse", + xmlWriter); + } + + + } + + namespace = "http://www.vitero.de/schema/sessioncode"; + if (! namespace.equals("")) { + prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + xmlWriter.writeStartElement(prefix,"request", namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } else { + xmlWriter.writeStartElement(namespace,"request"); + } + + } else { + xmlWriter.writeStartElement("request"); + } + + + if (localRequest==null){ + // write the nil attribute + + throw new org.apache.axis2.databinding.ADBException("request cannot be null!!"); + + }else{ + + + xmlWriter.writeCharacters(localRequest); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "request")); + + if (localRequest != null){ + elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localRequest)); + } else { + throw new org.apache.axis2.databinding.ADBException("request cannot be null!!"); + } + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static SuccessResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + SuccessResponse object = + new SuccessResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"successResponse".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (SuccessResponse)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","request").equals(reader.getName())){ + + java.lang.String content = reader.getElementText(); + + object.setRequest( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + if ( + "http://www.vitero.de/schema/sessioncode".equals(namespaceURI) && + "sessioncodebyidtype".equals(typeName)){ + + return Sessioncodebyidtype.Factory.parse(reader); + + + } + + + if ( + "http://www.vitero.de/schema/sessioncode".equals(namespaceURI) && + "sessioncode_type2".equals(typeName)){ + + return Sessioncode_type2.Factory.parse(reader); + + + } + + + if ( + "http://www.vitero.de/schema/sessioncode".equals(namespaceURI) && + "codetype".equals(typeName)){ + + return Codetype.Factory.parse(reader); + + + } + + + if ( + "http://www.vitero.de/schema/sessioncode".equals(namespaceURI) && + "sessioncode_type0".equals(typeName)){ + + return Sessioncode_type0.Factory.parse(reader); + + + } + + + if ( + "http://www.vitero.de/schema/sessioncode".equals(namespaceURI) && + "sessioncode_type1".equals(typeName)){ + + return Sessioncode_type1.Factory.parse(reader); + + + } + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class GetSessionCodeInformationResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getSessionCodeInformationResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Sessioncode + */ + + + protected Sessioncode_type0 localSessioncode ; + + + /** + * Auto generated getter method + * @return Sessioncode_type0 + */ + public Sessioncode_type0 getSessioncode(){ + return localSessioncode; + } + + + + /** + * Auto generated setter method + * @param param Sessioncode + */ + public void setSessioncode(Sessioncode_type0 param){ + + this.localSessioncode=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetSessionCodeInformationResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getSessionCodeInformationResponse", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getSessionCodeInformationResponse", + xmlWriter); + } + + + } + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + localSessioncode.serialize(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode"), + factory,xmlWriter); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "sessioncode")); + + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + elementList.add(localSessioncode); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetSessionCodeInformationResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetSessionCodeInformationResponse object = + new GetSessionCodeInformationResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getSessionCodeInformationResponse".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetSessionCodeInformationResponse)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + + object.setSessioncode(Sessioncode_type0.Factory.parse(reader)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DeleteSessionCodeRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "deleteSessionCodeRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for DeleteSessionCodeRequest + */ + + + protected Codetype localDeleteSessionCodeRequest ; + + + /** + * Auto generated getter method + * @return Codetype + */ + public Codetype getDeleteSessionCodeRequest(){ + return localDeleteSessionCodeRequest; + } + + + + /** + * Auto generated setter method + * @param param DeleteSessionCodeRequest + */ + public void setDeleteSessionCodeRequest(Codetype param){ + + this.localDeleteSessionCodeRequest=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + DeleteSessionCodeRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localDeleteSessionCodeRequest==null){ + throw new org.apache.axis2.databinding.ADBException("Property cannot be null!"); + } + localDeleteSessionCodeRequest.serialize(MY_QNAME,factory,xmlWriter); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localDeleteSessionCodeRequest.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DeleteSessionCodeRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DeleteSessionCodeRequest object = + new DeleteSessionCodeRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","deleteSessionCodeRequest").equals(reader.getName())){ + + object.setDeleteSessionCodeRequest(Codetype.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class CreatePersonalGroupSessionCodeRequest + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "createPersonalGroupSessionCodeRequest", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Sessioncode + */ + + + protected Sessioncode_type1 localSessioncode ; + + + /** + * Auto generated getter method + * @return Sessioncode_type1 + */ + public Sessioncode_type1 getSessioncode(){ + return localSessioncode; + } + + + + /** + * Auto generated setter method + * @param param Sessioncode + */ + public void setSessioncode(Sessioncode_type1 param){ + + this.localSessioncode=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + CreatePersonalGroupSessionCodeRequest.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":createPersonalGroupSessionCodeRequest", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "createPersonalGroupSessionCodeRequest", + xmlWriter); + } + + + } + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + localSessioncode.serialize(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode"), + factory,xmlWriter); + + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "sessioncode")); + + + if (localSessioncode==null){ + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + } + elementList.add(localSessioncode); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CreatePersonalGroupSessionCodeRequest parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + CreatePersonalGroupSessionCodeRequest object = + new CreatePersonalGroupSessionCodeRequest(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"createPersonalGroupSessionCodeRequest".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (CreatePersonalGroupSessionCodeRequest)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + + object.setSessioncode(Sessioncode_type1.Factory.parse(reader)); + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetPersonalGroupSessionCodesResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getPersonalGroupSessionCodesResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Sessioncode + * This was an Array! + */ + + + protected Sessioncodebyidtype[] localSessioncode ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localSessioncodeTracker = false ; + + + /** + * Auto generated getter method + * @return Sessioncodebyidtype[] + */ + public Sessioncodebyidtype[] getSessioncode(){ + return localSessioncode; + } + + + + + + + /** + * validate the array for Sessioncode + */ + protected void validateSessioncode(Sessioncodebyidtype[] param){ + + } + + + /** + * Auto generated setter method + * @param param Sessioncode + */ + public void setSessioncode(Sessioncodebyidtype[] param){ + + validateSessioncode(param); + + + if (param != null){ + //update the setting tracker + localSessioncodeTracker = true; + } else { + localSessioncodeTracker = false; + + } + + this.localSessioncode=param; + } + + + + /** + * Auto generated add method for the array for convenience + * @param param Sessioncodebyidtype + */ + public void addSessioncode(Sessioncodebyidtype param){ + if (localSessioncode == null){ + localSessioncode = new Sessioncodebyidtype[]{}; + } + + + //update the setting tracker + localSessioncodeTracker = true; + + + java.util.List list = + org.apache.axis2.databinding.utils.ConverterUtil.toList(localSessioncode); + list.add(param); + this.localSessioncode = + (Sessioncodebyidtype[])list.toArray( + new Sessioncodebyidtype[list.size()]); + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetPersonalGroupSessionCodesResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getPersonalGroupSessionCodesResponse", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getPersonalGroupSessionCodesResponse", + xmlWriter); + } + + + } + if (localSessioncodeTracker){ + if (localSessioncode!=null){ + for (int i = 0;i < localSessioncode.length;i++){ + if (localSessioncode[i] != null){ + localSessioncode[i].serialize(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode"), + factory,xmlWriter); + } else { + + // we don't have to do any thing since minOccures is zero + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + + } + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localSessioncodeTracker){ + if (localSessioncode!=null) { + for (int i = 0;i < localSessioncode.length;i++){ + + if (localSessioncode[i] != null){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "sessioncode")); + elementList.add(localSessioncode[i]); + } else { + + // nothing to do + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + + } + + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetPersonalGroupSessionCodesResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetPersonalGroupSessionCodesResponse object = + new GetPersonalGroupSessionCodesResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getPersonalGroupSessionCodesResponse".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetPersonalGroupSessionCodesResponse)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + list1.add(Sessioncodebyidtype.Factory.parse(reader)); + + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // We should be at the end element, but make sure + while (!reader.isEndElement()) + reader.next(); + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + list1.add(Sessioncodebyidtype.Factory.parse(reader)); + + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setSessioncode((Sessioncodebyidtype[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + Sessioncodebyidtype.class, + list1)); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetPersonalBookingSessionCodesResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "getPersonalBookingSessionCodesResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for Sessioncode + * This was an Array! + */ + + + protected Sessioncodebyidtype[] localSessioncode ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localSessioncodeTracker = false ; + + + /** + * Auto generated getter method + * @return Sessioncodebyidtype[] + */ + public Sessioncodebyidtype[] getSessioncode(){ + return localSessioncode; + } + + + + + + + /** + * validate the array for Sessioncode + */ + protected void validateSessioncode(Sessioncodebyidtype[] param){ + + } + + + /** + * Auto generated setter method + * @param param Sessioncode + */ + public void setSessioncode(Sessioncodebyidtype[] param){ + + validateSessioncode(param); + + + if (param != null){ + //update the setting tracker + localSessioncodeTracker = true; + } else { + localSessioncodeTracker = false; + + } + + this.localSessioncode=param; + } + + + + /** + * Auto generated add method for the array for convenience + * @param param Sessioncodebyidtype + */ + public void addSessioncode(Sessioncodebyidtype param){ + if (localSessioncode == null){ + localSessioncode = new Sessioncodebyidtype[]{}; + } + + + //update the setting tracker + localSessioncodeTracker = true; + + + java.util.List list = + org.apache.axis2.databinding.utils.ConverterUtil.toList(localSessioncode); + list.add(param); + this.localSessioncode = + (Sessioncodebyidtype[])list.toArray( + new Sessioncodebyidtype[list.size()]); + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + GetPersonalBookingSessionCodesResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + + if ((namespace != null) && (namespace.trim().length() > 0)) { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, parentQName.getLocalPart()); + } else { + if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, parentQName.getLocalPart(), namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } else { + xmlWriter.writeStartElement(parentQName.getLocalPart()); + } + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.vitero.de/schema/sessioncode"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getPersonalBookingSessionCodesResponse", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getPersonalBookingSessionCodesResponse", + xmlWriter); + } + + + } + if (localSessioncodeTracker){ + if (localSessioncode!=null){ + for (int i = 0;i < localSessioncode.length;i++){ + if (localSessioncode[i] != null){ + localSessioncode[i].serialize(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode"), + factory,xmlWriter); + } else { + + // we don't have to do any thing since minOccures is zero + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + + } + } + xmlWriter.writeEndElement(); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localSessioncodeTracker){ + if (localSessioncode!=null) { + for (int i = 0;i < localSessioncode.length;i++){ + + if (localSessioncode[i] != null){ + elementList.add(new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode", + "sessioncode")); + elementList.add(localSessioncode[i]); + } else { + + // nothing to do + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("sessioncode cannot be null!!"); + + } + + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetPersonalBookingSessionCodesResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetPersonalBookingSessionCodesResponse object = + new GetPersonalBookingSessionCodesResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getPersonalBookingSessionCodesResponse".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetPersonalBookingSessionCodesResponse)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + list1.add(Sessioncodebyidtype.Factory.parse(reader)); + + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // We should be at the end element, but make sure + while (!reader.isEndElement()) + reader.next(); + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","sessioncode").equals(reader.getName())){ + list1.add(Sessioncodebyidtype.Factory.parse(reader)); + + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setSessioncode((Sessioncodebyidtype[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + Sessioncodebyidtype.class, + list1)); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class CreatePersonalGroupSessionCodeResponse + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://www.vitero.de/schema/sessioncode", + "createPersonalGroupSessionCodeResponse", + "ns1"); + + + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://www.vitero.de/schema/sessioncode")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + + + /** + * field for CreatePersonalGroupSessionCodeResponse + */ + + + protected Codetype localCreatePersonalGroupSessionCodeResponse ; + + + /** + * Auto generated getter method + * @return Codetype + */ + public Codetype getCreatePersonalGroupSessionCodeResponse(){ + return localCreatePersonalGroupSessionCodeResponse; + } + + + + /** + * Auto generated setter method + * @param param CreatePersonalGroupSessionCodeResponse + */ + public void setCreatePersonalGroupSessionCodeResponse(Codetype param){ + + this.localCreatePersonalGroupSessionCodeResponse=param; + + + } + + + /** + * isReaderMTOMAware + * @return true if the reader supports MTOM + */ + public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader) { + boolean isReaderMTOMAware = false; + + try{ + isReaderMTOMAware = java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE)); + }catch(java.lang.IllegalArgumentException e){ + isReaderMTOMAware = false; + } + return isReaderMTOMAware; + } + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){ + + public void serialize(org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + CreatePersonalGroupSessionCodeResponse.this.serialize(MY_QNAME,factory,xmlWriter); + } + }; + return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl( + MY_QNAME,factory,dataSource); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,factory,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory, + org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localCreatePersonalGroupSessionCodeResponse==null){ + throw new org.apache.axis2.databinding.ADBException("Property cannot be null!"); + } + localCreatePersonalGroupSessionCodeResponse.serialize(MY_QNAME,factory,xmlWriter); + + + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + + } + + xmlWriter.writeAttribute(namespace,attName,attValue); + + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) + { + xmlWriter.writeAttribute(attName,attValue); + } + else + { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + + if (prefix == null) { + prefix = generatePrefix(namespace); + + while (xmlWriter.getNamespaceContext().getNamespaceURI(prefix) != null) { + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localCreatePersonalGroupSessionCodeResponse.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static CreatePersonalGroupSessionCodeResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + CreatePersonalGroupSessionCodeResponse object = + new CreatePersonalGroupSessionCodeResponse(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.vitero.de/schema/sessioncode","createPersonalGroupSessionCodeResponse").equals(reader.getName())){ + + object.setCreatePersonalGroupSessionCodeResponse(Codetype.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.SuccessResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.SuccessResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest param, boolean optimizeContent) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalGroupSessionCodeResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetSessionCodeInformationResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.SuccessResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalGroupSessionCodesResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.CreatePersonalBookingSessionCodeResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.GetPersonalBookingSessionCodesResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest.class.equals(type)){ + + return com.frentix.olat.vitero.manager.stubs.SessionCodeServiceStub.DeleteSessionCodeRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceCallbackHandler.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceCallbackHandler.java similarity index 87% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceCallbackHandler.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceCallbackHandler.java index 7c93da153de2a7eac65dc3488a0c492c87e4cb24..ac4c083c5cf187d86a2d19d1aa620b15f5afcf21 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceCallbackHandler.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceCallbackHandler.java @@ -6,7 +6,7 @@ * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; /** * UserServiceCallbackHandler Callback class, Users can extend this class and implement @@ -51,7 +51,7 @@ * override this method for handling normal response from getUserList operation */ public void receiveResultgetUserList( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse result ) { } @@ -67,7 +67,7 @@ * override this method for handling normal response from getUserListByGroup operation */ public void receiveResultgetUserListByGroup( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse result ) { } @@ -83,7 +83,7 @@ * override this method for handling normal response from getUserListByPosition operation */ public void receiveResultgetUserListByPosition( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse result ) { } @@ -103,7 +103,7 @@ * override this method for handling normal response from createUser operation */ public void receiveResultcreateUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse result ) { } @@ -119,7 +119,7 @@ * override this method for handling normal response from getUser operation */ public void receiveResultgetUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse result ) { } @@ -135,7 +135,7 @@ * override this method for handling normal response from getUserCount operation */ public void receiveResultgetUserCount( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse result ) { } @@ -151,7 +151,7 @@ * override this method for handling normal response from getUserListByCustomer operation */ public void receiveResultgetUserListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse result + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse result ) { } diff --git a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceStub.java b/src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceStub.java similarity index 98% rename from src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceStub.java rename to src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceStub.java index 7797bb68768ba12e5ed7239affa73fa726465920..2ad1f562f42f18960588b63b422f13b21c47c56c 100644 --- a/src/main/java/com/frentix/olat/vc/provider/vitero/stubs/UserServiceStub.java +++ b/src/main/java/com/frentix/olat/vitero/manager/stubs/UserServiceStub.java @@ -5,7 +5,7 @@ * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.4.1 Built on : Aug 13, 2008 (05:03:35 LKT) */ - package com.frentix.olat.vc.provider.vitero.stubs; + package com.frentix.olat.vitero.manager.stubs; @@ -254,7 +254,7 @@ * */ public void deleteUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest deleteUserRequest0 + com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest deleteUserRequest0 ) throws java.rmi.RemoteException @@ -311,9 +311,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse getUserList( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse getUserList( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest getUserListRequest1) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest getUserListRequest1) throws java.rmi.RemoteException @@ -363,11 +363,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -429,9 +429,9 @@ */ public void startgetUserList( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest getUserListRequest1, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest getUserListRequest1, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -474,10 +474,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUserList( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUserList(e); @@ -576,9 +576,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse getUserListByGroup( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse getUserListByGroup( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest getUserListByGroupRequest3) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest getUserListByGroupRequest3) throws java.rmi.RemoteException @@ -628,11 +628,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -694,9 +694,9 @@ */ public void startgetUserListByGroup( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest getUserListByGroupRequest3, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest getUserListByGroupRequest3, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -739,10 +739,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUserListByGroup( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUserListByGroup(e); @@ -841,9 +841,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse getUserListByPosition( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse getUserListByPosition( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest getUserListByPositionRequest5) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest getUserListByPositionRequest5) throws java.rmi.RemoteException @@ -893,11 +893,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -959,9 +959,9 @@ */ public void startgetUserListByPosition( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest getUserListByPositionRequest5, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest getUserListByPositionRequest5, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1004,10 +1004,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUserListByPosition( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUserListByPosition(e); @@ -1102,7 +1102,7 @@ * */ public void updateUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest updateUserRequest7 + com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest updateUserRequest7 ) throws java.rmi.RemoteException @@ -1159,9 +1159,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse createUser( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse createUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest createUserRequest9) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest createUserRequest9) throws java.rmi.RemoteException @@ -1211,11 +1211,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1277,9 +1277,9 @@ */ public void startcreateUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest createUserRequest9, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest createUserRequest9, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1322,10 +1322,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultcreateUser( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorcreateUser(e); @@ -1424,9 +1424,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse getUser( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse getUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest getUserRequest11) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest getUserRequest11) throws java.rmi.RemoteException @@ -1476,11 +1476,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1542,9 +1542,9 @@ */ public void startgetUser( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest getUserRequest11, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest getUserRequest11, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1587,10 +1587,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUser( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUser(e); @@ -1689,9 +1689,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse getUserCount( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse getUserCount( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest getUserCountRequest13) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest getUserCountRequest13) throws java.rmi.RemoteException @@ -1741,11 +1741,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -1807,9 +1807,9 @@ */ public void startgetUserCount( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest getUserCountRequest13, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest getUserCountRequest13, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -1852,10 +1852,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUserCount( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUserCount(e); @@ -1954,9 +1954,9 @@ - public com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse getUserListByCustomer( + public com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse getUserListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest getUserListByCustomerRequest15) + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest getUserListByCustomerRequest15) throws java.rmi.RemoteException @@ -2006,11 +2006,11 @@ java.lang.Object object = fromOM( _returnEnv.getBody().getFirstElement() , - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse.class, getEnvelopeNamespaces(_returnEnv)); - return (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse)object; + return (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse)object; }catch(org.apache.axis2.AxisFault f){ @@ -2072,9 +2072,9 @@ */ public void startgetUserListByCustomer( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest getUserListByCustomerRequest15, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest getUserListByCustomerRequest15, - final com.frentix.olat.vc.provider.vitero.stubs.UserServiceCallbackHandler callback) + final com.frentix.olat.vitero.manager.stubs.UserServiceCallbackHandler callback) throws java.rmi.RemoteException{ @@ -2117,10 +2117,10 @@ org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse.class, + com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse.class, getEnvelopeNamespaces(resultEnv)); callback.receiveResultgetUserListByCustomer( - (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse)object); + (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse)object); } catch (org.apache.axis2.AxisFault e) { callback.receiveErrorgetUserListByCustomer(e); @@ -2215,7 +2215,7 @@ * */ public void changePassword( - com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest changePasswordRequest17 + com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest changePasswordRequest17 ) throws java.rmi.RemoteException @@ -19594,12 +19594,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19608,12 +19608,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19622,12 +19622,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19636,12 +19636,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19650,12 +19650,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19664,12 +19664,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19678,12 +19678,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19692,12 +19692,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19706,12 +19706,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.SuccessResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.SuccessResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.SuccessResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.SuccessResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19720,12 +19720,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19734,12 +19734,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19748,12 +19748,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19762,12 +19762,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19776,12 +19776,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19790,12 +19790,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19804,12 +19804,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19818,12 +19818,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19832,12 +19832,12 @@ } - private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest param, boolean optimizeContent) + private org.apache.axiom.om.OMElement toOM(com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ - return param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest.MY_QNAME, + return param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19847,14 +19847,14 @@ } - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19868,14 +19868,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19889,14 +19889,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19910,14 +19910,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19931,14 +19931,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19952,14 +19952,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19973,14 +19973,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -19994,14 +19994,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -20015,14 +20015,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -20036,14 +20036,14 @@ - private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest param, boolean optimizeContent) + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest param, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); - emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest.MY_QNAME,factory)); + emptyEnvelope.getBody().addChild(param.getOMElement(com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); @@ -20073,128 +20073,128 @@ try { - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.DeleteUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.DeleteUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByGroupResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByPositionResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByPositionResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.UpdateUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.UpdateUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.SuccessResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.SuccessResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.SuccessResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.CreateUserResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.CreateUserResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserCountResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserCountResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.GetUserListByCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.GetUserListByCustomerResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } - if (com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest.class.equals(type)){ + if (com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest.class.equals(type)){ - return com.frentix.olat.vc.provider.vitero.stubs.UserServiceStub.ChangePasswordRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + return com.frentix.olat.vitero.manager.stubs.UserServiceStub.ChangePasswordRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching()); } diff --git a/src/main/java/com/frentix/olat/vitero/model/Repetitionpattern.java b/src/main/java/com/frentix/olat/vitero/model/Repetitionpattern.java new file mode 100644 index 0000000000000000000000000000000000000000..742e347ce6c1b5c14ecddf7db064e8bcd333dd7e --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/model/Repetitionpattern.java @@ -0,0 +1,39 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.model; + + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public enum Repetitionpattern { + once, //no repetition (default) + daily, //every day + weekly, //every week + workdays, //only from monday to friday + weekends //only on saturday and sunday +} diff --git a/src/main/java/com/frentix/olat/vitero/model/ViteroBooking.java b/src/main/java/com/frentix/olat/vitero/model/ViteroBooking.java new file mode 100644 index 0000000000000000000000000000000000000000..9b5f14e3066ad073f83b6015233bbbeed0447872 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/model/ViteroBooking.java @@ -0,0 +1,107 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.model; + +import java.util.Date; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBooking { + + private int bookingId; + private int groupId; + private Date start; + private int startBuffer; + private Date end; + private int endBuffer; + private int roomSize; + + public ViteroBooking() { + // nothing to do + } + + public int getBookingId() { + return bookingId; + } + + public void setBookingId(int bookingId) { + this.bookingId = bookingId; + } + + public int getGroupId() { + return groupId; + } + + public void setGroupId(int groupId) { + this.groupId = groupId; + } + + public int getRoomSize() { + return roomSize; + } + + public void setRoomSize(int roomSize) { + this.roomSize = roomSize; + } + + + + public int getStartBuffer() { + return startBuffer; + } + + public void setStartBuffer(int startBuffer) { + this.startBuffer = startBuffer; + } + + public Date getStart() { + return start; + } + + public void setStart(Date start) { + this.start = start; + } + + + + public int getEndBuffer() { + return endBuffer; + } + + public void setEndBuffer(int endBuffer) { + this.endBuffer = endBuffer; + } + + public Date getEnd() { + return end; + } + + public void setEnd(Date end) { + this.end = end; + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroAdminController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroAdminController.java new file mode 100644 index 0000000000000000000000000000000000000000..1cdb20e5f20419d69ad93c7fff4e2dca428ca803 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroAdminController.java @@ -0,0 +1,113 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import org.olat.core.CoreSpringFactory; +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.Component; +import org.olat.core.gui.components.link.Link; +import org.olat.core.gui.components.link.LinkFactory; +import org.olat.core.gui.components.segmentedview.SegmentViewComponent; +import org.olat.core.gui.components.segmentedview.SegmentViewEvent; +import org.olat.core.gui.components.segmentedview.SegmentViewFactory; +import org.olat.core.gui.components.velocity.VelocityContainer; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.controller.BasicController; + +import com.frentix.olat.vitero.ViteroModule; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroAdminController extends BasicController { + + private final ViteroModule viteroModule; + + private final Link accountLink; + private Link bookingsLink; + private SegmentViewComponent segmentView; + private final VelocityContainer mainVC; + + private ViteroConfigurationController configController; + private ViteroBookingsAdminController bookingController; + + public ViteroAdminController(UserRequest ureq, WindowControl wControl) { + super(ureq, wControl); + + viteroModule = (ViteroModule)CoreSpringFactory.getBean("viteroModule"); + mainVC = createVelocityContainer("vitero_admin"); + + segmentView = SegmentViewFactory.createSegmentView("segments", mainVC, this); + accountLink = LinkFactory.createLink("vitero.account", mainVC, this); + segmentView.addSegment(accountLink, true); + + bookingsLink = LinkFactory.createLink("vc.booking.title", mainVC, this); + segmentView.addSegment(bookingsLink, false); + + doOpenAccountSettings(ureq); + + putInitialPanel(mainVC); + } + + @Override + protected void doDispose() { + //auto-disposed + } + + @Override + protected void event(UserRequest ureq, Component source, Event event) { + if(source == segmentView) { + if(event instanceof SegmentViewEvent) { + SegmentViewEvent sve = (SegmentViewEvent)event; + String segmentCName = sve.getComponentName(); + Component clickedLink = mainVC.getComponent(segmentCName); + if (clickedLink == accountLink) { + doOpenAccountSettings(ureq); + } else if (clickedLink == bookingsLink){ + doOpenBookings(ureq); + } + } + } + } + + private void doOpenAccountSettings(UserRequest ureq) { + if(configController == null) { + configController = new ViteroConfigurationController(ureq, getWindowControl(), viteroModule); + listenTo(configController); + } + mainVC.put("segmentCmp", configController.getInitialComponent()); + } + + private void doOpenBookings(UserRequest ureq) { + if(bookingController == null) { + bookingController = new ViteroBookingsAdminController(ureq, getWindowControl()); + listenTo(bookingController); + } + mainVC.put("segmentCmp", bookingController.getInitialComponent()); + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingDataModel.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingDataModel.java new file mode 100644 index 0000000000000000000000000000000000000000..ea9b973c81c1e0533d727c6ca43a4ab22bccf9c9 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingDataModel.java @@ -0,0 +1,90 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import java.util.List; + +import org.olat.core.gui.components.table.TableDataModel; + +import com.frentix.olat.vitero.model.ViteroBooking; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 10 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingDataModel implements TableDataModel { + + private List<ViteroBooking> bookings; + + public ViteroBookingDataModel() { + // + } + + public ViteroBookingDataModel(List<ViteroBooking> bookings) { + this.bookings = bookings; + } + + @Override + public int getColumnCount() { + return 2; + } + + @Override + public int getRowCount() { + return bookings == null ? 0 : bookings.size(); + } + + @Override + public ViteroBooking getObject(int row) { + return bookings.get(row); + } + + @Override + public Object getValueAt(int row, int col) { + ViteroBooking booking = getObject(row); + switch(Column.values()[col]) { + case begin: return booking.getStart(); + case end: return booking.getEnd(); + default: return ""; + } + } + + @Override + public void setObjects(List objects) { + this.bookings = objects; + } + + @Override + public Object createCopyWithEmptyList() { + return new ViteroBookingDataModel(); + } + + public enum Column { + begin, + end, + open, + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingEditController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingEditController.java new file mode 100644 index 0000000000000000000000000000000000000000..77d793dac842dfd9f96dabe7b4a678103ed1084f --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingEditController.java @@ -0,0 +1,73 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.form.flexible.FormItemContainer; +import org.olat.core.gui.components.form.flexible.impl.FormBasicController; +import org.olat.core.gui.components.form.flexible.impl.FormLayoutContainer; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 7 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingEditController extends FormBasicController { + + public ViteroBookingEditController(UserRequest ureq, WindowControl wControl) { + super(ureq, wControl); + + initForm(ureq); + } + + @Override + protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) { + // + + + FormLayoutContainer buttonCont = FormLayoutContainer.createButtonLayout("buttons", getTranslator()); + formLayout.add(buttonCont); + uifactory.addFormSubmitButton("ok", buttonCont); + uifactory.addFormCancelButton("cancel", buttonCont, ureq, getWindowControl()); + } + + @Override + protected void doDispose() { + // + } + + @Override + protected void formOK(UserRequest ureq) { + fireEvent(ureq, Event.DONE_EVENT); + } + + @Override + protected void formCancelled(UserRequest ureq) { + fireEvent(ureq, Event.CANCELLED_EVENT); + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsAdminController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsAdminController.java new file mode 100644 index 0000000000000000000000000000000000000000..66acb22cc118c9ac3d2582b481b13b6f6a91df10 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsAdminController.java @@ -0,0 +1,139 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import org.olat.core.CoreSpringFactory; +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.Component; +import org.olat.core.gui.components.table.DefaultColumnDescriptor; +import org.olat.core.gui.components.table.StaticColumnDescriptor; +import org.olat.core.gui.components.table.TableController; +import org.olat.core.gui.components.table.TableEvent; +import org.olat.core.gui.components.table.TableGuiConfiguration; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.controller.BasicController; +import org.olat.core.gui.control.generic.modal.DialogBoxController; +import org.olat.core.gui.control.generic.modal.DialogBoxUIFactory; +import org.olat.core.gui.media.RedirectMediaResource; + +import com.frentix.olat.vitero.manager.ViteroManager; +import com.frentix.olat.vitero.model.ViteroBooking; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 10 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingsAdminController extends BasicController { + + private final ViteroManager viteroManager; + + private DialogBoxController dialogCtr; + private final TableController tableCtr; + + public ViteroBookingsAdminController(UserRequest ureq, WindowControl wControl) { + super(ureq, wControl); + + viteroManager = (ViteroManager) CoreSpringFactory.getBean("viteroManager"); + + TableGuiConfiguration tableConfig = new TableGuiConfiguration(); + tableConfig.setTableEmptyMessage(translate("vc.table.empty")); + tableConfig.setDownloadOffered(true); + tableConfig.setColumnMovingOffered(false); + tableConfig.setSortingEnabled(true); + tableConfig.setDisplayTableHeader(true); + tableConfig.setDisplayRowCount(false); + tableConfig.setPageingEnabled(false); + + tableCtr = new TableController(tableConfig, ureq, getWindowControl(), getTranslator()); + listenTo(tableCtr); + + tableCtr.addColumnDescriptor(new DefaultColumnDescriptor("vc.table.begin", + ViteroBookingDataModel.Column.begin.ordinal(), null, ureq.getLocale())); + tableCtr.addColumnDescriptor(new DefaultColumnDescriptor("vc.table.end", ViteroBookingDataModel.Column.end.ordinal(), null, ureq.getLocale())); + tableCtr.addColumnDescriptor(new StaticColumnDescriptor("open", "vc.table.open", translate("vc.table.open"))); + tableCtr.addColumnDescriptor(new StaticColumnDescriptor("delete", "vc.table.delete", translate("vc.table.delete"))); + + ViteroBookingDataModel tableModel = new ViteroBookingDataModel(); + tableCtr.setTableDataModel(tableModel); + + putInitialPanel(tableCtr.getInitialComponent()); + } + + @Override + protected void doDispose() { + //auto disposed + } + + @Override + protected void event(UserRequest ureq, Component source, Event event) { + //nothing to do + } + + @Override + protected void event(UserRequest ureq, Controller source, Event event) { + if(source == tableCtr) { + if(event instanceof TableEvent) { + TableEvent e = (TableEvent)event; + int row = e.getRowId(); + ViteroBooking booking = (ViteroBooking)tableCtr.getTableDataModel().getObject(row); + if("open".equals(e.getActionId())) { + openVitero(ureq, booking); + } else if("delete".equals(e.getActionId())) { + confirmDeleteVitero(ureq, booking); + } + } + } else if(source == dialogCtr) { + if (DialogBoxUIFactory.isOkEvent(event)) { + ViteroBooking booking = (ViteroBooking)dialogCtr.getUserObject(); + deleteBooking(ureq, booking); + } + } + } + + protected void deleteBooking(UserRequest ureq, ViteroBooking booking) { + if( viteroManager.deleteBooking(booking)) { + showInfo("vc.table.delete"); + } else { + showError("vc.table.delete"); + } + } + + protected void confirmDeleteVitero(UserRequest ureq, ViteroBooking booking) { + String title = translate("vc.table.delete"); + String text = translate("vc.table.delete.confirm"); + dialogCtr = activateOkCancelDialog(ureq, title, text, dialogCtr); + dialogCtr.setUserObject(booking); + } + + protected void openVitero(UserRequest ureq, ViteroBooking booking) { + String url = viteroManager.getURLToBooking(ureq.getIdentity(), booking); + RedirectMediaResource redirect = new RedirectMediaResource(url); + ureq.getDispatchResult().setResultingMediaResource(redirect); + } + +} diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsController.java new file mode 100644 index 0000000000000000000000000000000000000000..8b23593555d921ef51f6dbae7f689e67da232f2d --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsController.java @@ -0,0 +1,120 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import java.util.List; + +import org.olat.core.CoreSpringFactory; +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.Component; +import org.olat.core.gui.components.table.DefaultColumnDescriptor; +import org.olat.core.gui.components.table.StaticColumnDescriptor; +import org.olat.core.gui.components.table.TableController; +import org.olat.core.gui.components.table.TableDataModel; +import org.olat.core.gui.components.table.TableEvent; +import org.olat.core.gui.components.table.TableGuiConfiguration; +import org.olat.core.gui.components.velocity.VelocityContainer; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.controller.BasicController; +import org.olat.core.gui.media.RedirectMediaResource; +import org.olat.core.id.OLATResourceable; +import org.olat.group.BusinessGroup; + +import com.frentix.olat.vitero.manager.ViteroManager; +import com.frentix.olat.vitero.model.ViteroBooking; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingsController extends BasicController { + + private final VelocityContainer runVC; + private final TableController tableCtr; + private final ViteroManager viteroManager; + + public ViteroBookingsController(UserRequest ureq, WindowControl wControl, + BusinessGroup group, OLATResourceable ores) { + super(ureq, wControl); + + viteroManager = (ViteroManager) CoreSpringFactory.getBean("viteroManager"); + + List<ViteroBooking> bookings = viteroManager.getBookings(group, ores, getIdentity()); + TableDataModel tableData = new ViteroBookingDataModel(bookings); + + TableGuiConfiguration tableConfig = new TableGuiConfiguration(); + tableConfig.setTableEmptyMessage(translate("vc.table.empty")); + tableConfig.setColumnMovingOffered(true); + tableConfig.setSortingEnabled(true); + tableCtr = new TableController(tableConfig, ureq, wControl, getTranslator()); + tableCtr.addColumnDescriptor(new DefaultColumnDescriptor("vc.table.begin", + ViteroBookingDataModel.Column.begin.ordinal(), null, ureq.getLocale())); + tableCtr.addColumnDescriptor(new DefaultColumnDescriptor("vc.table.end", ViteroBookingDataModel.Column.end.ordinal(), null, ureq.getLocale())); + tableCtr.addColumnDescriptor(new StaticColumnDescriptor("open", "vc.table.open", translate("vc.table.open"))); + + tableCtr.setTableDataModel(tableData); + tableCtr.setSortColumn(2, true);// timeframe + listenTo(tableCtr); + + runVC = createVelocityContainer("run"); + runVC.put("bookings", tableCtr.getInitialComponent()); + + putInitialPanel(runVC); + } + + @Override + protected void doDispose() { + // + } + + @Override + protected void event(UserRequest ureq, Component source, Event event) { + // nothing to do + } + + @Override + protected void event(UserRequest ureq, Controller source, Event event) { + if(source == tableCtr) { + if(event instanceof TableEvent) { + TableEvent e = (TableEvent)event; + int row = e.getRowId(); + ViteroBooking booking = (ViteroBooking)tableCtr.getTableDataModel().getObject(row); + if("open".equals(e.getActionId())) { + openVitero(ureq, booking); + } + } + } + super.event(ureq, source, event); + } + + protected void openVitero(UserRequest ureq, ViteroBooking booking) { + String url = viteroManager.getURLToBooking(ureq.getIdentity(), booking); + RedirectMediaResource redirect = new RedirectMediaResource(url); + ureq.getDispatchResult().setResultingMediaResource(redirect); + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsEditController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsEditController.java new file mode 100644 index 0000000000000000000000000000000000000000..22be476c03f90c0d6e86972f15797c093e5e5057 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroBookingsEditController.java @@ -0,0 +1,172 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import java.util.ArrayList; +import java.util.List; + +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.form.flexible.FormItem; +import org.olat.core.gui.components.form.flexible.FormItemContainer; +import org.olat.core.gui.components.form.flexible.elements.DateChooser; +import org.olat.core.gui.components.form.flexible.elements.FormLink; +import org.olat.core.gui.components.form.flexible.elements.TextElement; +import org.olat.core.gui.components.form.flexible.impl.FormBasicController; +import org.olat.core.gui.components.form.flexible.impl.FormEvent; +import org.olat.core.gui.components.form.flexible.impl.FormLayoutContainer; +import org.olat.core.gui.components.link.Link; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.Event; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.gui.control.generic.closablewrapper.CloseableModalController; +import org.olat.course.editor.NodeEditController; + +import com.frentix.olat.vitero.model.ViteroBooking; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 6 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroBookingsEditController extends FormBasicController { + + private FormLink newButton; + private final List<BookingDisplay> bookingDisplays = new ArrayList<BookingDisplay>(); + + private CloseableModalController cmc; + private ViteroBookingEditController bookingController; + + public ViteroBookingsEditController(UserRequest ureq, WindowControl wControl) { + super(ureq, wControl, "edit"); + + initForm(ureq); + } + + @Override + protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) { + if(formLayout instanceof FormLayoutContainer) { + FormLayoutContainer layoutContainer = (FormLayoutContainer)formLayout; + layoutContainer.contextPut("bookingDisplays", bookingDisplays); + } + + newButton = uifactory.addFormLink("vc.booking.new", formLayout, Link.BUTTON); + uifactory.addFormSubmitButton("subm", formLayout); + } + + @Override + protected void doDispose() { + // nothing to dispose + } + + @Override + protected void formOK(UserRequest ureq) { + fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); + } + + @Override + protected void formInnerEvent(UserRequest ureq, FormItem source, FormEvent event) { + if (source == newButton) { + newBooking(ureq); + } else if (source instanceof FormLink) { + for(BookingDisplay display: bookingDisplays) { + if(display.getDeleteButton() == source) { + removeBooking(ureq, display); + break; + } + } + } + super.formInnerEvent(ureq, source, event); + } + + @Override + protected void event(UserRequest ureq, Controller source, Event event) { + if (source == cmc ) { + removeAsListenerAndDispose(bookingController); + removeAsListenerAndDispose(cmc); + } else if (source == bookingController) { + if(Event.DONE_EVENT.equals(event)) { + fireEvent(ureq, event); + } + cmc.deactivate(); + removeAsListenerAndDispose(bookingController); + removeAsListenerAndDispose(cmc); + } + } + + protected void removeBooking(UserRequest ureq, BookingDisplay bookingDisplay) { + + } + + protected void newBooking(UserRequest ureq) { + removeAsListenerAndDispose(bookingController); + bookingController = new ViteroBookingEditController(ureq, getWindowControl()); + listenTo(bookingController); + + removeAsListenerAndDispose(cmc); + cmc = new CloseableModalController(getWindowControl(), translate("close"), bookingController.getInitialComponent(), true, translate("vc.booking.title")); + listenTo(cmc); + cmc.activate(); + } + + public class BookingDisplay { + + private final ViteroBooking meeting; + private DateChooser calenderBegin; + private TextElement durationEl; + private FormLink deleteButton; + + public BookingDisplay(ViteroBooking meeting) { + this.meeting = meeting; + } + + public ViteroBooking getMeeting() { + return meeting; + } + + public DateChooser getCalenderBegin() { + return calenderBegin; + } + + public void setCalenderBegin(DateChooser calenderBegin) { + this.calenderBegin = calenderBegin; + } + + public TextElement getDurationEl() { + return durationEl; + } + + public void setDurationEl(TextElement durationEl) { + this.durationEl = durationEl; + } + + public FormLink getDeleteButton() { + return deleteButton; + } + + public void setDeleteButton(FormLink deleteButton) { + this.deleteButton = deleteButton; + } + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/ViteroConfigurationController.java b/src/main/java/com/frentix/olat/vitero/ui/ViteroConfigurationController.java new file mode 100644 index 0000000000000000000000000000000000000000..77d94be9dd43f57119e66141a1b86befb70e6f80 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/ViteroConfigurationController.java @@ -0,0 +1,217 @@ +/** + * OLAT - Online Learning and Training<br> + * http://www.olat.org + * <p> + * Licensed under the Apache License, Version 2.0 (the "License"); <br> + * you may not use this file except in compliance with the License.<br> + * You may obtain a copy of the License at + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * Unless required by applicable law or agreed to in writing,<br> + * software distributed under the License is distributed on an "AS IS" BASIS, <br> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> + * See the License for the specific language governing permissions and <br> + * limitations under the License. + * <p> + * Copyright (c) frentix GmbH<br> + * http://www.frentix.com<br> + * <p> + */ +package com.frentix.olat.vitero.ui; + +import java.net.URI; +import java.net.URISyntaxException; + +import org.olat.core.CoreSpringFactory; +import org.olat.core.gui.UserRequest; +import org.olat.core.gui.components.form.flexible.FormItem; +import org.olat.core.gui.components.form.flexible.FormItemContainer; +import org.olat.core.gui.components.form.flexible.elements.FormLink; +import org.olat.core.gui.components.form.flexible.elements.MultipleSelectionElement; +import org.olat.core.gui.components.form.flexible.elements.TextElement; +import org.olat.core.gui.components.form.flexible.impl.FormBasicController; +import org.olat.core.gui.components.form.flexible.impl.FormEvent; +import org.olat.core.gui.components.form.flexible.impl.FormLayoutContainer; +import org.olat.core.gui.components.link.Link; +import org.olat.core.gui.control.Controller; +import org.olat.core.gui.control.WindowControl; +import org.olat.core.util.StringHelper; + +import com.frentix.olat.vitero.ViteroModule; +import com.frentix.olat.vitero.manager.ViteroManager; + +/** + * + * Description:<br> + * + * <P> + * Initial Date: 10 oct. 2011 <br> + * + * @author srosse, stephane.rosse@frentix.com, http://www.frentix.com + */ +public class ViteroConfigurationController extends FormBasicController { + + private final ViteroModule viteroModule; + private final ViteroManager viteroManager; + + private FormLink checkLink; + private TextElement urlEl; + private TextElement loginEl; + private TextElement passwordEl; + private TextElement customerIdEl; + private MultipleSelectionElement viteroEnabled; + + private static String[] enabledKeys = new String[]{"on"}; + private String[] enabledValues; + + public ViteroConfigurationController(UserRequest ureq, WindowControl wControl, ViteroModule viteroModule) { + super(ureq, wControl, "adminconfig"); + + this.viteroModule = viteroModule; + viteroManager = (ViteroManager)CoreSpringFactory.getBean("viteroManager"); + + enabledValues = new String[]{translate("enabled")}; + + initForm(ureq); + } + + @Override + protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) { + if(formLayout instanceof FormLayoutContainer) { + FormLayoutContainer layoutContainer = (FormLayoutContainer)formLayout; + + //module configuration + FormLayoutContainer moduleFlc = FormLayoutContainer.createDefaultFormLayout("flc_module", getTranslator()); + layoutContainer.add(moduleFlc); + + viteroEnabled = uifactory.addCheckboxesHorizontal("vitero.module.enabled", moduleFlc, enabledKeys, enabledValues, null); + viteroEnabled.select(enabledKeys[0], viteroModule.isEnabled()); + viteroEnabled.addActionListener(listener, FormEvent.ONCHANGE); + + //spacer + uifactory.addSpacerElement("Spacer", moduleFlc, false); + + //account configuration + String vmsUri = viteroModule.getVmsURI().toString(); + urlEl = uifactory.addTextElement("vitero-url", "vc.vitero.baseurl", 255, vmsUri, moduleFlc); + urlEl.setDisplaySize(60); + String login = viteroModule.getAdminLogin(); + loginEl = uifactory.addTextElement("vitero-login", "vc.vitero.adminlogin", 32, login, moduleFlc); + String password = viteroModule.getAdminPassword(); + passwordEl = uifactory.addPasswordElement("vitero-password", "vc.vitero.adminpassword", 32, password, moduleFlc); + String customerId = Integer.toString(viteroModule.getCustomerId()); + customerIdEl = uifactory.addTextElement("vitero-customerId", "vc.vitero.customerId", 32, customerId, moduleFlc); + + //buttons save - check + FormLayoutContainer buttonLayout = FormLayoutContainer.createButtonLayout("save", getTranslator()); + moduleFlc.add(buttonLayout); + uifactory.addFormSubmitButton("save", buttonLayout); + checkLink = uifactory.addFormLink("vc.check", buttonLayout, Link.BUTTON); + } + } + + @Override + protected void doDispose() { + // + } + + @Override + protected void formOK(UserRequest ureq) { + try { + String url = urlEl.getValue(); + viteroModule.setVmsURI(new URI(url)); + + String login = loginEl.getValue(); + viteroModule.setAdminLogin(login); + + String password = passwordEl.getValue(); + viteroModule.setAdminPassword(password); + + String customerId = customerIdEl.getValue(); + viteroModule.setCustomerId(Integer.parseInt(customerId)); + } catch (URISyntaxException e) { + logError("", e); + urlEl.setErrorKey("vc.check.url.invalid", null); + } catch(NumberFormatException e) { + logError("", e); + urlEl.setErrorKey("vc.check.customer.invalid", null); + } + } + + @Override + protected boolean validateFormLogic(UserRequest ureq) { + boolean allOk = true; + + String url = urlEl.getValue(); + urlEl.clearError(); + if(StringHelper.containsNonWhitespace(url)) { + try { + new URI(url); + } catch(Exception e) { + urlEl.setErrorKey("vc.check.url.invalid", null); + allOk = false; + } + } else { + urlEl.setErrorKey("form.legende.mandatory", null); + allOk = false; + } + + String login = loginEl.getValue(); + loginEl.clearError(); + if(!StringHelper.containsNonWhitespace(login)) { + loginEl.setErrorKey("form.legende.mandatory", null); + allOk = false; + } + + String password = passwordEl.getValue(); + passwordEl.clearError(); + if(!StringHelper.containsNonWhitespace(password)) { + passwordEl.setErrorKey("form.legende.mandatory", null); + allOk = false; + } + + String customerId = customerIdEl.getValue(); + customerIdEl.clearError(); + if(StringHelper.containsNonWhitespace(customerId)) { + try { + Integer.parseInt(customerId); + } catch(Exception e) { + customerIdEl.setErrorKey("vc.check.customer.invalid", null); + allOk = false; + } + } else { + customerIdEl.setErrorKey("form.legende.mandatory", null); + allOk = false; + } + + return allOk && super.validateFormLogic(ureq); + } + + @Override + protected void formInnerEvent(UserRequest ureq, FormItem source, FormEvent event) { + if(source == viteroEnabled) { + boolean enabled = viteroEnabled.isSelected(0); + viteroModule.setEnabled(enabled); + } else if(source == checkLink) { + if(validateFormLogic(ureq)) { + checkConnection(ureq); + } + } + super.formInnerEvent(ureq, source, event); + } + + protected void checkConnection(UserRequest ureq) { + String url = urlEl.getValue(); + String login = loginEl.getValue(); + String password = passwordEl.getValue(); + String customerId = customerIdEl.getValue(); + + boolean ok = viteroManager.checkConnection(url, login, password, Integer.parseInt(customerId)); + if(ok) { + showInfo("vc.check.ok"); + } else { + showError("vc.check.nok"); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_chelp/ced-vitero-config.html b/src/main/java/com/frentix/olat/vitero/ui/_chelp/ced-vitero-config.html new file mode 100644 index 0000000000000000000000000000000000000000..e2d5c4336c40e08bad9ee3f11ba9d35f4e585663 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_chelp/ced-vitero-config.html @@ -0,0 +1 @@ +<p>$r.translate("chelp.vitero1")</p> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_chelp/module.html b/src/main/java/com/frentix/olat/vitero/ui/_chelp/module.html new file mode 100644 index 0000000000000000000000000000000000000000..a121aa57eb10b65bf1625b675d42fdf3b227133e --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_chelp/module.html @@ -0,0 +1 @@ +Hello help \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_content/adminconfig.html b/src/main/java/com/frentix/olat/vitero/ui/_content/adminconfig.html new file mode 100644 index 0000000000000000000000000000000000000000..0cc61f52eae2e4802a6de8ce0c663a34b35502df --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_content/adminconfig.html @@ -0,0 +1,7 @@ +<fieldset> + <legend>$r.translate("vitero.title")</legend> + $r.contextHelpWithWrapper("com.frentix.olat.vitero.ui","module.html","help.hover.vitero") + <p>$r.translate("vitero.intro")</p> + + $r.render("flc_module") +</fieldset> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_content/edit.html b/src/main/java/com/frentix/olat/vitero/ui/_content/edit.html new file mode 100644 index 0000000000000000000000000000000000000000..d6d6e51f258d332740b6f3f55482aea96bf5d067 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_content/edit.html @@ -0,0 +1,33 @@ +<fieldset> + <legend>$r.translate("vc.bookings.intro")</legend> + $r.contextHelpWithWrapper("com.frentix.olat.vitero.ui","ced-vitero-config.html","help.hover.vitero") + <table> + <tr> + <td>$r.translate("vc.table.begin")</td> + <td colspan="3">$r.translate("vc.table.duration")</td> + </tr> + + #foreach($bookingDisplay in $bookingDisplays) + + #set( $begin = $bookingDisplay.calenderBegin.component.componentName) + #set( $beginErr = $begin + "_ERROR" ) + #set( $duration = $bookingDisplay.durationEl.component.componentName) + #set( $durationErr = $duration + "_ERROR" ) + <tr> + <td><div class="b_form_error">#if($f.hasError($begin))$r.render($beginErr)#end</div></td> + <td><div class="b_form_error">#if($f.hasError($duration))$r.render($durationErr)#end</div></td> + <td></td> + <td></td> + </tr> + <tr> + <td>$r.render($begin)</td> + <td>$r.render($duration)</td> + <td> + $r.render($bookingDisplay.deleteButton.component.componentName) + </td> + </tr> + #end + </table> + + $r.render("vc.booking.new") +</fieldset> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_content/run.html b/src/main/java/com/frentix/olat/vitero/ui/_content/run.html new file mode 100644 index 0000000000000000000000000000000000000000..adbc376d6985434499d49fd92e5c621bd6a80f64 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_content/run.html @@ -0,0 +1,3 @@ +Hello world (by Vitero)<br /> + +$r.render("bookings") \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_content/vitero_admin.html b/src/main/java/com/frentix/olat/vitero/ui/_content/vitero_admin.html new file mode 100644 index 0000000000000000000000000000000000000000..3d776f938257908fbbff3a476ab4ca371c009513 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_content/vitero_admin.html @@ -0,0 +1,7 @@ +<div class="b_clearfix"> + $r.render("segments") <br/> + + #if($r.available("segmentCmp")) + $r.render("segmentCmp") + #end +</div> \ No newline at end of file diff --git a/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_de.properties b/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_de.properties new file mode 100644 index 0000000000000000000000000000000000000000..7b502367732bd617ed18823dc1dfa58a4d5db442 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_de.properties @@ -0,0 +1,72 @@ +admin.menu.title=Vitero +admin.menu.title.alt=Vitero +vitero.title=Vitero +vitero.intro=Hiermit kann die gesamte Vitero-Funktionalität in OLAT ein-, resp. ausgeschaltet werden. +vitero.module.enabled=Vitero einschalten +vitero.account=Konto +enabled=Ein + + +vc.booking.title=Termin f\u00fcr Meeting +vc.booking.new=Neu Booking +vc.bookings.intro=Termine f\u00fcr Meetings + +vc.vitero.baseurl=URL +vc.vitero.adminlogin=Login +vc.vitero.adminpassword=Passwort +vc.vitero.customerId=Benutzer ID +vc.check=Pr\u00fcfen +vc.check.ok=OK +vc.check.nok=Nicht OK! +vc.check.url.invalid=URL ist nicht gültig +vc.check.customer.invalid=Benutzer ID ist nicht gültig + +vc.table.begin=Start +vc.table.end=Ende +vc.table.open=Starten +vc.table.delete=Löschen +vc.table.delete.confirm=Wollen Sie wirklich dieser Booking löschen? +vc.table.empty=Derzeit sind keine Meetings geplant. + + +help.hover.vitero=Hilfe zu "$\:chelp.module.title" +chelp.module.title=Vitero: Konfiguration +chelp.ced-vitero-config.title=$\:help.hover.vitero +chelp.vitero1=Hilfe + + + + + + + + + + + +vc.access.dates=Virtuelles Klassenzimmer soll nur zu bestimmten Terminen betreten werden k\u00f6nnen + +vc.table.add=+ + +vc.table.begin.empty=Datumsangabe fehlt +vc.table.begin.error=Fehlerhafte Eingabe +vc.table.description=Beschreibung +vc.table.description.empty=Beschreibung fehlt +vc.table.delete=- +vc.table.duration=Dauer +vc.table.duration.empty=Dauer fehlt +vc.table.duration.error=Falsches Format +vc.table.duration.example=hh\:mm + + +vc.table.intro=Hier finden Sie eine Liste aller geplanten Meetings: +vc.table.title=Titel +vc.table.title.empty=Titel fehlt + +vc.options=Zutrittsberechtigung +vc.options.intro=Zutrittsberechtigung +vc.options.label=Zutrittsberechtigung + + + + diff --git a/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_en.properties b/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_en.properties new file mode 100644 index 0000000000000000000000000000000000000000..6ca1d7db6be08fd4906f008a747de9108f26dce5 --- /dev/null +++ b/src/main/java/com/frentix/olat/vitero/ui/_i18n/LocalStrings_en.properties @@ -0,0 +1,31 @@ +admin.menu.title=Vitero +admin.menu.title.alt=Vitero +vitero.title=Vitero +vitero.intro=Vitero intro + +vc.access.dates=Virtual classroom shall only be available at defined dates +vc.meetings.intro=Planned dates for meetings +vc.table.add=+ +vc.table.begin=Begin +vc.table.begin.empty=Missing date +vc.table.begin.error=Wrong format +vc.table.description=Description +vc.table.description.empty=Missing description +vc.table.delete=- +vc.table.duration=Duration +vc.table.duration.empty=Missing duration +vc.table.duration.error=Wrong format +vc.table.duration.example=hh\:mm +vc.table.empty=There are no meetings planned, yet. +vc.table.end=End +vc.table.intro=List of currently planned meetings: +vc.table.title=Title +vc.table.title.empty=Missing title +vc.template.choose.intro=Template for virtual classroom +vc.template.choose.label=Template +vc.template.empty=No templates available +vc.options=Access authorisation +vc.options.intro=Access authorisation +vc.options.label=Access authorisation + +help.hover.vitero=Vitero Hilfe \ No newline at end of file diff --git a/src/main/resources/serviceconfig/olat.properties b/src/main/resources/serviceconfig/olat.properties index 90a3c8be26c7a0f1cf2a19168c959b40c0f7205d..b33286f894b1c6cea270425bcec2d52a2783d5a4 100644 --- a/src/main/resources/serviceconfig/olat.properties +++ b/src/main/resources/serviceconfig/olat.properties @@ -548,7 +548,8 @@ course.node.dateenrollment.enabled=false course.node.basiclti.enabled=true course.node.portfolio.enabled=true course.node.infomessage.enabled=true -course.node.vc.enabled=true +course.node.vc.enabled=false +course.node.vitero.enabled=false ######################################## # Options for e-portfolio @@ -564,7 +565,7 @@ portfolio.offer.public.map.list=true ######################################## #Adobe connect -vc.adobe.enabled=true +vc.adobe.enabled=false vc.adobe.protocol=http vc.adobe.port=80 vc.adobe.baseurl=localhost @@ -578,7 +579,7 @@ vc.adobe.usertype=user vc.adobe.usertype.values=guest,user #Winba -vc.winba.enabled=true +vc.winba.enabled=false vc.winba.protocol=http vc.winba.port=80 vc.winba.baseurl=localhost @@ -586,7 +587,7 @@ vc.winba.adminlogin=admin vc.winba.adminpassword=password #Vitero -vc.vitero.enabled=true +vc.vitero.enabled=false vc.vitero.protocol=http vc.vitero.port=8080 vc.vitero.baseurl=localhost