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 Detail

      • findAllNodes

        java.util.List<OnmsNode> findAllNodes()

        findAllNodes

        Returns:
        a List object.
      • performEdit

        @Transactional(readOnly=false)
        void performEdit​(java.lang.String editAction,
                         java.lang.String editAction2,
                         java.lang.String[] toAdd,
                         java.lang.String[] toDelete)

        performEdit

        Parameters:
        editAction - a String object.
        editAction2 - a String object.
        toAdd - an array of String objects.
        toDelete - an array of String objects.
      • addNewCategory

        @Transactional(readOnly=false)
        OnmsCategory addNewCategory​(java.lang.String name)

        addNewCategory

        Parameters:
        name - a String object.
        Returns:
        a OnmsCategory object.
      • getCategoryWithName

        OnmsCategory getCategoryWithName​(java.lang.String newCategoryName)

        getCategoryWithName

        Parameters:
        newCategoryName - a String object.
        Returns:
        a OnmsCategory object.
      • findAllCategories

        java.util.List<OnmsCategory> findAllCategories()

        findAllCategories

        Returns:
        a List object.
      • removeCategory

        @Transactional(readOnly=false)
        void removeCategory​(java.lang.String categoryIdString)

        removeCategory

        Parameters:
        categoryIdString - a String object.
      • findByNode

        java.util.List<OnmsCategory> findByNode​(int nodeId)

        findByNode

        Parameters:
        nodeId - a int.
        Returns:
        a List object.
      • performNodeEdit

        @Transactional(readOnly=false)
        void performNodeEdit​(java.lang.String nodeIdString,
                             java.lang.String editAction,
                             java.lang.String[] toAdd,
                             java.lang.String[] toDelete)

        performNodeEdit

        Parameters:
        nodeIdString - a String object.
        editAction - a String object.
        toAdd - an array of String objects.
        toDelete - an array of String objects.