package com.danielvaughan.rssreader.server.services;
import java.util.UUID;
import com.danielvaughan.rssreader.client.services.ItemService;
import com.danielvaughan.rssreader.shared.Item;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
@SuppressWarnings("serial")
public class ItemServiceImpl extends RemoteServiceServlet implements ItemService{
@Override
public Item createItem() {
UUID uuid = UUID.randomUUID();
return new Item(uuid.toString());
}
}