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,java.lang.Integer,java.lang.Integer>
-
- org.opennms.web.rest.v2.UserDefinedLinkRestService
-
@Component @Transactional public class UserDefinedLinkRestService extends AbstractDaoRestService<UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.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(java.util.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, java.lang.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,java.lang.Integer>
getDao()
protected java.lang.Class<UserDefinedLink>
getDaoClass()
protected java.lang.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,java.lang.Integer> getDao()
- Specified by:
getDao
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.Integer>
-
getDaoClass
protected java.lang.Class<UserDefinedLink> getDaoClass()
- Specified by:
getDaoClass
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.Integer>
-
getQueryBeanClass
protected java.lang.Class<UserDefinedLink> getQueryBeanClass()
- Specified by:
getQueryBeanClass
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.Integer>
-
getCriteriaBuilder
protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getCriteriaBuilder
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.Integer>
-
createListWrapper
protected JaxbListWrapper<UserDefinedLink> createListWrapper(java.util.Collection<UserDefinedLink> list)
- Specified by:
createListWrapper
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.Integer>
-
doGet
protected UserDefinedLink doGet(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer id)
- Specified by:
doGet
in classAbstractDaoRestServiceWithDTO<UserDefinedLink,UserDefinedLink,UserDefinedLink,java.lang.Integer,java.lang.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,java.lang.Integer,java.lang.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,java.lang.Integer,java.lang.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,java.lang.Integer,java.lang.Integer>
-
-