Interface ResourceDao

    • Method Detail

      • getResourceTypes

        java.util.Collection<OnmsResourceType> getResourceTypes()

        getResourceTypes

        Returns:
        a Collection object.
      • findTopLevelResources

        java.util.List<OnmsResource> findTopLevelResources()

        findTopLevelResources

        Returns:
        a List object.
      • deleteResourceById

        boolean deleteResourceById​(ResourceId resourceId)
        Deletes the resource identified by the given resource ID.
        Parameters:
        resourceId - the ID of the resource to delete
        Returns:
        true iff, the resource was found and deleted