Class DomainServiceImpl

    • Constructor Detail

      • DomainServiceImpl

        public DomainServiceImpl()
    • Method Detail

      • create

        public Domain create​(Domain domain)
        Description copied from interface: DomainService
        Creates a new domain
        Specified by:
        create in interface DomainService
        Parameters:
        domain - the Domain to create
        Returns:
        the new domain
      • create

        public Domain create​(String name,
                             String description,
                             boolean enabled)
        Description copied from interface: DomainService
        Creates a new domain
        Specified by:
        create in interface DomainService
        Parameters:
        name - the name of the new domain
        description - the description of the new domain
        enabled - the enabled status of the new domain
        Returns:
        the new domain
      • update

        public Domain update​(Domain domain)
        Description copied from interface: DomainService
        Updates an existing domain
        Specified by:
        update in interface DomainService
        Parameters:
        domain - the domain set to update
        Returns:
        the updated domain
      • get

        public Domain get​(String domainId)
        Description copied from interface: DomainService
        Get detailed information on a domain by id
        Specified by:
        get in interface DomainService
        Parameters:
        domainId - the domain identifier
        Returns:
        the domain
      • getByName

        public List<? extends Domain> getByName​(String domainName)
        Description copied from interface: DomainService
        Get detailed information on a domain by name
        Specified by:
        getByName in interface DomainService
        Parameters:
        domainName - the domain name
        Returns:
        the domain
      • list

        public List<? extends Domain> list()
        Description copied from interface: DomainService
        lists all domains the current token has access to
        Specified by:
        list in interface DomainService
        Returns:
        list of domains