Interface ThirdParties

    • Method Detail

      • has

        boolean has​(String code)
        Checks if a third party with a code exists.
        Parameters:
        code -
        Returns:
        boolean exits
      • add

        ThirdParty add​(String code,
                       String name,
                       String abbreviated)
        Add a new item.
        Parameters:
        code - Code
        name - Name
        abbreviated - Abbreviated
        Returns:
        Third party created.
      • remove

        void remove​(Long id)
        Remove a third party by its identifier.
        Parameters:
        id - Identifier
      • iterate

        Iterable<ThirdParty> iterate()
        Iterate all third parties.
        Returns:
        Iterable of third party.
      • count

        Long count()