|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.interstarinc.xmedius.sendfax.model.DefaultFaxModel
public class DefaultFaxModel
A default fax model implementation.
IFaxModel| Nested Class Summary | |
|---|---|
class |
DefaultFaxModel.DefaultAddress
A default address mplementation. |
class |
DefaultFaxModel.DefaultCompanyInfo
A default company information implementation. |
class |
DefaultFaxModel.DefaultFaxOptions
A default fax settings implementation. |
private class |
DefaultFaxModel.DefaultRecipientInfo
A default fax recipient implementation. |
class |
DefaultFaxModel.DefaultSenderInfo
A default sender information implementation. |
| Field Summary | |
|---|---|
private List<File> |
attachmentList
The attachments to be sent with the fax. |
private String |
comment
The fax comment. |
private File |
coverSheet
The fax cover sheet. |
private CoverSheetType |
coverSheetType
The fax cover sheet type. |
private DefaultFaxModel.DefaultFaxOptions |
faxOptions
The fax transmission settings. |
private BooleanValue |
inputFileDeleted
A flag to instruct the Xml Gateway to keep or delete temporary files. |
private String |
password
The password to authenticate the user submitting the fax. |
private List<IRecipientInfo> |
recipientList
The fax target recipient. |
private DefaultFaxModel.DefaultSenderInfo |
senderInfo
The fax sender informations. |
private String |
subject
The fax subject. |
private String |
userId
The user submitting the fax. |
| Constructor Summary | |
|---|---|
DefaultFaxModel()
|
|
| Method Summary | |
|---|---|
void |
addRecipientInfo(IRecipientInfo ri)
Add a recipient to the fax. |
void |
addRecipientInfo(String name,
String company,
String faxNumber)
Add a recipient to the fax. |
void |
clearFaxOptions()
Clears the fax settings. |
void |
clearSenderInfo()
Clear the sender information instance. |
List<File> |
getAttachmentList()
May be required |
String |
getComment()
May be required. |
File |
getCoverSheet()
Required if cover sheet type is CoverSheetType.LOCAL or CoverSheetType.SERVER. |
CoverSheetType |
getCoverSheetType()
Required. |
DefaultFaxModel.DefaultFaxOptions |
getFaxOptions()
Retrieve the fax settings instance created with newFaxOptions() methods. |
BooleanValue |
getInputFileDeleted()
Defaults to BooleanValue.YES |
String |
getPassword()
Optional |
List<IRecipientInfo> |
getRecipientList()
Retrieve the fax recipients. |
DefaultFaxModel.DefaultSenderInfo |
getSenderInfo()
Retrieve the fax sender information instance created with newSenderInfo() methods. |
String |
getSubject()
Optional |
String |
getUserId()
Required |
void |
newFaxOptions()
Create the fax settings instance. |
void |
newFaxOptions(IFaxOptions fo)
Create the fax settings instance using the supplied the parameter. |
void |
newSenderInfo()
Create the fax' sender information instance. |
void |
newSenderInfo(ISenderInfo si)
Create the fax' sender information instance using the supplied the parameter. |
void |
removeRecipientInfo(IRecipientInfo ri)
Remove a fax recipient. |
void |
removeRecipientInfo(String name,
String faxNumber)
Remove a fax recipient. |
void |
setComment(String comment)
|
void |
setCoverSheet(File coverSheet)
|
void |
setCoverSheetType(CoverSheetType coverSheetType)
|
void |
setInputFileDeleted(BooleanValue inputFileDeleted)
|
void |
setPassword(String password)
|
void |
setSubject(String subject)
|
void |
setUserId(String userId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private List<File> attachmentList
private String comment
private File coverSheet
private CoverSheetType coverSheetType
private String userId
private String password
private List<IRecipientInfo> recipientList
private String subject
private BooleanValue inputFileDeleted
private DefaultFaxModel.DefaultSenderInfo senderInfo
private DefaultFaxModel.DefaultFaxOptions faxOptions
| Constructor Detail |
|---|
public DefaultFaxModel()
| Method Detail |
|---|
public List<File> getAttachmentList()
IFaxModel
getAttachmentList in interface IFaxModelIFaxModel.getComment()public String getComment()
IFaxModel
getComment in interface IFaxModelpublic File getCoverSheet()
IFaxModel
getCoverSheet in interface IFaxModelpublic CoverSheetType getCoverSheetType()
IFaxModel
getCoverSheetType in interface IFaxModelIFaxModel.getComment(),
CoverSheetTypepublic void newFaxOptions()
IFaxOptions.
newFaxOptions(IFaxOptions),
DefaultFaxModel.DefaultFaxOptionspublic void newFaxOptions(IFaxOptions fo)
IFaxOptions.DefaultFaxOptions instance.
newFaxOptions(),
DefaultFaxModel.DefaultFaxOptionspublic void clearFaxOptions()
public DefaultFaxModel.DefaultFaxOptions getFaxOptions()
newFaxOptions() methods.
getFaxOptions in interface IFaxModelnewFaxOptions(),
newFaxOptions(IFaxOptions)public BooleanValue getInputFileDeleted()
getInputFileDeleted in interface IFaxModelpublic String getPassword()
IFaxModel
getPassword in interface IFaxModelpublic List<IRecipientInfo> getRecipientList()
getRecipientList in interface IFaxModeladdRecipientInfo(IRecipientInfo),
addRecipientInfo(String, String, String),
removeRecipientInfo(IRecipientInfo),
removeRecipientInfo(String, String)
public void addRecipientInfo(String name,
String company,
String faxNumber)
IRecipientInfo.
name - the recipient's name.company - the recipient's companyfaxNumber - the recipient's fax numberaddRecipientInfo(IRecipientInfo),
DefaultFaxModel.DefaultRecipientInfopublic void addRecipientInfo(IRecipientInfo ri)
IRecipientInfo.DefaultRecipientInfo instance.
ri - the recipient to be added to the fax.addRecipientInfo(String, String, String)
public void removeRecipientInfo(String name,
String faxNumber)
IRecipientInfo.
name - the recipient's name.faxNumber - the recipient's fax numberpublic void removeRecipientInfo(IRecipientInfo ri)
IRecipientInfo.
ri - the fax recipient to be removed.removeRecipientInfo(String, String)public void newSenderInfo()
ISenderInfo.
newSenderInfo(ISenderInfo),
DefaultFaxModel.DefaultSenderInfopublic void newSenderInfo(ISenderInfo si)
ISenderInfo.DefaultSenderInfo instance.
newSenderInfo(),
DefaultFaxModel.DefaultSenderInfopublic void clearSenderInfo()
public DefaultFaxModel.DefaultSenderInfo getSenderInfo()
newSenderInfo() methods.
getSenderInfo in interface IFaxModelnewSenderInfo(),
newSenderInfo(ISenderInfo)public String getSubject()
IFaxModel
getSubject in interface IFaxModelpublic String getUserId()
IFaxModel
getUserId in interface IFaxModelpublic void setComment(String comment)
public void setCoverSheet(File coverSheet)
public void setCoverSheetType(CoverSheetType coverSheetType)
public void setInputFileDeleted(BooleanValue inputFileDeleted)
public void setPassword(String password)
public void setSubject(String subject)
public void setUserId(String userId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||