info.magnolia.dam.commands
Class ImportAssetZipCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.commands.impl.BaseRepositoryCommand
          extended by info.magnolia.ui.framework.command.ImportZipCommand
              extended by info.magnolia.dam.commands.ImportAssetZipCommand
All Implemented Interfaces:
info.magnolia.commands.chain.Command, Cloneable

public class ImportAssetZipCommand
extends info.magnolia.ui.framework.command.ImportZipCommand

Imports assets stored in zip archive into "dam" workspace.


Field Summary
 
Fields inherited from class info.magnolia.ui.framework.command.ImportZipCommand
BACKSLASH_DUMMY, context, DEFAULT_MIME_TYPE, ENCODING_PROPERTY, STREAM_PROPERTY, ZIP_TMP_FILE_PREFIX, ZIP_TMP_FILE_SUFFIX
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface info.magnolia.commands.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
ImportAssetZipCommand(DamModule dam, info.magnolia.i18nsystem.SimpleTranslator translator)
           
 
Method Summary
protected  void doHandleEntryFromReceiver(javax.jcr.Node parentFolder, info.magnolia.ui.form.field.upload.UploadReceiver receiver)
           
 
Methods inherited from class info.magnolia.ui.framework.command.ImportZipCommand
execute, getEncoding, getInputStream, handleFileEntry, setEncoding, setInputStream
 
Methods inherited from class info.magnolia.commands.impl.BaseRepositoryCommand
getJCRNode, getNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
 
Methods inherited from class info.magnolia.commands.MgnlCommand
clone, execute, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportAssetZipCommand

@Inject
public ImportAssetZipCommand(DamModule dam,
                                    info.magnolia.i18nsystem.SimpleTranslator translator)
Method Detail

doHandleEntryFromReceiver

protected void doHandleEntryFromReceiver(javax.jcr.Node parentFolder,
                                         info.magnolia.ui.form.field.upload.UploadReceiver receiver)
                                  throws javax.jcr.RepositoryException
Overrides:
doHandleEntryFromReceiver in class info.magnolia.ui.framework.command.ImportZipCommand
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.