CategoryServiceImpl.java from crlove at Krugle
Show CategoryServiceImpl.java syntax highlighted
package com.witfriend.arthemis.service.impl;
import java.io.Serializable;
import org.springframework.transaction.annotation.Transactional;
import com.witfriend.arthemis.domain.Categories;
import com.witfriend.arthemis.domain.Category;
import com.witfriend.arthemis.domain.exception.category.CategoryNotFoundException;
import com.witfriend.arthemis.service.CategoryService;
/**
* DOCUMENT ME!
* @author wangyz
* @since 2006.10.05
* @version $Id$
*/
@Transactional(readOnly = true)
public class CategoryServiceImpl implements CategoryService {
public Category load(Serializable id) throws CategoryNotFoundException {
return Categories.browse(id);
}
}
See more files for this project here