Class ClientCounterHandler

All Implemented Interfaces:
IAPIHandler, IClientCounterHandler, IGenericHandler, Serializable

public class ClientCounterHandler extends GenericHandler implements IClientCounterHandler
Default implementation of IClientCounterHandler
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • ClientCounterHandler

      public ClientCounterHandler()
  • Method Details

    • 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.