org.jboss.portal.cms.impl.jcr.command
Class StoreArchiveCommand

java.lang.Object
  extended by org.jboss.portal.common.invocation.Invocation
      extended by org.jboss.portal.cms.Command
          extended by org.jboss.portal.cms.impl.jcr.JCRCommand
              extended by org.jboss.portal.cms.impl.jcr.command.StoreArchiveCommand
All Implemented Interfaces:
java.io.Serializable

public class StoreArchiveCommand
extends JCRCommand

Saves an uploaded archive to the repo.

Author:
Roy Russo, Sohil Shah
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand
context, JCR_COMMANDFATORY_ATTRIBUTE, JCR_LOCALE_ATTRIBUTE, JCR_SESSION_ATTRIBUTE
 
Fields inherited from class org.jboss.portal.common.invocation.Invocation
EMPTY_STACK
 
Constructor Summary
StoreArchiveCommand(java.lang.String sRootPath, java.io.InputStream is, java.lang.String sLanguage)
           
 
Method Summary
 java.lang.Object execute()
           
 
Methods inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand
getContext, setContext
 
Methods inherited from class org.jboss.portal.common.invocation.Invocation
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreArchiveCommand

public StoreArchiveCommand(java.lang.String sRootPath,
                           java.io.InputStream is,
                           java.lang.String sLanguage)
Parameters:
sRootPath -
is -
sLanguage -
Method Detail

execute

public java.lang.Object execute()
Specified by:
execute in class JCRCommand