Class ExportAction<ATTACHEDTO extends Help>
- Object
-
- Action
-
- ExportAction<ATTACHEDTO>
-
- All Implemented Interfaces:
Help
public class ExportAction<ATTACHEDTO extends Help> extends Action
This action starts exporting or archiving. It's a programmatic version of the same action available in UI. As such it allows user to schedule the action in calculation flow formula.
-
-
Constructor Summary
Constructors Constructor Description ExportAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String jobName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ATTACHEDTO
back()
ExportAction<ATTACHEDTO>
doArchive(String templateName)
Notifies system that archiving for selected template should be started.ExportAction<ATTACHEDTO>
doExport(String templateName)
Notifies system that export for selected template should be started.String
getJobName()
String
getObjectName()
String
getTemplateName()
Boolean
isArchive()
Boolean
isExport()
String
toString()
-
-
-
Constructor Detail
-
ExportAction
public ExportAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String jobName)
-
-
Method Detail
-
doExport
public ExportAction<ATTACHEDTO> doExport(String templateName)
Notifies system that export for selected template should be started.- Parameters:
templateName
- template to use
-
doArchive
public ExportAction<ATTACHEDTO> doArchive(String templateName)
Notifies system that archiving for selected template should be started.- Parameters:
templateName
- template to use
-
back
public ATTACHEDTO back()
-
getObjectName
public String getObjectName()
-
getJobName
public String getJobName()
-
getTemplateName
public String getTemplateName()
-
isExport
public Boolean isExport()
-
isArchive
public Boolean isArchive()
-
-