JcrExportCommand
instead.@Deprecated public class ExportCommand extends BaseRepositoryCommand
Modifier and Type | Field and Description |
---|---|
static String |
EXPORT_EXTENSION
Deprecated.
|
static String |
EXPORT_FILE_NAME
Deprecated.
|
static String |
EXPORT_FORMAT
Deprecated.
|
static String |
EXPORT_KEEP_HISTORY
Deprecated.
|
static String |
EXPORT_MIME_EXTENSION
Deprecated.
|
static String |
EXPORT_OUTPUT_STREAM
Deprecated.
|
static String |
MIME_APPLICATION_ZIP
Deprecated.
|
static String |
MIME_GZIP
Deprecated.
|
static String |
MIME_TEXT_XML
Deprecated.
|
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
ExportCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermissions(String repository,
String basePath,
long permissionType)
Deprecated.
Uses access manager to authorize this request.
|
boolean |
execute(Context context)
Deprecated.
This is the actual method to be overridden in descendant classes.
|
String |
getExt()
Deprecated.
|
String |
getFileName()
Deprecated.
|
String |
getMimeExtension()
Deprecated.
|
OutputStream |
getOutputStream()
Deprecated.
|
boolean |
isFormat()
Deprecated.
|
boolean |
isKeepHistory()
Deprecated.
|
void |
setExt(String ext)
Deprecated.
|
void |
setFileName(String fileName)
Deprecated.
|
void |
setFormat(boolean format)
Deprecated.
|
void |
setKeepHistory(boolean keepHistory)
Deprecated.
|
void |
setMimeExtension(String mimeExtension)
Deprecated.
|
void |
setOutputStream(OutputStream outputStream)
Deprecated.
|
getJCRNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
clone, execute, isEnabled, setEnabled
public static final String MIME_TEXT_XML
public static final String MIME_GZIP
public static final String MIME_APPLICATION_ZIP
public static final String EXPORT_EXTENSION
public static final String EXPORT_FORMAT
public static final String EXPORT_KEEP_HISTORY
public static final String EXPORT_FILE_NAME
public static final String EXPORT_MIME_EXTENSION
public static final String EXPORT_OUTPUT_STREAM
public boolean execute(Context context) throws Exception
MgnlCommand
execute
in class MgnlCommand
Exception
public boolean checkPermissions(String repository, String basePath, long permissionType)
public String getExt()
public void setExt(String ext)
ext
- the ext to setpublic boolean isFormat()
public void setFormat(boolean format)
format
- the format to setpublic boolean isKeepHistory()
public void setKeepHistory(boolean keepHistory)
keepHistory
- the keepHistory to setpublic String getFileName()
public void setFileName(String fileName)
fileName
- the fileName to setpublic OutputStream getOutputStream()
public void setOutputStream(OutputStream outputStream)
outputStream
- the outputStream to setpublic String getMimeExtension()
public void setMimeExtension(String mimeExtension)
mimeExtension
- the mimeExtension to setCopyright © 2003–2020 Magnolia International Ltd.. All rights reserved.