@Component @Transactional public class IpInterfaceRestService extends AbstractDaoRestService<OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>
OnmsIpInterface entity.
This end-point exist to retrieve and update a set of IP interfaces, based on a given criteria.
DEFAULT_LIMIT| Constructor and Description |
|---|
IpInterfaceRestService() |
| Modifier and Type | Method and Description |
|---|---|
protected JaxbListWrapper<OnmsIpInterface> |
createListWrapper(Collection<OnmsIpInterface> list) |
protected OnmsIpInterface |
doGet(javax.ws.rs.core.UriInfo uriInfo,
String ipAddress) |
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 IpInterfaceDao |
getDao() |
protected Class<OnmsIpInterface> |
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, mapEntityToDTOapplyLimitOffsetOrderBy, create, createSpecific, delete, deleteMany, doCreate, doDelete, doUpdate, doUpdateProperties, get, get, getCount, getCriteria, getException, getProperties, getPropertyValues, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlockprotected IpInterfaceDao getDao()
getDao in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected Class<OnmsIpInterface> getDaoClass()
getDaoClass in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected Class<org.apache.cxf.jaxrs.ext.search.SearchBean> getQueryBeanClass()
getQueryBeanClass in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
getCriteriaBuilder in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected final JaxbListWrapper<OnmsIpInterface> createListWrapper(Collection<OnmsIpInterface> list)
createListWrapper in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected Set<SearchProperty> getQueryProperties()
AbstractDaoRestServiceWithDTOGet a list of query properties that this endpoint supports
for FIQL expressions and orderBy expressions.
getQueryProperties in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected Map<String,CriteriaBehavior<?>> getCriteriaBehaviors()
AbstractDaoRestServiceWithDTOMap 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<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected final OnmsIpInterface doGet(javax.ws.rs.core.UriInfo uriInfo, String ipAddress)
doGet in class AbstractDaoRestServiceWithDTO<OnmsIpInterface,OnmsIpInterface,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>Copyright © 2022. All rights reserved.