Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- */
- @WebMethod(operationName = "GetClubs")
- public Collection<ClubAdapter> GetClubs() throws JDBCException {
- //TODO write your implementation code here:
- Collection<ClubAdapter> clubsad = new ArrayList<ClubAdapter>();
- Collection<IClub> clubs;
- MemDataStorage stor = new MemDataStorage();
- clubs = stor.getClubs();
- for(IClub c:clubs){
- clubsad.add(new ClubAdapter(c));
- }
- return clubsad;
- }
Add Comment
Please, Sign In to add comment