public class RoleServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.admin.service.RoleService
| Constructor and Description |
|---|
RoleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countRoleIds() |
boolean |
delete(Long id) |
com.ptteng.keeper.admin.model.Role |
getObjectById(Long id) |
List<com.ptteng.keeper.admin.model.Role> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getRoleIds(Integer start,
Integer limit) |
List<Long> |
getRoleIdsByName(String name,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.keeper.admin.model.Role role) |
List<com.ptteng.keeper.admin.model.Role> |
insertList(List<com.ptteng.keeper.admin.model.Role> roleList) |
boolean |
update(com.ptteng.keeper.admin.model.Role role) |
boolean |
updateList(List<com.ptteng.keeper.admin.model.Role> roleList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.admin.model.Role role) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.admin.model.Role> insertList(List<com.ptteng.keeper.admin.model.Role> roleList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.admin.service.RoleServicecom.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.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.admin.model.Role role)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.admin.model.Role> roleList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.admin.model.Role getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.admin.model.Role> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getRoleIdsByName(String name, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getRoleIdsByName in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getRoleIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getRoleIds in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countRoleIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countRoleIds in interface com.ptteng.keeper.admin.service.RoleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.