// gather the parameters we need to move a channel
String destinationId = request.getParameter("elementID");
int sourceId = Integer.parseInt(request.getParameter("channelID"));
String method = request.getParameter("position");
IChannelRegistryStore channelRegistryStore = ChannelRegistryStoreFactory.getChannelRegistryStoreImpl();
IChannelDefinition definition = channelRegistryStore.getChannelDefinition(sourceId);
IUserLayoutChannelDescription channel = new UserLayoutChannelDescription(definition);
for (IChannelParameter param : definition.getParameters()) {
if (param.getOverride()) {
String paramValue = request.getParameter(param.getName());