Java 类ims.core.vo.MemberOfStaffVoCollection 实例源码

项目:AvoinApotti    文件:MosSearchImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo filter)
{
    List mosList = listDomMos(filter);
    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openMAXIMS    文件:MosSearchImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo filter)
{
    List mosList = listDomMos(filter);
    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openMAXIMS    文件:MosSearchImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo filter)
{
    List mosList = listDomMos(filter);
    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openmaxims-linux    文件:MosSearchImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo filter)
{
    List mosList = listDomMos(filter);
    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:AvoinApotti    文件:SupportServicesImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo, HcpDisType hcpSUbtype) 
{
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openMAXIMS    文件:SupportServicesImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo, HcpDisType hcpSUbtype) 
{
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openMAXIMS    文件:SupportServicesImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo, HcpDisType hcpSUbtype) 
{
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:openmaxims-linux    文件:SupportServicesImpl.java   
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo, HcpDisType hcpSUbtype) 
{
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
}
项目:AvoinApotti    文件:SupportNetworkProfessionalServicesImpl.java   
/**
 * list member of staff including their primary location
 */
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo,HcpDisType hcpSUbtype)
{

    //wdev-11144
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
    //----------
}
项目:openMAXIMS    文件:SupportNetworkProfessionalServicesImpl.java   
/**
 * list member of staff including their primary location
 */
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo,HcpDisType hcpSUbtype)
{

    //wdev-11144
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
    //----------
}
项目:openMAXIMS    文件:SupportNetworkProfessionalServicesImpl.java   
/**
 * list member of staff including their primary location
 */
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo,HcpDisType hcpSUbtype)
{

    //wdev-11144
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
    //----------
}
项目:openmaxims-linux    文件:SupportNetworkProfessionalServicesImpl.java   
/**
 * list member of staff including their primary location
 */
public MemberOfStaffShortVoCollection listMembersOfStaffWithPrimaryLocations(MemberOfStaffShortVo voMemberOfStaffShortVo,HcpDisType hcpSUbtype)
{

    //wdev-11144
    List mosList = null;
    if(HcpDisType.MEDICAL.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listMedic(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.NURSING.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listNurse(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else if(HcpDisType.THERAPY.equals(voMemberOfStaffShortVo.getHcp().getHcpType()))
    {
        mosList = listTherapist(voMemberOfStaffShortVo,hcpSUbtype);
    }
    else
        mosList = listDomMos(voMemberOfStaffShortVo);

    MemberOfStaffVoCollection voCollMos = MemberOfStaffVoAssembler.createMemberOfStaffVoCollectionFromMemberOfStaff(mosList);
    MemberOfStaffShortVoCollection voCollReturn = new MemberOfStaffShortVoCollection();
    if (voCollMos != null)
    {
        for (int i = 0; i < voCollMos.size(); i++)
        {
            MemberOfStaffShortVo voShortMos = new MemberOfStaffShortVo();
            voShortMos = voCollMos.get(i);
            for (int j = 0; j < voCollMos.get(i).getLocations().size(); j++)
            {
                if ( voCollMos.get(i).getLocations().get(j).getIsPrimary() != null &&
                     voCollMos.get(i).getLocations().get(j).getIsPrimary().equals(Boolean.TRUE))
                    voShortMos.setPrimaryLocation(voCollMos.get(i).getLocations().get(j).getLocation());
            }
            voCollReturn.add(voShortMos);
        }
    }

    return voCollReturn;
    //----------
}