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 GetFoldersCommand implements Command {
029
030 public void execute(
031 CommandArgument commandArgument, HttpServletRequest request,
032 HttpServletResponse response) {
033
034 CommandReceiver commandReceiver =
035 CommandReceiverFactory.getCommandReceiver(
036 commandArgument.getType());
037
038 commandReceiver.getFolders(commandArgument, request, response);
039 }
040
041 }