<commit_before>package domainapp.dom.modules.atencion;

import java.util.List;

import org.apache.isis.applib.DomainObjectContainer;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.ActionLayout;
import org.apache.isis.applib.annotation.BookmarkPolicy;
import org.apache.isis.applib.annotation.DomainService;
import org.apache.isis.applib.annotation.DomainServiceLayout;
import org.apache.isis.applib.annotation.MemberOrder;
import org.apache.isis.applib.annotation.ParameterLayout;
import org.apache.isis.applib.annotation.SemanticsOf;
import org.apache.isis.applib.query.QueryDefault;
import domainapp.dom.modules.servicios.E_estadoParte;
;
@DomainService(repositoryFor = EstadoEquipo.class)
@DomainServiceLayout(menuOrder = "10" , named="EstadoEquipo")

public class EstadoEquipoRepositorio {
	/*
	//region > listarTodos (action)
    @Action(
            semantics = SemanticsOf.SAFE
    )
    @ActionLayout(
            bookmarking = BookmarkPolicy.AS_ROOT
    )
    @MemberOrder(sequence = "1")
   public List<EstadoEquipo> listarTodos() {
        return container.allInstances(EstadoEquipo.class);
    }
    //endregion

   // region > buscarPorMarca (action)
    @Action(
            semantics = SemanticsOf.SAFE
    )
    @ActionLayout(
            bookmarking = BookmarkPolicy.AS_ROOT
    )
    @MemberOrder(sequence = "2")
    public List<EstadoEquipo> buscarPorImei(
            @ParameterLayout(named="Imei")
            final String imei
    ) {
        return container.allMatches(
                new QueryDefault<>(
                        EstadoEquipo.class,
                        "buscarPorImei",
                        "Imei", imei));
    }
    //endregion
*/
    //region > create (action)
    @MemberOrder(sequence = "3")<commit_msg>agrego consulta de estado del ingreso del equipo<commit_after>package domainapp.dom.modules.atencion;

import java.util.List;

import org.apache.isis.applib.DomainObjectContainer;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.ActionLayout;
import org.apache.isis.applib.annotation.BookmarkPolicy;
import org.apache.isis.applib.annotation.DomainService;
import org.apache.isis.applib.annotation.DomainServiceLayout;
import org.apache.isis.applib.annotation.MemberOrder;
import org.apache.isis.applib.annotation.ParameterLayout;
import org.apache.isis.applib.annotation.SemanticsOf;
import org.apache.isis.applib.query.QueryDefault;

import domainapp.dom.modules.servicios.E_estadoParte;
;
@DomainService(repositoryFor = EstadoEquipo.class)
@DomainServiceLayout(menuOrder = "10" , named="EstadoEquipo")

public class EstadoEquipoRepositorio {
	
	//region > listarTodos (action)
    @Action(
            semantics = SemanticsOf.SAFE
    )
    @ActionLayout(
            bookmarking = BookmarkPolicy.AS_ROOT
    )
    @MemberOrder(sequence = "1")
   public List<EstadoEquipo> listarTodos() {
        return container.allInstances(EstadoEquipo.class);
    }
    //endregion

 // region > buscarPorImei (action)
    @Action(
            semantics = SemanticsOf.SAFE
    )
    @ActionLayout(
            bookmarking = BookmarkPolicy.AS_ROOT
    )
    @MemberOrder(sequence = "4")
    public List<Equipo> buscarPorImei(
            @ParameterLayout(named="IMEI")
            final String imei
    ) {
        return container.allMatches(
                new QueryDefault<>(
                        Equipo.class,
                        "buscarPorImei",
                        "imei", imei));
    }
    //endregion

    //region > create (action)
    @MemberOrder(sequence = "3")
{'fraction_non_alphanumeric': 0.10462219761970662, 'fraction_numerical': 0.0027677830058123443, 'mean_word_length': 3.0110987791342954, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2279560', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1131, 'n_words': 172}