@Component @Transactional public class ApplicationRestService extends AbstractDaoRestService<OnmsApplication,OnmsApplication,Integer,Integer>
OnmsApplication
entityDEFAULT_LIMIT
Constructor and Description |
---|
ApplicationRestService(ApplicationDao dao,
EventProxy eventProxy) |
Modifier and Type | Method and Description |
---|---|
protected JaxbListWrapper<OnmsApplication> |
createListWrapper(Collection<OnmsApplication> list) |
javax.ws.rs.core.Response |
doCreate(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsApplication object) |
protected void |
doDelete(javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.UriInfo uriInfo,
OnmsApplication object) |
protected OnmsApplication |
doGet(javax.ws.rs.core.UriInfo uriInfo,
Integer id) |
protected CriteriaBuilder |
getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo) |
protected ApplicationDao |
getDao() |
protected Class<OnmsApplication> |
getDaoClass() |
protected Class<OnmsApplication> |
getQueryBeanClass() |
protected Set<SearchProperty> |
getQueryProperties()
Get a list of query properties that this endpoint supports
for FIQL expressions and
orderBy expressions. |
mapDTOToEntity, mapEntityToDTO
applyLimitOffsetOrderBy, create, createSpecific, delete, deleteMany, doUpdate, doUpdateProperties, get, get, getCount, getCriteria, getCriteriaBehaviors, getException, getProperties, getPropertyValues, getSearchBeanPropertyMap, sendEvent, update, updateMany, updateProperties, writeLock, writeUnlock
@Autowired public ApplicationRestService(ApplicationDao dao, EventProxy eventProxy)
protected ApplicationDao getDao()
getDao
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected Class<OnmsApplication> getDaoClass()
getDaoClass
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected Class<OnmsApplication> getQueryBeanClass()
getQueryBeanClass
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.UriInfo uriInfo)
getCriteriaBuilder
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected JaxbListWrapper<OnmsApplication> createListWrapper(Collection<OnmsApplication> list)
createListWrapper
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected Set<SearchProperty> getQueryProperties()
AbstractDaoRestServiceWithDTO
Get a list of query properties that this endpoint supports
for FIQL expressions and orderBy
expressions.
getQueryProperties
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected OnmsApplication doGet(javax.ws.rs.core.UriInfo uriInfo, Integer id)
doGet
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
public javax.ws.rs.core.Response doCreate(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, OnmsApplication object)
doCreate
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
protected void doDelete(javax.ws.rs.core.SecurityContext securityContext, javax.ws.rs.core.UriInfo uriInfo, OnmsApplication object)
doDelete
in class AbstractDaoRestServiceWithDTO<OnmsApplication,OnmsApplication,OnmsApplication,Integer,Integer>
Copyright © 2021. All rights reserved.