Skip navigation links
com.essbase.eas.server
Class FileDownloadCommandListener
java.lang.Object
com.essbase.eas.framework.server.application.DefaultApplicationPart
com.essbase.eas.framework.server.application.AbstractCommandListener
com.essbase.eas.server.FileDownloadCommandListener
- All Implemented Interfaces:
- ApplicationPart, CommandListener
-
public class FileDownloadCommandListener
- extends AbstractCommandListener
| Fields inherited from class com.essbase.eas.framework.server.application.DefaultApplicationPart |
CHAIN_SEPARATOR, manager, parts, serviceContext, serviceManager, state, STATE_BEFORE_WORKERS_ASSIGNED, STATE_CONSTRUCTED, STATE_DESTROYED, STATE_INITIALIZED, STATE_MANAGED, STATE_NULL, STATE_WORKERS_ASSIGNED, STATE_WORKERS_INITIALIZED, storeService |
| Method Summary |
boolean |
downloadBegin(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverFileName, java.lang.String clientFileName)
command handler method used to initiate downloading a file from mid tier. |
boolean |
downloadCancel(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverFileName)
command handler method to perform steps necessary when an download command is canceled. |
boolean |
downloadContinue(CommandEvent theEvent, ServiceContext theContext, java.lang.String serverFileName)
command handler method for continuing the transfer of an outline file from the client to the mid-tier. |
boolean |
downloadEnd(CommandEvent theEvent, ServiceContext theContext, java.lang.String filename)
|
CommandDescriptor[] |
getCommands()
implementation of the CommandListener.getCommands() method. |
boolean |
getDirectoryFiles(CommandEvent theEvent, ServiceContext theContext, java.lang.String dir)
|
static java.io.File |
getDownloadFile(CommandEvent theEvent, StoreService storeService, java.lang.String filename, boolean remove)
|
| Methods inherited from class com.essbase.eas.framework.server.application.AbstractCommandListener |
addMethodAlias, addMethodAlias, assignWorkers, buildMethodMap, convertStringValueToArgument, getArgumentsForCommand, getMethod, getMethodForAlias, getRoles, getSessionObject, handleEvent, handleEventException, handleEventPost, handleEventPrep, init, isRequestFromSameServer, removeSessionObject, setServiceResult, setSessionObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDownloadCommandListener
public FileDownloadCommandListener()
- default constructor.
getDirectoryFiles
public boolean getDirectoryFiles(CommandEvent theEvent,
ServiceContext theContext,
java.lang.String dir)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
downloadBegin
public boolean downloadBegin(CommandEvent theEvent,
ServiceContext theContext,
java.lang.String serverFileName,
java.lang.String clientFileName)
throws java.lang.Exception
- command handler method used to initiate downloading a file from mid tier.
-
- Throws:
java.lang.Exception
downloadCancel
public boolean downloadCancel(CommandEvent theEvent,
ServiceContext theContext,
java.lang.String serverFileName)
throws java.lang.Exception
- command handler method to perform steps necessary when an download command is canceled.
-
- Throws:
java.lang.Exception
downloadContinue
public boolean downloadContinue(CommandEvent theEvent,
ServiceContext theContext,
java.lang.String serverFileName)
throws java.lang.Exception
- command handler method for continuing the transfer of an outline file from the client to the mid-tier.
-
- Throws:
java.lang.Exception
downloadEnd
public boolean downloadEnd(CommandEvent theEvent,
ServiceContext theContext,
java.lang.String filename)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
getCommands
public CommandDescriptor[] getCommands()
- implementation of the CommandListener.getCommands() method.
-
- Specified by:
getCommands in interface CommandListener
- Overrides:
getCommands in class AbstractCommandListener
-
- Returns:
- a zero-length array of
CommandDescriptor objects.
getDownloadFile
public static java.io.File getDownloadFile(CommandEvent theEvent,
StoreService storeService,
java.lang.String filename,
boolean remove)
Skip navigation links
Copyright © 2001, 2012, Oracle. All rights reserved.