JcrImportCommand
instead.@Deprecated public class ImportCommand extends ExportCommand
Modifier and Type | Field and Description |
---|---|
static String |
IMPORT_IDENTIFIER_BEHAVIOR
Deprecated.
|
static String |
IMPORT_XML_FILE_NAME
Deprecated.
|
static String |
IMPORT_XML_STREAM
Deprecated.
|
EXPORT_EXTENSION, EXPORT_FILE_NAME, EXPORT_FORMAT, EXPORT_KEEP_HISTORY, EXPORT_MIME_EXTENSION, EXPORT_OUTPUT_STREAM, MIME_APPLICATION_ZIP, MIME_GZIP, MIME_TEXT_XML
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
ImportCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Context context)
Deprecated.
This is the actual method to be overridden in descendant classes.
|
int |
getIdentifierBehavior()
Deprecated.
|
String |
getXmlFileName()
Deprecated.
|
InputStream |
getXmlStream()
Deprecated.
|
boolean |
isForceUnpublishState()
Deprecated.
|
void |
setForceUnpublishState(boolean forceUnpublishState)
Deprecated.
|
void |
setIdentifierBehavior(int identifierBehavior)
Deprecated.
See
ImportUUIDBehavior constants definition. |
void |
setXmlFileName(String xmlFileName)
Deprecated.
|
void |
setXmlStream(InputStream xmlStream)
Deprecated.
|
checkPermissions, getExt, getFileName, getMimeExtension, getOutputStream, isFormat, isKeepHistory, setExt, setFileName, setFormat, setKeepHistory, setMimeExtension, setOutputStream
getJCRNode, getNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
clone, execute, isEnabled, setEnabled
public static final String IMPORT_XML_STREAM
public static final String IMPORT_XML_FILE_NAME
public static final String IMPORT_IDENTIFIER_BEHAVIOR
public boolean execute(Context context) throws Exception
MgnlCommand
execute
in class ExportCommand
Exception
public InputStream getXmlStream()
public void setXmlStream(InputStream xmlStream)
xmlStream
- the xmlStream to setpublic boolean isForceUnpublishState()
public void setForceUnpublishState(boolean forceUnpublishState)
public String getXmlFileName()
public void setXmlFileName(String xmlFileName)
xmlFileName
- the xmlFileName to setpublic int getIdentifierBehavior()
public void setIdentifierBehavior(int identifierBehavior)
ImportUUIDBehavior
constants definition.identifierBehavior
- the identifierBehavior to setCopyright © 2003–2017 Magnolia International Ltd.. All rights reserved.