Java 类ims.ocrr.vo.domain.InvestigationOcsQuestionsVoAssembler 实例源码

项目:AvoinApotti    文件:SelectandOrderImpl.java   
public InvestigationOcsQuestionsVoCollection listInvestigationOcsQuestions(Integer[] serviceIds)
{
    if (serviceIds == null || serviceIds.length == 0)
        return null;
    StringBuffer sb = new StringBuffer();

    sb.append(" from Investigation as i1_1 where i1_1.id in ");
    sb.append("(");
    for (int i = 0; i < serviceIds.length; i++)
    {
        sb.append(serviceIds[i]);
        if (i < (serviceIds.length - 1))
            sb.append(", ");
    }
    sb.append(")");

    List list = getDomainFactory().find(sb.toString());

    return InvestigationOcsQuestionsVoAssembler.createInvestigationOcsQuestionsVoCollectionFromInvestigation(list);
}
项目:openMAXIMS    文件:SelectandOrderImpl.java   
public InvestigationOcsQuestionsVoCollection listInvestigationOcsQuestions(Integer[] serviceIds)
{
    if (serviceIds == null || serviceIds.length == 0)
        return null;
    StringBuffer sb = new StringBuffer();

    sb.append(" from Investigation as i1_1 where i1_1.id in ");
    sb.append("(");
    for (int i = 0; i < serviceIds.length; i++)
    {
        sb.append(serviceIds[i]);
        if (i < (serviceIds.length - 1))
            sb.append(", ");
    }
    sb.append(")");

    List list = getDomainFactory().find(sb.toString());

    return InvestigationOcsQuestionsVoAssembler.createInvestigationOcsQuestionsVoCollectionFromInvestigation(list);
}
项目:openMAXIMS    文件:SelectandOrderImpl.java   
public InvestigationOcsQuestionsVoCollection listInvestigationOcsQuestions(Integer[] serviceIds)
{
    if (serviceIds == null || serviceIds.length == 0)
        return null;
    StringBuffer sb = new StringBuffer();

    sb.append(" from Investigation as i1_1 where i1_1.id in ");
    sb.append("(");
    for (int i = 0; i < serviceIds.length; i++)
    {
        sb.append(serviceIds[i]);
        if (i < (serviceIds.length - 1))
            sb.append(", ");
    }
    sb.append(")");

    List list = getDomainFactory().find(sb.toString());

    return InvestigationOcsQuestionsVoAssembler.createInvestigationOcsQuestionsVoCollectionFromInvestigation(list);
}
项目:openmaxims-linux    文件:SelectandOrderImpl.java   
public InvestigationOcsQuestionsVoCollection listInvestigationOcsQuestions(Integer[] serviceIds)
{
    if (serviceIds == null || serviceIds.length == 0)
        return null;
    StringBuffer sb = new StringBuffer();

    sb.append(" from Investigation as i1_1 where i1_1.id in ");
    sb.append("(");
    for (int i = 0; i < serviceIds.length; i++)
    {
        sb.append(serviceIds[i]);
        if (i < (serviceIds.length - 1))
            sb.append(", ");
    }
    sb.append(")");

    List list = getDomainFactory().find(sb.toString());

    return InvestigationOcsQuestionsVoAssembler.createInvestigationOcsQuestionsVoCollectionFromInvestigation(list);
}