public class JcrImportCommand extends BaseRepositoryCommand
log
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
JcrImportCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Context context)
This is the actual method to be overridden in descendant classes.
|
String |
getFileName() |
int |
getIdentifierBehavior() |
String |
getImportPath() |
InputStream |
getStream() |
boolean |
isSaveAfterImport() |
void |
setFileName(String fileName) |
void |
setIdentifierBehavior(int identifierBehavior) |
void |
setImportPath(String subPathToImport) |
void |
setSaveAfterImport(boolean saveAfterImport) |
void |
setStream(InputStream stream) |
getJCRNode, getNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
clone, execute, isEnabled, setEnabled
public boolean execute(Context context) throws Exception
MgnlCommand
execute
in class MgnlCommand
Exception
public boolean isSaveAfterImport()
public void setSaveAfterImport(boolean saveAfterImport)
public int getIdentifierBehavior()
public void setIdentifierBehavior(int identifierBehavior)
public String getFileName()
public void setFileName(String fileName)
public String getImportPath()
public void setImportPath(String subPathToImport)
public InputStream getStream()
public void setStream(InputStream stream)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.