getAccount() to return a list .....

How do you create a method getAccount(int BTN) to return a list of BTNBillingInfoDO objects for example.
keeping in mind that the values returned from some other interface are: accountid, LastName, FirstName, BillingAddress.
 - If only one or two accounts in the list go to a page
   called accountNumberConfirmation.jsp


Thanks in Advance
coolkarimAsked:
Who is Participating?
 
kennethxuConnect With a Mentor Commented:
sorry, not quite understand you "-if" part, can explain it in more detail? thanks

BTW, EE email alert is down I think.
0
 
kennethxuCommented:
psudo code:
public List getAccount( int BTN ) {
  List accountList = new ArrayList();
  for( each DO you created ) {
    accountList.add( DO );
  }
  return accountList;
}
0
 
coolkarimAuthor Commented:
thanks for the quick response Kennethxu.
how about a transulation for the for condition please

sincerely
0
 
coolkarimAuthor Commented:
thanks for the quick response Kennethxu.
how about a transulation for the for condition please

sincerely
0
All Courses

From novice to tech pro — start learning today.