package dev.openshift.tapestry.angular.services;

import java.util.List;

import dev.openshift.tapestry.angular.data.Comment;
import dev.openshift.tapestry.angular.data.Phone;
import dev.openshift.tapestry.angular.data.PhoneDetails;


public interface PhoneCatalog
{
    /**
     * Provides a list of all phone in an indeterminate order.
     */
    List<Phone> getPhones();

    String getPhonesAsString();

    PhoneDetails getPhonesDetails(String id);

    String getPhonesDetailsAsString(String id);

    void addComment(Comment comment);

    List<Comment> getComment(String id);

    Comment incLike(int commentId);

    Comment deleteComment(int commentId);


}

@@ -71,60 +71,8 @@
 t;%0A%0A
-import dev.openshift.tapestry.angular.data.Comment;%0A
 impo
@@ -450,168 +450,7 @@
 );%0A%0A
-    void addComment(Comment comment);%0A%0A    List%3CComment%3E getComment(String id);%0A%0A    Comment incLike(int commentId);%0A%0A    Comment deleteComment(int commentId);%0A%0A
 %0A%7D%0A

Remove unused prototype