public class ContentsSCAClient extends Object implements ContentsService
| Constructor and Description |
|---|
ContentsSCAClient() |
public ContentsService getContentsService()
public void setContentsService(ContentsService contentsService)
public Long insert(Contents contents, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
insert in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic List<Contents> insertList(List<Contents> contentsList, String lang) throws Exception
insertList in interface ContentsServiceExceptionpublic boolean delete(Long id, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
delete in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic boolean update(Contents contents, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
update in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic boolean updateList(List<Contents> contentsList, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
updateList in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic Contents getObjectById(Long id, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
getObjectById in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic List<Contents> getObjectsByIds(List<Long> ids, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, ClassNotFoundException, InstantiationException
getObjectsByIds in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionClassNotFoundExceptionInstantiationExceptionpublic List<Long> getContentsIdsByMerchantId(Long merchantId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIdsByMerchantId in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIdsByType(Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIdsByType in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIdsByTypeAndMerchantIdOrderBySort(Integer type, Long merchantId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIdsByTypeAndMerchantIdOrderBySort in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIdsByMerchantId(Long merchantId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIdsByMerchantId in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIdsByType(Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIdsByType in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIdsByTypeAndMerchantIdOrderBySort(Integer type, Long merchantId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIdsByTypeAndMerchantIdOrderBySort in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIds in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIds in interface ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getIdsByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdsByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean fakeDelete(Class clz, Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
fakeDelete in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void deleteList(Class clz, List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
deleteList in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getObjectByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getMapListByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getMapListByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2023. All rights reserved.