1
14
15 package com.liferay.portal.editor.fckeditor.command.impl;
16
17 import com.liferay.portal.editor.fckeditor.command.Command;
18 import com.liferay.portal.editor.fckeditor.command.CommandArgument;
19 import com.liferay.portal.editor.fckeditor.receiver.CommandReceiver;
20 import com.liferay.portal.editor.fckeditor.receiver.CommandReceiverFactory;
21
22 import javax.servlet.http.HttpServletRequest;
23 import javax.servlet.http.HttpServletResponse;
24
25
30 public class GetFoldersAndFilesCommand implements Command {
31
32 public void execute(
33 CommandArgument argument, HttpServletRequest request,
34 HttpServletResponse response) {
35
36 CommandReceiver receiver = CommandReceiverFactory.getCommandReceiver(
37 argument.getType());
38
39 receiver.getFoldersAndFiles(argument, request, response);
40 }
41
42 }