79 lines
2.0 KiB
Java
79 lines
2.0 KiB
Java
|
|
package nlib.col.service.impl;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import nlib.col.service.CollectionService;
|
|
import nlib.col.service.CollectionVO;
|
|
import nlib.col.service.DeptVO;
|
|
import nlib.col.service.RisVO;
|
|
import nlib.restful.service.DataApiReqVO;
|
|
import nlib.restful.service.DataApiResVO;
|
|
|
|
@Service("collectionService")
|
|
public class CollectionServiceImpl implements CollectionService
|
|
{
|
|
private static final Logger log = LoggerFactory.getLogger(CollectionServiceImpl.class);
|
|
|
|
@Resource(name = "collectionDAO")
|
|
private CollectionDAO collectionDAO;
|
|
|
|
/*
|
|
* 소장자료 목록을 조회한다.
|
|
*
|
|
* (non-Javadoc)
|
|
* @see nlib.col.service.CollectionService#listItems(nlib.restful.service.DataApiReqVO)
|
|
*/
|
|
public DataApiResVO listItems(DataApiReqVO reqVO) {
|
|
return ((CollectionService) collectionDAO).listItems(reqVO);
|
|
}
|
|
|
|
public DataApiResVO insertInterest(DataApiReqVO reqVO) {
|
|
return null;
|
|
}
|
|
|
|
public DataApiResVO reserveItem(DataApiReqVO reqVO) {
|
|
return null;
|
|
}
|
|
|
|
public DataApiResVO viewOriginalCopy(DataApiReqVO reqVO) {
|
|
return null;
|
|
}
|
|
|
|
public DataApiResVO requestViewingItem(DataApiReqVO reqVO) {
|
|
return null;
|
|
}
|
|
/*
|
|
* 소장자료를 상세 조회한다.
|
|
*
|
|
* (non-Javadoc)
|
|
* @see nlib.col.service.CollectionService#selectItemInfo(nlib.restful.service.DataApiReqVO)
|
|
*/
|
|
public DataApiResVO selectItemInfo(DataApiReqVO reqVO) {
|
|
return ((CollectionService) collectionDAO).selectItemInfo(reqVO);
|
|
}
|
|
|
|
/*
|
|
* RIS파일 다운로드 데이터를 조회한다.
|
|
* (non-Javadoc)
|
|
* @see nlib.col.service.CollectionService#selectRisInfo(nlib.col.service.CollectionVO)
|
|
*/
|
|
public RisVO selectRisInfo(RisVO vo) {
|
|
return collectionDAO.selectRisInfo(vo);
|
|
}
|
|
|
|
/*
|
|
* 문화원 목록 조회
|
|
* (non-Javadoc)
|
|
* @see nlib.col.service.CollectionService#selectOrgList()
|
|
*/
|
|
public List<DeptVO> selectOrgList(CollectionVO vo) {
|
|
return collectionDAO.selectOrgList(vo);
|
|
}
|
|
} |