public class ExportFolderActionExecuter extends AbstractActionExecuter
group, groupedConditionEvaluatorList, indexImage, nonRequiredConditionEvaluatorList, requiredConditionEvaluatorList
Constructor and Description |
---|
ExportFolderActionExecuter() |
Modifier and Type | Method and Description |
---|---|
void |
addFailedDoc(java.lang.String docName) |
void |
addFolderToZip(java.lang.String objectId,
java.lang.String ticket,
Action action,
java.util.zip.ZipOutputStream zout)
Adds a folder to the zip
If any child docs are subfolders or empty docs, they are omitted
|
protected void |
addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
A hook method for actions to add mandatory parameters to the provided list.
|
void |
executeImpl(java.lang.String ticket,
Action action)
Passing in a folderId, Export Folder iterates through the folder's child documents and creates a zip of them
|
java.lang.String |
getTagAttr() |
void |
setTagAttr(java.lang.String tagAttr) |
evaluateAndExecute, execute, getActionDefinition, getDescription, getGroupedConditionEvaluatorList, getIndexImage, getNonRequiredConditionEvaluatorList, getRequiredConditionEvaluatorList, getShouldPoolAction, isGroup, setActionExecutionThreadManager, setDescription, setGroup, setGroupedConditionEvaluatorList, setIndexImage, setNonRequiredConditionEvaluatorList, setRequiredConditionEvaluatorList, setShouldPoolAction
checkParameters
public void setTagAttr(java.lang.String tagAttr)
public java.lang.String getTagAttr()
public void addFailedDoc(java.lang.String docName)
protected void addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
AbstractActionExecuter
addMandatoryParameters
in class AbstractActionExecuter
mandatoryProperties
- a list of mandatory parameters that must be provided to the action executer when executed.public void executeImpl(java.lang.String ticket, Action action)
executeImpl
in interface ActionExecuter
executeImpl
in class AbstractActionExecuter
ticket
- a valid OC ticket.action
- the action object containing the parameters sent to the action for execution.ActionExecuter.executeImpl(String, Action)
public void addFolderToZip(java.lang.String objectId, java.lang.String ticket, Action action, java.util.zip.ZipOutputStream zout)
objectId
- - folder id of the containerticket
- - ticket to make authenticated callsaction
- zout
- - zip container