@Component @Transactional public class NotificationRestService extends AbstractDaoRestService<OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
OnmsNotification
entity.DEFAULT_LIMIT
Constructor and Description |
---|
NotificationRestService() |
Modifier and Type | Method and Description |
---|---|
protected JaxbListWrapper<OnmsNotification> |
createListWrapper(Collection<OnmsNotification> list) |
protected OnmsNotification |
doGet(javax.ws.rs.core.UriInfo uriInfo,
Integer id) |
protected Map<String,CriteriaBehavior<?>> |
getCriteriaBehaviors()
Map CXF query bean properties to Criteria property names, conversions,
and actions.
|
protected CriteriaBuilder |
getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo) |
protected NotificationDao |
getDao() |
protected Class<OnmsNotification> |
getDaoClass() |
protected Class<org.apache.cxf.jaxrs.ext.search.SearchBean> |
getQueryBeanClass() |
protected Set<SearchProperty> |
getQueryProperties()
Get a list of query properties that this endpoint supports
for FIQL expressions and
orderBy expressions. |
mapDTOToEntity, mapEntityToDTO
create, createSpecific, delete, deleteMany, doCreate, doDelete, doUpdate, doUpdateProperties, get, get, getCount, getCriteria, getException, getProperties, getPropertyValues, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlock
protected NotificationDao getDao()
getDao
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected Class<OnmsNotification> getDaoClass()
getDaoClass
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected Class<org.apache.cxf.jaxrs.ext.search.SearchBean> getQueryBeanClass()
getQueryBeanClass
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
getCriteriaBuilder
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected Set<SearchProperty> getQueryProperties()
AbstractDaoRestServiceWithDTO
Get a list of query properties that this endpoint supports
for FIQL expressions and orderBy
expressions.
getQueryProperties
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected Map<String,CriteriaBehavior<?>> getCriteriaBehaviors()
AbstractDaoRestServiceWithDTO
Map CXF query bean properties to Criteria property names, conversions, and actions. In the absence of a mapping, the query bean property will be specified directly as a Criteria property with the same name.
CriteriaBehavior
to execute when this search term is specifiedgetCriteriaBehaviors
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected JaxbListWrapper<OnmsNotification> createListWrapper(Collection<OnmsNotification> list)
createListWrapper
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
protected OnmsNotification doGet(javax.ws.rs.core.UriInfo uriInfo, Integer id)
doGet
in class AbstractDaoRestServiceWithDTO<OnmsNotification,OnmsNotification,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,Integer>
Copyright © 2020. All rights reserved.