public class CampaignSCAClient extends Object implements CampaignService
| Constructor and Description |
|---|
CampaignSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countCampaignIds() |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getCampaignIds(Integer start,
Integer limit) |
CampaignService |
getCampaignService() |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Object |
getObjectByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Campaign |
getObjectById(Long id) |
List<Campaign> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Campaign campaign) |
List<Campaign> |
insertList(List<Campaign> campaignList) |
void |
setCampaignService(CampaignService campaignService) |
boolean |
update(Campaign campaign) |
boolean |
updateList(List<Campaign> campaignList) |
public CampaignService getCampaignService()
public void setCampaignService(CampaignService campaignService)
public Long insert(Campaign campaign) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Campaign> insertList(List<Campaign> campaignList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Campaign campaign) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Campaign> campaignList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Campaign getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Campaign> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getCampaignIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getCampaignIds in interface CampaignServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countCampaignIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countCampaignIds in interface CampaignServicecom.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.ServiceDaoExceptionCopyright © 2019. All Rights Reserved.