public class ReconciliationScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.ReconciliationScriptService
Accela Automation
File: ReconciliationScript.java
Accela, Inc.
Copyright (C): 2009-2014
Description:
TODO
Notes:
$Id: ReconciliationScript.java 270462 2014-04-28 10:05:58Z ..\rain.wang $
Revision History
<Date>, <Who>, <What>
2008-12-10 david.wang Initial.
| Constructor and Description |
|---|
ReconciliationScript()
Constructs ...
|
ReconciliationScript(java.lang.String servProvCode,
java.lang.String callerId,
com.accela.aa.emse.dom.service.CachedService cachedService)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
generateApprovedTransactionFile()
Generate transaction file.
|
ScriptResult |
generateFailedTransactionFile()
Generate transaction file.
|
java.lang.String |
getCurrentDate()
Method getJobDate
|
java.lang.String |
getCustomContentByType(java.lang.String contentType,
java.util.Hashtable parameters)
replace parameter for Email.
|
java.lang.String |
getServiceProviderCode()
Get serviceProviderCode
|
java.util.Date |
getTransEndDate() |
java.util.Date |
getTransStartDate() |
ScriptResult |
recoverTransactionFile(java.lang.String transFileName)
Recover Transaction File.
|
ScriptResult |
sendMail()
send mail with attached files to adminstrator.
|
void |
setCcMailAddress(java.lang.String ccMailAddress) |
void |
setContent(java.lang.String content) |
void |
setFailedFileFieldNames(java.lang.String[] fileFieldNames) |
void |
setFailedFileFieldTitles(java.lang.String[] fileFieldTitles) |
void |
setFailedFileFieldValues(java.lang.String[] fileFieldValues) |
void |
setFileNamePrefix(java.lang.String fileNamePrefix) |
void |
setFromMailAddress(java.lang.String fromMailAddress) |
void |
setFtpFolder(java.lang.String ftpFolder) |
void |
setFtpPassword(java.lang.String ftpPassword) |
void |
setFtpPort(java.lang.String ftpPort) |
void |
setFtpSite(java.lang.String ftpSite) |
void |
setFtpUserName(java.lang.String ftpUserName) |
void |
setLocalDiskFolder(java.lang.String localDiskFolder) |
void |
setMessageResources(java.util.Map resources)
Method setMessageResources
|
void |
setProvider(java.lang.String provider) |
void |
setSubject(java.lang.String subject) |
void |
setSuccessFileFieldNames(java.lang.String[] fileFieldNames) |
void |
setSuccessFileFieldTitles(java.lang.String[] fileFieldTitles) |
void |
setSuccessFileFieldValues(java.lang.String[] fileFieldValues) |
void |
setTestMode(boolean isTestMode)
Method setTestMode
|
void |
setToMailAddress(java.lang.String toMailAddress) |
void |
setTransEndDate(java.lang.String dateString) |
void |
setTransStartDate(java.lang.String dateString) |
void |
setUploadToFTP(boolean isUploadToFTP) |
void |
setWSDateStoreId(int dateStoreId) |
void |
setWSEndPoint(java.lang.String endPoint)
Method setWSEndPoint
|
void |
setWSPassword(java.lang.String password) |
void |
setWSProjectId(int projectId) |
void |
setWSUserName(java.lang.String userName) |
ScriptResult |
updateUploadStatusLog(java.lang.String uploadFileName)
Insert or update upload status log.
|
ScriptResult |
uploadTransactionFile()
Upload Transaction File.
|
public ReconciliationScript(java.lang.String servProvCode,
java.lang.String callerId,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
servProvCode - StringcallerId - Stringcom.accela.aa.exception.AAExceptionpublic ReconciliationScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult generateApprovedTransactionFile()
generateApprovedTransactionFile in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic ScriptResult generateFailedTransactionFile()
generateFailedTransactionFile in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic ScriptResult uploadTransactionFile()
uploadTransactionFile in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic ScriptResult recoverTransactionFile(java.lang.String transFileName)
recoverTransactionFile in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicetransFileName - Stringpublic ScriptResult updateUploadStatusLog(java.lang.String uploadFileName)
updateUploadStatusLog in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceuploadFileName - Stringpublic ScriptResult sendMail() throws java.lang.Exception
sendMail in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicejava.lang.Exception - the exceptionpublic java.lang.String getCustomContentByType(java.lang.String contentType,
java.util.Hashtable parameters)
getCustomContentByType in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicecontentType - the content typeparameters - the parameterspublic void setSuccessFileFieldNames(java.lang.String[] fileFieldNames)
setSuccessFileFieldNames in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldNames - the fileFieldNames to setpublic void setSuccessFileFieldTitles(java.lang.String[] fileFieldTitles)
setSuccessFileFieldTitles in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldTitles - the fileFieldTitles to setpublic void setSuccessFileFieldValues(java.lang.String[] fileFieldValues)
setSuccessFileFieldValues in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldValues - the fileFieldValues to setpublic void setFailedFileFieldNames(java.lang.String[] fileFieldNames)
setFailedFileFieldNames in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldNames - the fileFieldNames to setpublic void setFailedFileFieldTitles(java.lang.String[] fileFieldTitles)
setFailedFileFieldTitles in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldTitles - the fileFieldTitles to setpublic void setFailedFileFieldValues(java.lang.String[] fileFieldValues)
setFailedFileFieldValues in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileFieldValues - the fileFieldValues to setpublic void setProvider(java.lang.String provider)
setProvider in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceprovider - the provider to setpublic void setFileNamePrefix(java.lang.String fileNamePrefix)
setFileNamePrefix in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefileNamePrefix - the fileNamePrefix to setpublic void setTransEndDate(java.lang.String dateString)
setTransEndDate in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicedateString - Stringpublic void setTransStartDate(java.lang.String dateString)
setTransStartDate in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicedateString - Datepublic void setFtpFolder(java.lang.String ftpFolder)
setFtpFolder in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceftpFolder - the ftpFolder to setpublic void setFtpPassword(java.lang.String ftpPassword)
setFtpPassword in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceftpPassword - the ftpPassword to setpublic void setFtpPort(java.lang.String ftpPort)
setFtpPort in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceftpPort - the ftpPort to setpublic void setFtpSite(java.lang.String ftpSite)
setFtpSite in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceftpSite - the ftpSite to setpublic void setFtpUserName(java.lang.String ftpUserName)
setFtpUserName in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceftpUserName - the ftpUserName to setpublic void setUploadToFTP(boolean isUploadToFTP)
setUploadToFTP in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceisUploadToFTP - the isUploadToFTP to setpublic void setLocalDiskFolder(java.lang.String localDiskFolder)
setLocalDiskFolder in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicelocalDiskFolder - the localDiskFolder to setpublic void setCcMailAddress(java.lang.String ccMailAddress)
setCcMailAddress in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceccMailAddress - the ccMailAddress to setpublic void setContent(java.lang.String content)
setContent in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicecontent - the content to setpublic void setFromMailAddress(java.lang.String fromMailAddress)
setFromMailAddress in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicefromMailAddress - the fromMailAddress to setpublic void setSubject(java.lang.String subject)
setSubject in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicesubject - the subject to setpublic void setToMailAddress(java.lang.String toMailAddress)
setToMailAddress in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicetoMailAddress - the toMailAddress to setpublic void setWSPassword(java.lang.String password)
setWSPassword in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepassword - the password to setpublic void setWSUserName(java.lang.String userName)
setWSUserName in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceuserName - the userName to setpublic void setWSDateStoreId(int dateStoreId)
setWSDateStoreId in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicedateStoreId - the dateStoreId to setpublic void setWSProjectId(int projectId)
setWSProjectId in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceprojectId - the projectId to setpublic void setWSEndPoint(java.lang.String endPoint)
setWSEndPoint in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceendPoint - Stringpublic java.lang.String getServiceProviderCode()
com.accela.aa.emse.dom.service.BaseAAScriptgetServiceProviderCode in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicegetServiceProviderCode in class com.accela.aa.emse.dom.service.BaseAAScriptpublic java.util.Date getTransEndDate()
getTransEndDate in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic java.util.Date getTransStartDate()
getTransStartDate in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic void setTestMode(boolean isTestMode)
setTestMode in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceisTestMode - booleanpublic java.lang.String getCurrentDate()
getCurrentDate in interface com.accela.aa.emse.dom.service.ReconciliationScriptServicepublic void setMessageResources(java.util.Map resources)
setMessageResources in interface com.accela.aa.emse.dom.service.ReconciliationScriptServiceresources - Map