public class VersionServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.common.service.VersionService
| Constructor and Description |
|---|
VersionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countVersionIds() |
Integer |
countVersionIdsByOsAndVersionCodeOrderByIsForceUpdate(String os,
String versionCode) |
boolean |
delete(Long id) |
com.ptteng.keeper.common.model.Version |
getObjectById(Long id) |
List<com.ptteng.keeper.common.model.Version> |
getObjectsByIds(List<Long> ids) |
Long |
getVersionIdByOsAndVersionCode(String os,
String code) |
List<Long> |
getVersionIds(Integer start,
Integer limit) |
List<Long> |
getVersionIdsByOs(String os,
Integer start,
Integer limit) |
List<Long> |
getVersionIdsByOsAndVersionCodeOrderByIsForceUpdate(String os,
String versionCode,
Integer start,
Integer limit) |
List<Long> |
getVersionIdsByOsOrderByVersionCode(String os,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.keeper.common.model.Version version) |
List<com.ptteng.keeper.common.model.Version> |
insertList(List<com.ptteng.keeper.common.model.Version> versionList) |
boolean |
update(com.ptteng.keeper.common.model.Version version) |
boolean |
updateList(List<com.ptteng.keeper.common.model.Version> versionList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.common.model.Version version) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Version> insertList(List<com.ptteng.keeper.common.model.Version> versionList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.common.service.VersionServicecom.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.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.common.model.Version version)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.common.model.Version> versionList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.common.model.Version getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Version> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getVersionIdsByOsAndVersionCodeOrderByIsForceUpdate(String os, String versionCode, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getVersionIdsByOsAndVersionCodeOrderByIsForceUpdate in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getVersionIdsByOs(String os, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getVersionIdsByOs in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getVersionIdsByOsOrderByVersionCode(String os, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getVersionIdsByOsOrderByVersionCode in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getVersionIdByOsAndVersionCode(String os, String code) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getVersionIdByOsAndVersionCode in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countVersionIdsByOsAndVersionCodeOrderByIsForceUpdate(String os, String versionCode) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countVersionIdsByOsAndVersionCodeOrderByIsForceUpdate in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getVersionIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getVersionIds in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countVersionIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countVersionIds in interface com.ptteng.keeper.common.service.VersionServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.