@Component @PerRequest @Scope(value="prototype") @Transactional public class OnmsCategoryResource extends OnmsRestService
OnmsRestService.ComparisonOperationDEFAULT_LIMIT| Constructor and Description |
|---|
OnmsCategoryResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addCategory(String nodeCriteria,
OnmsCategory category)
addCategory
|
javax.ws.rs.core.Response |
deleteCaegory(String nodeCriteria,
String categoryName)
deleteCaegory
|
OnmsCategoryCollection |
getCategories(String nodeCriteria)
getCategories
|
OnmsCategory |
getCategory(String nodeCriteria,
String categoryName)
getCategory
|
javax.ws.rs.core.Response |
updateCategory(String nodeCriteria,
String categoryName,
MultivaluedMapImpl params)
updateCategory
|
applyQueryFilters, convertNameToPropertyName, getException, getException, log, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlockpublic OnmsCategoryCollection getCategories(String nodeCriteria)
getCategories
nodeCriteria - a String object.OnmsCategoryCollection object.public OnmsCategory getCategory(String nodeCriteria, String categoryName)
getCategory
nodeCriteria - a String object.categoryName - a String object.OnmsCategory object.public javax.ws.rs.core.Response addCategory(String nodeCriteria, OnmsCategory category)
addCategory
nodeCriteria - a String object.category - a OnmsCategory object.Response object.public javax.ws.rs.core.Response updateCategory(String nodeCriteria, String categoryName, MultivaluedMapImpl params)
updateCategory
nodeCriteria - a String object.categoryName - a String object.params - a MultivaluedMapImpl object.Response object.Copyright © 2015. All Rights Reserved.