Class ClientCounterHandler

    • Constructor Detail

      • ClientCounterHandler

        public ClientCounterHandler()
    • Method Detail

      • getByUuid

        public ClientCounter getByUuid​(UserContext uc,
                                       Mandant client,
                                       UUID uuid)
        Specified by:
        getByUuid in interface IClientCounterHandler
        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.
      • getByName

        public ClientCounter getByName​(UserContext uc,
                                       Mandant client,
                                       String name)
        Specified by:
        getByName in interface IClientCounterHandler
        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.