|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.schedule.AbstractAction
inetsoft.sree.schedule.ViewsheetAction
public class ViewsheetAction
A schedule action to run a viewsheet. The action could save the viewsheet in a PDF file, deliver it through email.
| Field Summary |
|---|
| Fields inherited from class inetsoft.sree.schedule.AbstractAction |
|---|
emailInfo, encoding, isNotifyError, notifies |
| Constructor Summary | |
|---|---|
ViewsheetAction()
Create an empty action. |
|
ViewsheetAction(String viewsheet,
RepletRequest request)
A viewsheet action for the specified viewsheet. |
|
| Method Summary | |
|---|---|
void |
clearBookmark()
|
Object |
clone()
|
boolean |
equals(Object val)
Compares whether two schedule actions are identical. |
ScheduleAlert[] |
getAlerts()
Gets the alert conditions for this action. |
String |
getBookmark()
|
String |
getBookmarkUser()
|
protected String |
getFileExtend(int format)
Get the file extend. |
protected int |
getFileType()
|
inetsoft.util.ItemMap |
getParams()
Get the parameters used to generate the viewsheet. |
String |
getScheduleEmails(inetsoft.report.composition.execution.ViewsheetSandbox box)
|
protected String |
getViewsheet()
|
String |
getViewSheetName()
Get the viewsheet name of the action. |
RepletRequest |
getViewsheetRequest()
Get the request used to generate the viewsheet. |
protected inetsoft.report.io.viewsheet.VSExporter |
getVSExporter(int type,
OutputStream out)
|
boolean |
isMatchLayout()
If match the layout. |
void |
parseXML(Element action)
Parse the replet action definition from xml. |
protected String |
prepareViewsheet(Principal principal)
|
void |
run(Principal principal)
Execute this action. |
String |
runViewsheetAction(Principal principal)
|
void |
setAlerts(ScheduleAlert[] alerts)
Sets the alert conditions for this action. |
void |
setMatchLayout(boolean matched)
Set the match lay out. |
void |
setViewSheetName(String name)
Set the viewsheet name of the action. |
void |
setViewsheetRequest(RepletRequest req)
Set the request used to generate the viewsheet. |
String |
toString()
|
void |
writeXML(PrintWriter writer)
Write itself to a xml file |
| Methods inherited from class inetsoft.sree.schedule.AbstractAction |
|---|
byteDecode, byteEncode, cancel, getAttachmentName, getEmails, getEmails, getFileFormat, getFrom, getMessage, getNotifications, getPassword, getSubject, isCanceled, isCompressFile, isEncoding, isNotifyError, notify, setAttachmentName, setCompressFile, setEmails, setEncoding, setFileFormat, setFrom, setMessage, setNotifications, setNotifyError, setPassword, setSubject |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ViewsheetAction()
public ViewsheetAction(String viewsheet,
RepletRequest request)
| Method Detail |
|---|
public RepletRequest getViewsheetRequest()
public void setViewsheetRequest(RepletRequest req)
public String getViewSheetName()
public void setViewSheetName(String name)
public void clearBookmark()
public inetsoft.util.ItemMap getParams()
public void parseXML(Element action)
throws Exception
Exceptionpublic void writeXML(PrintWriter writer)
public boolean equals(Object val)
equals in class Objectpublic String toString()
toString in class Objectpublic Object clone()
clone in class Object
public void run(Principal principal)
throws Throwable
principal - represents an entity
Throwable
protected String prepareViewsheet(Principal principal)
throws Throwable
Throwable
public String runViewsheetAction(Principal principal)
throws Throwable
Throwableprotected int getFileType()
protected inetsoft.report.io.viewsheet.VSExporter getVSExporter(int type,
OutputStream out)
protected String getFileExtend(int format)
throws RuntimeException
RuntimeExceptionpublic boolean isMatchLayout()
public void setMatchLayout(boolean matched)
protected String getViewsheet()
public String getBookmark()
public String getBookmarkUser()
public String getScheduleEmails(inetsoft.report.composition.execution.ViewsheetSandbox box)
public ScheduleAlert[] getAlerts()
public void setAlerts(ScheduleAlert[] alerts)
alerts - the alert conditions.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||