CommentServiceImpl.java from crlove at Krugle
Show CommentServiceImpl.java syntax highlighted
package com.witfriend.arthemis.service.impl;
import java.io.Serializable;
import org.springframework.transaction.annotation.Transactional;
import com.witfriend.arthemis.domain.Comment;
import com.witfriend.arthemis.domain.exception.article.ArticleNotFoundException;
import com.witfriend.arthemis.service.CommentService;
/**
* DOCUMENT ME!
* @author wangyz
* @since 2006.10.05
* @version $Id$
*/
@Transactional
public class CommentServiceImpl implements CommentService {
public Serializable post(Comment comment) throws ArticleNotFoundException {
return comment.post();
}
}
See more files for this project here