001
014
015 package com.liferay.portal.editor.fckeditor.command.impl;
016
017 import com.liferay.portal.editor.fckeditor.command.Command;
018 import com.liferay.portal.editor.fckeditor.command.CommandArgument;
019 import com.liferay.portal.editor.fckeditor.receiver.CommandReceiver;
020 import com.liferay.portal.editor.fckeditor.receiver.CommandReceiverFactory;
021
022 import javax.servlet.http.HttpServletRequest;
023 import javax.servlet.http.HttpServletResponse;
024
025
028 public class CreateFolderCommand implements Command {
029
030 public void execute(
031 CommandArgument argument, HttpServletRequest request,
032 HttpServletResponse response) {
033
034 CommandReceiver receiver = CommandReceiverFactory.getCommandReceiver(
035 argument.getType());
036
037 receiver.createFolder(argument, request, response);
038 }
039
040 }