Package org.opennms.web.svclayer
Interface AdminCategoryService
-
- All Known Implementing Classes:
DefaultAdminCategoryService
@Transactional(readOnly=true) public interface AdminCategoryService
AdminCategoryService interface.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnmsCategory
addNewCategory(String name)
addNewCategoryList<OnmsCategory>
findAllCategories()
findAllCategoriesList<OnmsNode>
findAllNodes()
findAllNodesList<OnmsCategory>
findByNode(int nodeId)
findByNodeDefaultAdminCategoryService.EditModel
findCategoryAndAllNodes(String categoryIdString)
findCategoryAndAllNodesDefaultAdminCategoryService.NodeEditModel
findNodeCategories(String nodeIdString)
findNodeCategoriesDefaultAdminCategoryService.CategoryAndMemberNodes
getCategory(String categoryIdString)
getCategoryOnmsCategory
getCategoryWithName(String newCategoryName)
getCategoryWithNamevoid
performEdit(String editAction, String editAction2, String[] toAdd, String[] toDelete)
performEditvoid
performNodeEdit(String nodeIdString, String editAction, String[] toAdd, String[] toDelete)
performNodeEditvoid
removeCategory(String categoryIdString)
removeCategory
-
-
-
Method Detail
-
getCategory
DefaultAdminCategoryService.CategoryAndMemberNodes getCategory(String categoryIdString)
getCategory
- Parameters:
categoryIdString
- aString
object.- Returns:
- a
DefaultAdminCategoryService.CategoryAndMemberNodes
object.
-
findCategoryAndAllNodes
DefaultAdminCategoryService.EditModel findCategoryAndAllNodes(String categoryIdString)
findCategoryAndAllNodes
- Parameters:
categoryIdString
- aString
object.- Returns:
- a
DefaultAdminCategoryService.EditModel
object.
-
performEdit
@Transactional(readOnly=false) void performEdit(String editAction, String editAction2, String[] toAdd, String[] toDelete)
performEdit
-
addNewCategory
@Transactional(readOnly=false) OnmsCategory addNewCategory(String name)
addNewCategory
- Parameters:
name
- aString
object.- Returns:
- a
OnmsCategory
object.
-
getCategoryWithName
OnmsCategory getCategoryWithName(String newCategoryName)
getCategoryWithName
- Parameters:
newCategoryName
- aString
object.- Returns:
- a
OnmsCategory
object.
-
findAllCategories
List<OnmsCategory> findAllCategories()
findAllCategories
- Returns:
- a
List
object.
-
removeCategory
@Transactional(readOnly=false) void removeCategory(String categoryIdString)
removeCategory
- Parameters:
categoryIdString
- aString
object.
-
findByNode
List<OnmsCategory> findByNode(int nodeId)
findByNode
- Parameters:
nodeId
- a int.- Returns:
- a
List
object.
-
findNodeCategories
DefaultAdminCategoryService.NodeEditModel findNodeCategories(String nodeIdString)
findNodeCategories
- Parameters:
nodeIdString
- aString
object.- Returns:
- a
DefaultAdminCategoryService.NodeEditModel
object.
-
-