Class ClientCounterApi

    • Constructor Detail

      • ClientCounterApi

        public ClientCounterApi()
    • Method Detail

      • getByUuid

        @Nullable
        public ClientCounter getByUuid​(UserContext uc,
                                       Mandant client,
                                       UUID uuid)
        Parameters:
        uc - UserContext to be used.
        client - context to search for the counter.
        uuid - UUID of the counter.
        Returns:
        The counter with the given UUID that belongs to the client, or null when no such counter exist.
        Since:
        7.0.0
      • getByName

        @Nullable
        public ClientCounter getByName​(UserContext uc,
                                       Mandant client,
                                       String name)
        Parameters:
        uc - UserContext to be used.
        client - context to search for the counter.
        name - name of the counter.
        Returns:
        The counter with the given name that belongs to the client, or null when no such counter exist.
        Since:
        7.0.0