public interface ContentsService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countContentsIds() |
Integer |
countContentsIdsByMerchantId(Long merchantId) |
Integer |
countContentsIdsByType(Integer type) |
Integer |
countContentsIdsByTypeAndMerchantIdOrderBySort(Integer type,
Long merchantId) |
boolean |
delete(Long id,
String lang) |
List<Long> |
getContentsIds(Integer start,
Integer limit) |
List<Long> |
getContentsIdsByMerchantId(Long merchantId,
Integer start,
Integer limit) |
List<Long> |
getContentsIdsByType(Integer type,
Integer start,
Integer limit) |
List<Long> |
getContentsIdsByTypeAndMerchantIdOrderBySort(Integer type,
Long merchantId,
Integer start,
Integer limit) |
Contents |
getObjectById(Long id,
String lang) |
List<Contents> |
getObjectsByIds(List<Long> ids,
String lang) |
Long |
insert(Contents contents,
String lang) |
List<Contents> |
insertList(List<Contents> contentsList,
String lang) |
boolean |
update(Contents contents,
String lang) |
boolean |
updateList(List<Contents> contentsList,
String lang) |
Long insert(Contents contents, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionList<Contents> insertList(List<Contents> contentsList, String lang) throws Exception
Exceptionboolean delete(Long id, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionboolean update(Contents contents, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionboolean updateList(List<Contents> contentsList, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionContents getObjectById(Long id, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionList<Contents> getObjectsByIds(List<Long> ids, String lang) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, IllegalAccessException, InstantiationException, ClassNotFoundException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionIllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionInteger countContentsIdsByMerchantId(Long merchantId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIdsByType(Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIdsByTypeAndMerchantIdOrderBySort(Integer type, Long merchantId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getContentsIdsByMerchantId(Long merchantId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getContentsIdsByType(Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getContentsIdsByTypeAndMerchantIdOrderBySort(Integer type, Long merchantId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getContentsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2023. All rights reserved.