Class BaseServiceImp

java.lang.Object
org.ehrbase.service.BaseServiceImp
All Implemented Interfaces:
BaseService
Direct Known Subclasses:
CompositionServiceImp, ContributionServiceImp, DirectoryServiceImp, EhrServiceImp, QueryServiceImp, StatusServiceImp, TemplateServiceImp, TenantServiceImp

public class BaseServiceImp extends Object implements BaseService
  • Field Details

  • Constructor Details

  • Method Details

    • getDataAccess

      protected I_DomainAccess getDataAccess()
    • getSystemUuid

      public UUID getSystemUuid()
      Get default system UUID.
      Internally makes use of configured local system's node name.
      Specified by:
      getSystemUuid in interface BaseService
      Returns:
      Default system UUID.
    • getCurrentUserId

      protected UUID getCurrentUserId()
      Get default user UUID, derived from authenticated user via Spring Security.
      Internally checks and retrieves the matching user UUID, if it already exists with given info.
      Returns:
      UUID of default user, derived from authenticated user.
    • getServerConfig

      public ServerConfig getServerConfig()
      Specified by:
      getServerConfig in interface BaseService