public static ArrayList<DTO_JPOS_Customer> Search_Customer( int iCustomerID, String strFirstName, String strLastName, String strAddress, String strEmail, String strDateJoin, String strBirthDay, boolean blGender, String strFavorite, int iCurrentPoint, Connection conn) { LMSDAOFactory factory = LMSDAOFactory.getInstances(); IJPOS_Customer myCustomer = factory.getJPOS_Customer(); return myCustomer.Search_Customer( iCustomerID, strFirstName, strLastName, strAddress, strEmail, strDateJoin, strBirthDay, blGender, strFavorite, iCurrentPoint, conn); }
public static ArrayList<DTO_JPOS_Customer> Search_Customer(String strKey, Connection conn) { LMSDAOFactory factory = LMSDAOFactory.getInstances(); IJPOS_Customer myCustomer = factory.getJPOS_Customer(); return myCustomer.Search_Customer(strKey, conn); }