Java 类ims.therapies.vo.EducationToCarersVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
/**
 * populates the screen from data from specified FamilyHistoryVoCollection
 * @param voCollFamHist 
 * @return      void
 */
public void populateListControl(EducationToCarersVoCollection voCollEduCar)
{   
    clear();

    if (voCollEduCar != null)
    {
        GenForm.grdListRow row;
        for (int i =0; i < voCollEduCar.size();i++)
        {
            row = form.grdList().getRows().newRow();

            row.setValue(voCollEduCar.get(i));              
            row.setColDate(voCollEduCar.get(i).getAuthoringDateTimeIsNotNull()?voCollEduCar.get(i).getAuthoringDateTime().getDate():null);          
            row.setColHCP(voCollEduCar.get(i).getAuthoringCPIsNotNull()?voCollEduCar.get(i).getAuthoringCP().toString():"");
            row.setColCarer(voCollEduCar.get(i).getCarer());
            row.setColDetails(voCollEduCar.get(i).getDetails());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * populates the screen from data from specified FamilyHistoryVoCollection
 * @param voCollFamHist 
 * @return      void
 */
public void populateListControl(EducationToCarersVoCollection voCollEduCar)
{   
    clear();

    if (voCollEduCar != null)
    {
        GenForm.grdListRow row;
        for (int i =0; i < voCollEduCar.size();i++)
        {
            row = form.grdList().getRows().newRow();

            row.setValue(voCollEduCar.get(i));              
            row.setColDate(voCollEduCar.get(i).getAuthoringDateTimeIsNotNull()?voCollEduCar.get(i).getAuthoringDateTime().getDate():null);          
            row.setColHCP(voCollEduCar.get(i).getAuthoringCPIsNotNull()?voCollEduCar.get(i).getAuthoringCP().toString():"");
            row.setColCarer(voCollEduCar.get(i).getCarer());
            row.setColDetails(voCollEduCar.get(i).getDetails());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
/**
 * populates the screen from data from specified FamilyHistoryVoCollection
 * @param voCollFamHist 
 * @return      void
 */
public void populateListControl(EducationToCarersVoCollection voCollEduCar)
{   
    clear();

    if (voCollEduCar != null)
    {
        GenForm.grdListRow row;
        for (int i =0; i < voCollEduCar.size();i++)
        {
            row = form.grdList().getRows().newRow();

            row.setValue(voCollEduCar.get(i));              
            row.setColDate(voCollEduCar.get(i).getAuthoringDateTimeIsNotNull()?voCollEduCar.get(i).getAuthoringDateTime().getDate():null);          
            row.setColHCP(voCollEduCar.get(i).getAuthoringCPIsNotNull()?voCollEduCar.get(i).getAuthoringCP().toString():"");
            row.setColCarer(voCollEduCar.get(i).getCarer());
            row.setColDetails(voCollEduCar.get(i).getDetails());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * populates the screen from data from specified FamilyHistoryVoCollection
 * @param voCollFamHist 
 * @return      void
 */
public void populateListControl(EducationToCarersVoCollection voCollEduCar)
{   
    clear();

    if (voCollEduCar != null)
    {
        GenForm.grdListRow row;
        for (int i =0; i < voCollEduCar.size();i++)
        {
            row = form.grdList().getRows().newRow();

            row.setValue(voCollEduCar.get(i));              
            row.setColDate(voCollEduCar.get(i).getAuthoringDateTimeIsNotNull()?voCollEduCar.get(i).getAuthoringDateTime().getDate():null);          
            row.setColHCP(voCollEduCar.get(i).getAuthoringCPIsNotNull()?voCollEduCar.get(i).getAuthoringCP().toString():"");
            row.setColCarer(voCollEduCar.get(i).getCarer());
            row.setColDetails(voCollEduCar.get(i).getDetails());
        }
    }
}
项目:AvoinApotti    文件:EducationToCarerImpl.java   
public ims.therapies.vo.EducationToCarersVoCollection list(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new DomainRuntimeException("Contact Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.clinicalContact.id = :clinicalcontactId", new String[]{"clinicalcontactId"}, new Object[]{voClinicalContact.getID_ClinicalContact()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:AvoinApotti    文件:EducationToCarerImpl.java   
public EducationToCarersVoCollection listEduTocCarerForCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Care Context is null. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.careContext.id = :ccId", new String[]{"ccId"}, new Object[]{careContextRefVo.getID_CareContext()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openMAXIMS    文件:EducationToCarerImpl.java   
public ims.therapies.vo.EducationToCarersVoCollection list(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new DomainRuntimeException("Contact Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.clinicalContact.id = :clinicalcontactId", new String[]{"clinicalcontactId"}, new Object[]{voClinicalContact.getID_ClinicalContact()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openMAXIMS    文件:EducationToCarerImpl.java   
public EducationToCarersVoCollection listEduTocCarerForCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Care Context is null. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.careContext.id = :ccId", new String[]{"ccId"}, new Object[]{careContextRefVo.getID_CareContext()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openMAXIMS    文件:EducationToCarerImpl.java   
public ims.therapies.vo.EducationToCarersVoCollection list(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new DomainRuntimeException("Contact Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.clinicalContact.id = :clinicalcontactId", new String[]{"clinicalcontactId"}, new Object[]{voClinicalContact.getID_ClinicalContact()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openMAXIMS    文件:EducationToCarerImpl.java   
public EducationToCarersVoCollection listEduTocCarerForCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Care Context is null. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.careContext.id = :ccId", new String[]{"ccId"}, new Object[]{careContextRefVo.getID_CareContext()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openmaxims-linux    文件:EducationToCarerImpl.java   
public ims.therapies.vo.EducationToCarersVoCollection list(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new DomainRuntimeException("Contact Filter not provided for list call. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.clinicalContact.id = :clinicalcontactId", new String[]{"clinicalcontactId"}, new Object[]{voClinicalContact.getID_ClinicalContact()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}
项目:openmaxims-linux    文件:EducationToCarerImpl.java   
public EducationToCarersVoCollection listEduTocCarerForCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Care Context is null. ");

    DomainFactory factory = getDomainFactory();

    java.util.List educList = factory.find("from  EducationToCarers educs where educs.careContext.id = :ccId", new String[]{"ccId"}, new Object[]{careContextRefVo.getID_CareContext()});

    return EducationToCarersVoAssembler.createEducationToCarersVoCollectionFromEducationToCarers(educList).sort();
}