Interface CompoundService

    • Method Detail

      • findOrCreate

        @Secured("GROUP_USER")
        Compound findOrCreate​(Compound compound)
        Description copied from interface: BaseImmutableService
        Does a search for the entity in the persistent storage, and if not found, creates it.
        Specified by:
        findOrCreate in interface BaseImmutableService<Compound>
        Parameters:
        compound - the entity to look for, and create if not found.
        Returns:
        the entity retrieved from the persistent storage, either found or created.