read-Atleap-7-发表新闻-主逻辑[5]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

        }

        return mapping.findForward("listNewsItems");

    }

}

1DAO管理类NewsManagerImpl类中的处理

public Long createNewsItem(NewsItem newsItem) throws BeanAlreadyExistsException {

        //Manager类中,应用将具体操作委派个具体的DAO

            if ( pageDAO.hasDuplicates(newsItem) ) { 2

            … …

            throw new BeanAlreadyExistsException(errorMessage);

本文关键:read-Atleap-7-发表新闻-主逻辑
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top