Class DomainServiceImpl

    • Field Detail

      • listenerService

        protected final org.exoplatform.services.listener.ListenerService listenerService
    • Constructor Detail

      • DomainServiceImpl

        public DomainServiceImpl()
    • Method Detail

      • findDomainByTitle

        public DomainDTO findDomainByTitle​(String domainTitle)
        Description copied from interface: DomainService
        Find a DomainEntity by title
        Specified by:
        findDomainByTitle in interface DomainService
        Parameters:
        domainTitle - : domain title
        Returns:
        an instance DomainDTO
      • updateDomain

        public DomainDTO updateDomain​(DomainDTO domainDTO)
                               throws org.exoplatform.commons.exception.ObjectNotFoundException
        Description copied from interface: DomainService
        Update Domain
        Specified by:
        updateDomain in interface DomainService
        Parameters:
        domainDTO - : an instance of type DomainDTO
        Returns:
        DomainDTO object
        Throws:
        org.exoplatform.commons.exception.ObjectNotFoundException
      • deleteDomain

        public void deleteDomain​(Long id)
                          throws javax.persistence.EntityNotFoundException
        Description copied from interface: DomainService
        Delete a DomainEntity using the id
        Specified by:
        deleteDomain in interface DomainService
        Parameters:
        id - : domain id
        Throws:
        javax.persistence.EntityNotFoundException