Package org.opennms.web.rest.v2
Class AbstractNodeDependentRestService<T,Q,K extends Serializable,I extends Serializable>
- java.lang.Object
-
- org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO<T,T,Q,K,I>
-
- org.opennms.web.rest.v2.AbstractDaoRestService<T,Q,K,I>
-
- org.opennms.web.rest.v2.AbstractNodeDependentRestService<T,Q,K,I>
-
- Direct Known Subclasses:
NodeCategoriesRestService
,NodeIpInterfacesRestService
,NodeMonitoredServiceRestService
,NodeSnmpInterfacesRestService
public abstract class AbstractNodeDependentRestService<T,Q,K extends Serializable,I extends Serializable> extends AbstractDaoRestService<T,Q,K,I>
Abstract Web Service using REST for entities that depend on OnmsNode.- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description protected NodeDao
m_nodeDao
-
Fields inherited from class org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description AbstractNodeDependentRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OnmsNode
getNode(javax.ws.rs.core.UriInfo uriInfo)
protected void
updateCriteria(javax.ws.rs.core.UriInfo uriInfo, CriteriaBuilder builder)
-
Methods inherited from class org.opennms.web.rest.v2.AbstractDaoRestService
mapDTOToEntity, mapEntityToDTO
-
Methods inherited from class org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO
applyLimitOffsetOrderBy, create, createListWrapper, createSpecific, delete, deleteMany, doCreate, doDelete, doGet, doUpdate, doUpdateProperties, get, get, getCount, getCriteria, getCriteriaBehaviors, getCriteriaBuilder, getDao, getDaoClass, getException, getProperties, getPropertyValues, getQueryBeanClass, getQueryProperties, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlock
-
-
-
-
Field Detail
-
m_nodeDao
@Autowired protected NodeDao m_nodeDao
-
-
Method Detail
-
updateCriteria
protected void updateCriteria(javax.ws.rs.core.UriInfo uriInfo, CriteriaBuilder builder)
-
getNode
protected OnmsNode getNode(javax.ws.rs.core.UriInfo uriInfo)
-
-