Class ClientCounterApi


public class ClientCounterApi extends AEntityAPI<ClientCounter>
API for ClientCounters that can be accessed via APIProvider.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • ClientCounterApi

      public ClientCounterApi()
  • Method Details

    • 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