@Deprecated
    @Action(
            domainEvent = FindTenancyByNameDomainEvent.class,
            semantics = SemanticsOf.SAFE,
            hidden = Where.EVERYWHERE // since deprecated
    )
    public ApplicationTenancy findTenancyByName(
            @Parameter(maxLength = ApplicationTenancy.MAX_LENGTH_NAME)
            @ParameterLayout(named = "Name", typicalLength = ApplicationTenancy.TYPICAL_LENGTH_NAME)
            final String name) {
        return applicationTenancyRepository.findByName(name);
    }
@ Deprecated @ Action ( domainEvent = FindTenancyByNameDomainEvent . class , semantics = SemanticsOf . SAFE , hidden = Where . EVERYWHERE ) public ApplicationTenancy findTenancyByName ( @ Parameter ( maxLength = ApplicationTenancy . MAX_LENGTH_NAME ) @ ParameterLayout ( named = "Name" , typicalLength = ApplicationTenancy . TYPICAL_LENGTH_NAME ) final String name ) { return applicationTenancyRepository . findByName ( name ) ; }
@deprecated - use {@link ApplicationTenancyMenu#findTenancies(String)} instead.