Package org.opennms.web.rest.v2
Class UserDefinedLinkRestService
- java.lang.Object
-
- org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO<T,T,Q,K,I>
-
- org.opennms.web.rest.v2.AbstractDaoRestService<UserDefinedLink,UserDefinedLink,Integer,Integer>
-
- org.opennms.web.rest.v2.UserDefinedLinkRestService
-
@Component @Transactional public class UserDefinedLinkRestService extends AbstractDaoRestService<UserDefinedLink,UserDefinedLink,Integer,Integer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserDefinedLinkRestService.UserDefinedLinkCollection
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description UserDefinedLinkRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JaxbListWrapper<UserDefinedLink>
createListWrapper(Collection<UserDefinedLink> list)
javax.ws.rs.core.Response
doCreate(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl)
protected void
doDelete(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl)
protected UserDefinedLink
doGet(javax.ws.rs.core.UriInfo uriInfo, Integer id)
protected javax.ws.rs.core.Response
doUpdateProperties(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl, MultivaluedMapImpl params)
protected CriteriaBuilder
getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
protected OnmsDao<UserDefinedLink,Integer>
getDao()
protected Class<UserDefinedLink>
getDaoClass()
protected Class<UserDefinedLink>
getQueryBeanClass()
-
Methods inherited from class org.opennms.web.rest.v2.AbstractDaoRestService
mapDTOToEntity, mapEntityToDTO
-
Methods inherited from class org.opennms.web.rest.v2.AbstractDaoRestServiceWithDTO
applyLimitOffsetOrderBy, create, createSpecific, delete, deleteMany, doUpdate, get, get, getCount, getCriteria, getCriteriaBehaviors, getException, getProperties, getPropertyValues, getQueryProperties, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlock
-
-
-
-
Method Detail
-
getDao
protected OnmsDao<UserDefinedLink,Integer> getDao()
- Specified by:
getDao
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
getDaoClass
protected Class<UserDefinedLink> getDaoClass()
- Specified by:
getDaoClass
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
getQueryBeanClass
protected Class<UserDefinedLink> getQueryBeanClass()
- Specified by:
getQueryBeanClass
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
getCriteriaBuilder
protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCriteriaBuilder
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
createListWrapper
protected JaxbListWrapper<UserDefinedLink> createListWrapper(Collection<UserDefinedLink> list)
- Specified by:
createListWrapper
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
doGet
protected UserDefinedLink doGet(javax.ws.rs.core.UriInfo uriInfo, Integer id)
- Specified by:
doGet
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
doCreate
public javax.ws.rs.core.Response doCreate(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl)
- Overrides:
doCreate
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
doUpdateProperties
protected javax.ws.rs.core.Response doUpdateProperties(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl, MultivaluedMapImpl params)
- Overrides:
doUpdateProperties
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
doDelete
protected void doDelete(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, UserDefinedLink udl)
- Overrides:
doDelete
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,Integer,Integer>
-
-