@Component @Transactional public class NodeRestService extends AbstractDaoRestService<OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>
OnmsNode entityDEFAULT_LIMIT| Constructor and Description |
|---|
NodeRestService() |
| Modifier and Type | Method and Description |
|---|---|
protected JaxbListWrapper<OnmsNode> |
createListWrapper(Collection<OnmsNode> list) |
javax.ws.rs.core.Response |
doCreate(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode object) |
protected void |
doDelete(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode node) |
protected OnmsNode |
doGet(javax.ws.rs.core.UriInfo uriInfo,
String id) |
protected javax.ws.rs.core.Response |
doUpdateProperties(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode targetObject,
MultivaluedMapImpl params) |
NodeCategoriesRestService |
getCategoriesResource(javax.ws.rs.container.ResourceContext context) |
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 NodeDao |
getDao() |
protected Class<OnmsNode> |
getDaoClass() |
NodeHardwareInventoryRestService |
getHardwareInventoryResource(javax.ws.rs.container.ResourceContext context) |
NodeIpInterfacesRestService |
getIpInterfaceResource(javax.ws.rs.container.ResourceContext context) |
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. |
NodeSnmpInterfacesRestService |
getSnmpInterfaceResource(javax.ws.rs.container.ResourceContext context) |
mapDTOToEntity, mapEntityToDTOcreate, createSpecific, delete, deleteMany, doUpdate, get, get, getCount, getCriteria, getException, getProperties, getPropertyValues, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlockprotected NodeDao getDao()
protected Class<OnmsNode> getDaoClass()
getDaoClass in class AbstractDaoRestServiceWithDTO<OnmsNode,OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected Class<org.apache.cxf.jaxrs.ext.search.SearchBean> getQueryBeanClass()
getQueryBeanClass in class AbstractDaoRestServiceWithDTO<OnmsNode,OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
getCriteriaBuilder in class AbstractDaoRestServiceWithDTO<OnmsNode,OnmsNode,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<OnmsNode,OnmsNode,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<OnmsNode,OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected JaxbListWrapper<OnmsNode> createListWrapper(Collection<OnmsNode> list)
createListWrapper in class AbstractDaoRestServiceWithDTO<OnmsNode,OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>public javax.ws.rs.core.Response doCreate(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode object)
protected javax.ws.rs.core.Response doUpdateProperties(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode targetObject,
MultivaluedMapImpl params)
doUpdateProperties in class AbstractDaoRestServiceWithDTO<OnmsNode,OnmsNode,org.apache.cxf.jaxrs.ext.search.SearchBean,Integer,String>protected void doDelete(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsNode node)
public NodeIpInterfacesRestService getIpInterfaceResource(@Context javax.ws.rs.container.ResourceContext context)
public NodeSnmpInterfacesRestService getSnmpInterfaceResource(@Context javax.ws.rs.container.ResourceContext context)
public NodeHardwareInventoryRestService getHardwareInventoryResource(@Context javax.ws.rs.container.ResourceContext context)
public NodeCategoriesRestService getCategoriesResource(@Context javax.ws.rs.container.ResourceContext context)
Copyright © 2020. All rights reserved.