Guest User

Untitled

a guest
Jul 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. */
  2. @WebMethod(operationName = "GetClubs")
  3. public Collection<ClubAdapter> GetClubs() throws JDBCException {
  4. //TODO write your implementation code here:
  5. Collection<ClubAdapter> clubsad = new ArrayList<ClubAdapter>();
  6. Collection<IClub> clubs;
  7. MemDataStorage stor = new MemDataStorage();
  8. clubs = stor.getClubs();
  9. for(IClub c:clubs){
  10. clubsad.add(new ClubAdapter(c));
  11. }
  12.  
  13.  
  14. return clubsad;
  15. }
Add Comment
Please, Sign In to add comment