|
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
public abstract class AbstractAction
This is the base class for action.
| Field Summary | |
|---|---|
protected inetsoft.sree.schedule.EmailInfo |
emailInfo
|
protected boolean |
encoding
|
protected boolean |
isNotifyError
|
protected String |
notifies
|
| Constructor Summary | |
|---|---|
AbstractAction()
|
|
| Method Summary | |
|---|---|
String |
byteDecode(String encString)
Convert the encoded string to the original unencoded string. |
String |
byteEncode(String source)
Encode non-ascii characters to unicode enclosed in '[]'. |
void |
cancel()
Cancel the action. |
String |
getAttachmentName()
Get email attachmentName. |
String |
getEmails()
Get all emails to send the report. |
protected String |
getEmails(String emailStr)
Get notification emails. |
String |
getFileFormat()
Get the email file format. |
String |
getFrom()
Get the from text of the email header. |
String |
getMessage()
Get the email text message. |
String |
getNotifications()
Get all notification emails. |
String |
getPassword()
Get the encrypt zip file password. |
String |
getSubject()
Get the email subject. |
protected boolean |
isCanceled()
Cancel the action. |
boolean |
isCompressFile()
Check if the exported file needs to be zipped up. |
boolean |
isEncoding()
Check if this object should encoded when writing. |
boolean |
isNotifyError()
Notify only if failed. |
void |
notify(String email)
Add a notification email to notify when this action is completed. |
void |
setAttachmentName(String attachmentName)
Set email attachmentName. |
void |
setCompressFile(boolean compress)
Set the flag indicating whether or not the exported file is to be zipped up before it is delivered. |
void |
setEmails(String emails)
Set the emails to send the report notification. |
void |
setEncoding(boolean encoding)
Set encoding flag. |
void |
setFileFormat(String format)
Set the email file format. |
void |
setFrom(String from)
Set the from text of the email that is sent by this replet action. |
void |
setMessage(String msg)
Set email message. |
void |
setNotifications(String notifies)
Set the notification list. |
void |
setNotifyError(boolean isNotifyError)
Set the flag indicating whether or not send a success email. |
void |
setPassword(String password)
Set the encrypt zip file password. |
void |
setSubject(String subject)
Set the email subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.sree.schedule.ScheduleAction |
|---|
run |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Field Detail |
|---|
protected transient boolean encoding
protected boolean isNotifyError
protected String notifies
protected inetsoft.sree.schedule.EmailInfo emailInfo
| Constructor Detail |
|---|
public AbstractAction()
| Method Detail |
|---|
public void notify(String email)
email - comma separated email list.public void setEmails(String emails)
setEmails in interface EmailSupportemails - comma separated email list.public String getEmails()
getEmails in interface EmailSupportpublic void setNotifications(String notifies)
setNotifications in interface EmailSupportpublic String getNotifications()
getNotifications in interface EmailSupportpublic void setFrom(String from)
setFrom in interface EmailSupportfrom - the from text of the email header.public String getFrom()
getFrom in interface EmailSupportpublic void setMessage(String msg)
setMessage in interface EmailSupportpublic String getMessage()
getMessage in interface EmailSupportpublic void setSubject(String subject)
setSubject in interface EmailSupportpublic String getSubject()
getSubject in interface EmailSupportpublic void setFileFormat(String format)
setFileFormat in interface EmailSupportpublic String getFileFormat()
getFileFormat in interface EmailSupportpublic void setCompressFile(boolean compress)
setCompressFile in interface EmailSupportpublic boolean isCompressFile()
isCompressFile in interface EmailSupportpublic void setAttachmentName(String attachmentName)
public String getAttachmentName()
public void setPassword(String password)
password - the encrypt file password.public String getPassword()
public void setNotifyError(boolean isNotifyError)
isNotifyError - notify only if failed.public boolean isNotifyError()
public String byteEncode(String source)
byteEncode in interface inetsoft.sree.internal.HttpXMLSerializablesource - source string.
public String byteDecode(String encString)
byteDecode in interface inetsoft.sree.internal.HttpXMLSerializableencString - a string encoded using the byteEncode method.
public boolean isEncoding()
isEncoding in interface inetsoft.sree.internal.HttpXMLSerializabletrue if should encoded, false otherwise.public void setEncoding(boolean encoding)
setEncoding in interface inetsoft.sree.internal.HttpXMLSerializableencoding - true to encode.public void cancel()
cancel in interface CancelableActionprotected boolean isCanceled()
protected String getEmails(String emailStr)
|
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 | ||||||||