public class TrustAccountScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.TrustAccountScriptService
Accela Automation File: TrustAccountScript.java Accela, Inc. Copyright (C): 2008-2013 Description: [DescriptionNote] Notes: $Id: TrustAccountScript.java 242973 2013-01-21 07:41:46Z bruce.deng $ Revision History, , 2006-1-17 Anna Yu initial version 2006-2-17 Anna Yu update getTrustAccountIDListBySetID() method 11/01/2006 Michael Mao cache service object.
Constructor and Description |
---|
TrustAccountScript()
constructor for TrustAccoutScript.
|
TrustAccountScript(java.lang.String serviceProviderCode,
java.lang.String auditID)
constructor for TrustAccoutScript
|
Modifier and Type | Method and Description |
---|---|
ScriptResult |
adjustTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
to make adjustment to trust account
|
ScriptResult |
autoCreateTrustAccount(java.lang.String peopleType,
java.lang.String peopleNBR)
Create a new trust account
|
ScriptResult |
closeTrustAccountByPK(java.lang.Long accountSeq)
Close a trust account
|
ScriptResult |
closeTrustAccountByPK(java.lang.Long accountSeq,
java.lang.String servProvCode)
Close a trust account
|
CapIDScriptModel |
createCapIDScriptModel()
create TrustAccountPeopleScriptModel
|
ScriptResult |
createTrustAccount(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccountModel)
Create a new trust account
|
ScriptResult |
createTrustAccountAssociation(com.accela.aa.finance.trustAccount.TrustAccountAssociationModel accountAssociationModel)
Associated a parcel or address or people
|
ScriptResult |
createTrustAccountPeople(com.accela.aa.finance.trustAccount.TrustAccountPeopleModel trustAccountPeopleModel)
Associated a people
|
TrustAccountPeopleScriptModel |
createTrustAccountPeopleScriptModel()
create TrustAccountPeopleScriptModel
|
TrustAccountScriptModel |
createTrustAccountScriptModel()
create TrustAccountScriptModel
|
TrustAccountTransactionScriptModel |
createTrustAccountTransactionScriptModel()
create TrustAccountPeopleScriptModel
|
ScriptResult |
depositTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
to deposit fund to trust account.
|
ScriptResult |
editTrustAccount(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccountModel)
Edit a trust account
|
ScriptResult |
getPeopleCountInfoByTrustAccount(java.lang.Long accountSeq)
return the total count of the people for the specific trust account
|
ScriptResult |
getPeopleCountInfoByTrustAccount(java.lang.String servProvCode,
java.lang.Long accountSeq)
return the total count of the people for the specific trust account
|
ScriptResult |
getPrimaryTrustAccountByCAP(com.accela.aa.aamain.cap.CapIDModel capID)
This method is to get primary trust account amount by cap ID model.
|
ScriptResult |
getPrimaryTrustAccountID(com.accela.aa.aamain.cap.CapIDModel capID,
java.lang.String trustAccountType)
Get primary trust account of one cap according to the given trust account type.
|
ScriptResult |
getTransactionByPK(java.lang.Long transSeq)
return the transaction model by Primary Key.
|
ScriptResult |
getTransactionByPK(java.lang.Long transSeq,
java.lang.String servProvCode)
return the transaction model by Primary Key.
|
ScriptResult |
getTransactionListByAccountSeq(java.lang.Long accountSeq)
return transaction collection for a specific trust account.
|
ScriptResult |
getTransactionListByAccountSeq(java.lang.Long accountSeq,
java.lang.String servProvCode)
return transaction collection for a specific trust account.
|
ScriptResult |
getTransactionListByCondition(com.accela.aa.finance.trustAccount.TransactionModel trans)
return the transaction collection for specific search condition.
|
ScriptResult |
getTrustAccountByAccountID(java.lang.String accountID)
Return trust account by account ID
|
ScriptResult |
getTrustAccountByAccountID(java.lang.String accountID,
java.lang.String servProvCode)
Return trust account by account ID
|
ScriptResult |
getTrustAccountByPK(java.lang.Long accountSeq)
Get trust account by Primary Key
|
ScriptResult |
getTrustAccountByPK(java.lang.Long accountSeq,
java.lang.String servProvCode)
Get trust account by Primary Key
|
ScriptResult |
getTrustAccountIDListByCAPID(com.accela.aa.aamain.cap.CapIDModel capID)
return trust account ID collection by CAP ID.
|
ScriptResult |
getTrustAccountIDListBySetID(java.lang.String setCode,
com.accela.aa.util.QueryFormat format)
return available trust account collection by Set code
|
ScriptResult |
getTrustAccountIDListBySetID(java.lang.String servProvCode,
java.lang.String setCode,
com.accela.aa.util.QueryFormat format,
java.lang.String callerID)
return available trust account collection by Set code
|
ScriptResult |
getTrustAccountList(com.accela.aa.util.QueryFormat qf)
return all trust account collection of specific agency
|
ScriptResult |
getTrustAccountList(java.lang.String servProvCode,
com.accela.aa.util.QueryFormat qf)
return all trust account collection of specific agency
|
ScriptResult |
getTrustAccountListByAccountStatus(java.lang.String status)
return all trust accounts that contain specific trust account status.
|
ScriptResult |
getTrustAccountListByAccountStatus(java.lang.String servProvCode,
java.lang.String status)
return all trust accounts that contain specific trust account status.
|
ScriptResult |
getTrustAccountListByCAPID(com.accela.aa.aamain.cap.CapIDModel capID)
This method is to get all trust account collection associated with given CAP ID.
|
ScriptResult |
getTrustAccountListByCondition(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccModel,
com.accela.aa.finance.trustAccount.TrustAccountPeopleModel people)
return the trust account information by trust account model
|
ScriptResult |
getTrustAccountListByCondition(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccModel,
com.accela.aa.finance.trustAccount.TrustAccountPeopleModel people,
com.accela.aa.aamain.address.RefAddressModel refAddressModel,
com.accela.aa.aamain.parcel.ParcelModel refParcelModel)
return the trust account information by trust account model
|
ScriptResult |
getTrustAccountListWithNegativeBalance()
return the trust accounts that have negative balance.
|
ScriptResult |
getTrustAccountListWithNegativeBalance(java.lang.String servProvCode)
return the trust accounts that have negative balance.
|
ScriptResult |
getTrustAccountPeopleListByAccount(java.lang.Long accountNumber)
return TrustAccountPeople collection by trust account number
|
ScriptResult |
getTrustAccountPeopleListByAccount(java.lang.String servProvCode,
java.lang.Long accountNumber)
return TrustAccountPeople collection by trust account number
|
ScriptResult |
removeTrustAccountPeople(java.lang.Long acctNBR,
java.lang.String peopleType,
java.lang.Long peopleNBR)
Delete the relationship between a trust account and Licensed Professional or Contact.
|
ScriptResult |
removeTrustAccountPeople(java.lang.Long acctNBR,
java.lang.String peopleType,
java.lang.Long peopleNBR,
java.lang.Integer sourceNumber,
java.lang.String parcelNumber)
Delete the relationship between a trust account and Parcel or Address or Licensed Professional or Contact
|
ScriptResult |
removeTrustAccountPeople(java.lang.String servProvCode,
java.lang.Long acctNBR,
java.lang.String peopleType,
java.lang.Long peopleNBR)
Delete the relationship between a trust account and Licensed Professional or Contact.
|
ScriptResult |
transferTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
to transfer fund between trust accounts.
|
ScriptResult |
withdrawTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
to withdraw fund to trust account.
|
public TrustAccountScript(java.lang.String serviceProviderCode, java.lang.String auditID) throws com.accela.aa.exception.AAException
serviceProviderCode
- auditID
- com.accela.aa.exception.AAException
public TrustAccountScript() throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException
- the AA exceptionpublic ScriptResult createTrustAccount(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccountModel)
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult autoCreateTrustAccount(java.lang.String peopleType, java.lang.String peopleNBR)
com.accela.aa.emse.dom.service.TrustAccountScriptService
autoCreateTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
peopleType
- people typepeopleNBR
- people numberpublic ScriptResult getTrustAccountByPK(java.lang.Long accountSeq, java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountByPK(java.lang.Long accountSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountByAccountID(java.lang.String accountID, java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountByAccountID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountByAccountID(java.lang.String accountID)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountByAccountID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountList(java.lang.String servProvCode, com.accela.aa.util.QueryFormat qf)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountList
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountList(com.accela.aa.util.QueryFormat qf)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountList
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListByAccountStatus(java.lang.String servProvCode, java.lang.String status)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListByAccountStatus
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListByAccountStatus(java.lang.String status)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListByAccountStatus
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListByCondition(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccModel, com.accela.aa.finance.trustAccount.TrustAccountPeopleModel people)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListByCondition
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListByCondition(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccModel, com.accela.aa.finance.trustAccount.TrustAccountPeopleModel people, com.accela.aa.aamain.address.RefAddressModel refAddressModel, com.accela.aa.aamain.parcel.ParcelModel refParcelModel)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListByCondition
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult closeTrustAccountByPK(java.lang.Long accountSeq, java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
closeTrustAccountByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult closeTrustAccountByPK(java.lang.Long accountSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
closeTrustAccountByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult editTrustAccount(com.accela.aa.finance.trustAccount.TrustAccountModel trustAccountModel)
com.accela.aa.emse.dom.service.TrustAccountScriptService
editTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListWithNegativeBalance(java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListWithNegativeBalance
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountListWithNegativeBalance()
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountListWithNegativeBalance
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountIDListByCAPID(com.accela.aa.aamain.cap.CapIDModel capID)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountIDListByCAPID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult depositTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
com.accela.aa.emse.dom.service.TrustAccountScriptService
depositTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult transferTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
com.accela.aa.emse.dom.service.TrustAccountScriptService
transferTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult withdrawTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
com.accela.aa.emse.dom.service.TrustAccountScriptService
withdrawTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult adjustTrustAccount(com.accela.aa.finance.trustAccount.TransactionModel trans)
com.accela.aa.emse.dom.service.TrustAccountScriptService
adjustTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTransactionListByAccountSeq(java.lang.Long accountSeq, java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTransactionListByAccountSeq
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTransactionListByAccountSeq(java.lang.Long accountSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTransactionListByAccountSeq
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTransactionByPK(java.lang.Long transSeq, java.lang.String servProvCode)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTransactionByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTransactionByPK(java.lang.Long transSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTransactionByPK
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTransactionListByCondition(com.accela.aa.finance.trustAccount.TransactionModel trans)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTransactionListByCondition
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountPeopleListByAccount(java.lang.String servProvCode, java.lang.Long accountNumber)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountPeopleListByAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountPeopleListByAccount(java.lang.Long accountNumber)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountPeopleListByAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult createTrustAccountPeople(com.accela.aa.finance.trustAccount.TrustAccountPeopleModel trustAccountPeopleModel)
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccountPeople
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult createTrustAccountAssociation(com.accela.aa.finance.trustAccount.TrustAccountAssociationModel accountAssociationModel)
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccountAssociation
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult removeTrustAccountPeople(java.lang.String servProvCode, java.lang.Long acctNBR, java.lang.String peopleType, java.lang.Long peopleNBR)
com.accela.aa.emse.dom.service.TrustAccountScriptService
removeTrustAccountPeople
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult removeTrustAccountPeople(java.lang.Long acctNBR, java.lang.String peopleType, java.lang.Long peopleNBR)
com.accela.aa.emse.dom.service.TrustAccountScriptService
removeTrustAccountPeople
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult removeTrustAccountPeople(java.lang.Long acctNBR, java.lang.String peopleType, java.lang.Long peopleNBR, java.lang.Integer sourceNumber, java.lang.String parcelNumber)
com.accela.aa.emse.dom.service.TrustAccountScriptService
removeTrustAccountPeople
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountIDListBySetID(java.lang.String servProvCode, java.lang.String setCode, com.accela.aa.util.QueryFormat format, java.lang.String callerID)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountIDListBySetID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getTrustAccountIDListBySetID(java.lang.String setCode, com.accela.aa.util.QueryFormat format)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getTrustAccountIDListBySetID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getPeopleCountInfoByTrustAccount(java.lang.String servProvCode, java.lang.Long accountSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getPeopleCountInfoByTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getPeopleCountInfoByTrustAccount(java.lang.Long accountSeq)
com.accela.aa.emse.dom.service.TrustAccountScriptService
getPeopleCountInfoByTrustAccount
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getPrimaryTrustAccountID(com.accela.aa.aamain.cap.CapIDModel capID, java.lang.String trustAccountType) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.TrustAccountScriptService
null
getPrimaryTrustAccountID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
capID
- the cap which primary trust account belongs totrustAccountType
- point out the trust account typecom.accela.aa.exception.AAException
public TrustAccountScriptModel createTrustAccountScriptModel()
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccountScriptModel
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public TrustAccountPeopleScriptModel createTrustAccountPeopleScriptModel()
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccountPeopleScriptModel
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public TrustAccountTransactionScriptModel createTrustAccountTransactionScriptModel()
com.accela.aa.emse.dom.service.TrustAccountScriptService
createTrustAccountTransactionScriptModel
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public CapIDScriptModel createCapIDScriptModel()
com.accela.aa.emse.dom.service.TrustAccountScriptService
createCapIDScriptModel
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
public ScriptResult getPrimaryTrustAccountByCAP(com.accela.aa.aamain.cap.CapIDModel capID)
getPrimaryTrustAccountByCAP
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
capID
- CAP ID model.public ScriptResult getTrustAccountListByCAPID(com.accela.aa.aamain.cap.CapIDModel capID)
getTrustAccountListByCAPID
in interface com.accela.aa.emse.dom.service.TrustAccountScriptService
capID
- CAP ID modle.