Guest User

Untitled

a guest
Jul 18th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. list
  2.  
  3. public java.util.HashMap list(java.lang.String userName,
  4. java.lang.String password,
  5. java.lang.String role,
  6. java.lang.String langpref,
  7. int parentid,
  8. int[] orderId,
  9. int[] resellerId,
  10. int[] customerId,
  11. boolean showChildOrders,
  12. java.lang.String[] classKey,
  13. java.lang.String[] currentStatus,
  14. java.lang.String description,
  15. java.lang.String[] ns,
  16. java.lang.String contactName,
  17. java.lang.String contactCompanyName,
  18. java.lang.String creationDTRangStart,
  19. java.lang.String creationDTRangEnd,
  20. java.lang.String endTimeRangStart,
  21. java.lang.String endTimeRangEnd,
  22. int numOfRecordPerPage,
  23. int pageNum,
  24. java.lang.String[] orderBy)
  25.  
  26. Returns Hashtable of order details depending on different variables passed as parameter.
  27.  
  28. This method accepts different parameter for search criteria.For by passing parameter null must be passed for object parameter and 0 must be passed for Numeric parameter
  29.  
  30. Parameters:
  31. orderId - - Array of OrderIds for Listing of Specific orders or null for all orders
  32. resellerId - - Array of ResellerId for Listing of reseller specific orders or null for all orders when called by Admin
  33. customerId - - Array of CustomerId for Listing of customer specific orders or null for all orders when called by Admin or Reseller
  34. showChildOrders - - flag denoting whether to show child orders or not
  35. classKey - - Array of classKey for Listing of DomOrders of specific EntityType or null for all EntityType
  36. currentStatus - - Array of CurrentStatus for Listing of DomOrders of specific CurrentStatus or null for all CurrentStatus
  37. endTimeRangStart - - UNIX TimeStamp for Listing of DomOrders whose endDT Greater than endTimeRangStart or null for all orders
  38. endTimeRangEnd - - UNIX TimeStamp for Listing of DomOrders whose endDT Less than endTimeRangEnd or null for all orders
  39. creationDTRangStart - - UNIX TimeStamp for Listing of DomOrders whose creationDT Greater than creationDTRangStart or null for all orders
  40. creationDTRangEnd - - UNIX TimeStamp for Listing of DomOrders whose creationDT Less than creationDTRangEnd or null for all orders
  41. description - - String for Listing of DomOrders whose Description is Like description or null for all orders
  42. numOfRecordPerPage - - No of Records Require per page
  43. pageNum - -Page Number from which records require
  44. orderBy - - Array of Field names for sorting Listing of DomOrders or null for default by orderId
  45. Returns:
  46. Hashtable which contains order details key for hashtable is index starting from 1 value is another Hashtable which contains key value pair for different order variable. This second Hashtable contains key as tablename.fieldname
  47. Throws:
  48. LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur
Add Comment
Please, Sign In to add comment