public class ConstantServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.uweiqian.home.service.ConstantService
| Constructor and Description |
|---|
ConstantServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countConstantIds() |
Integer |
countConstantIdsByType(String type) |
boolean |
delete(Long id) |
Long |
getConstantIdByKey(String key) |
Long |
getConstantIdByKeyAndType(String key,
String type) |
List<Long> |
getConstantIds(Integer start,
Integer limit) |
List<Long> |
getConstantIdsByType(String type,
Integer start,
Integer limit) |
com.ptteng.uweiqian.home.model.Constant |
getObjectById(Long id) |
List<com.ptteng.uweiqian.home.model.Constant> |
getObjectsByIds(List<Long> ids) |
String |
getValue(String key,
String type) |
Long |
insert(com.ptteng.uweiqian.home.model.Constant constant) |
List<com.ptteng.uweiqian.home.model.Constant> |
insertList(List<com.ptteng.uweiqian.home.model.Constant> constantList) |
boolean |
update(com.ptteng.uweiqian.home.model.Constant constant) |
boolean |
updateList(List<com.ptteng.uweiqian.home.model.Constant> constantList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.uweiqian.home.model.Constant constant) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.uweiqian.home.model.Constant> insertList(List<com.ptteng.uweiqian.home.model.Constant> constantList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.uweiqian.home.service.ConstantServicecom.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 com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.uweiqian.home.model.Constant constant)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.uweiqian.home.model.Constant> constantList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.uweiqian.home.model.Constant getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.uweiqian.home.model.Constant> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getConstantIdByKey(String key) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getConstantIdByKey in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getConstantIdsByType(String type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getConstantIdsByType in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getConstantIdByKeyAndType(String key, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getConstantIdByKeyAndType in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countConstantIdsByType(String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countConstantIdsByType in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getConstantIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getConstantIds in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countConstantIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countConstantIds in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic String getValue(String key, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getValue in interface com.ptteng.uweiqian.home.service.ConstantServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2016. All rights reserved.