org.jboss.portal.cms.impl.jcr.composite
Class NewFileCommand

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.JCRCompositeCommand
                  extended by org.jboss.portal.cms.impl.jcr.composite.NewFileCommand
All Implemented Interfaces:
java.io.Serializable

public class NewFileCommand
extends JCRCompositeCommand

Author:
Thomas Heute, Sohil Shah - Nov 28, 2006
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.portal.cms.impl.jcr.JCRCompositeCommand
commands
 
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
NewFileCommand(File file, Content content)
           
 
Method Summary
 Content getContent()
           
 java.lang.String getPath()
           
 
Methods inherited from class org.jboss.portal.cms.impl.jcr.JCRCompositeCommand
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

NewFileCommand

public NewFileCommand(File file,
                      Content content)
Method Detail

getPath

public java.lang.String getPath()
Returns:

getContent

public Content getContent()
Returns: