Java 类ims.admin.vo.PracticeSearchCriteriaVo 实例源码

项目:AvoinApotti    文件:Logic.java   
public void search()
{   
    PracticeSearchCriteriaVo criteria = new PracticeSearchCriteriaVo();

    if(form.chkActive().getValue() == true)
        criteria.setIsActive(new Boolean(form.chkActive().getValue()));

    criteria.setTaxonomyCode(form.txtCode().getValue());
    criteria.setTaxonomyType(form.cmbType().getValue());                    
    criteria.setName(form.txtName().getValue());
    criteria.setAddress(form.txtAddress().getValue());

    OrganisationWithSitesVoCollection listPractice = domain.listPractice(criteria);
    populateGridFromData(listPractice);

    if(listPractice == null || listPractice.size() == 0)
    {
        engine.showMessage("No records found matching the search criteria");
    }
}
项目:AvoinApotti    文件:Logic.java   
protected void onQmbReferringOrgTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.lyr().tabReferralDetails().cmbSourceofReferral().getValue() != null && form.lyr().tabReferralDetails().cmbSourceofReferral().getValue().equals(ReferralSource.GPREFERRAL))
    {
        PracticeSearchCriteriaVo voGP = new PracticeSearchCriteriaVo();
        voGP.setName(value);
        voGP.setIsActive(new Boolean(true));

    }
    else
    {
        OrganisationVo voOrg = new OrganisationVo();
        voOrg.setName(value);

    }
}
项目:openMAXIMS    文件:Logic.java   
public void search()
{   
    PracticeSearchCriteriaVo criteria = new PracticeSearchCriteriaVo();

    if(form.chkActive().getValue() == true)
        criteria.setIsActive(new Boolean(form.chkActive().getValue()));

    criteria.setTaxonomyCode(form.txtCode().getValue());
    criteria.setTaxonomyType(form.cmbType().getValue());                    
    criteria.setName(form.txtName().getValue());
    criteria.setAddress(form.txtAddress().getValue());

    OrganisationWithSitesVoCollection listPractice = domain.listPractice(criteria);
    populateGridFromData(listPractice);

    if(listPractice == null || listPractice.size() == 0)
    {
        engine.showMessage("No records found matching the search criteria");
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onQmbReferringOrgTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.lyr().tabReferralDetails().cmbSourceofReferral().getValue() != null && form.lyr().tabReferralDetails().cmbSourceofReferral().getValue().equals(ReferralSource.GPREFERRAL))
    {
        PracticeSearchCriteriaVo voGP = new PracticeSearchCriteriaVo();
        voGP.setName(value);
        voGP.setIsActive(new Boolean(true));

    }
    else
    {
        OrganisationVo voOrg = new OrganisationVo();
        voOrg.setName(value);

    }
}
项目:openMAXIMS    文件:Logic.java   
public void search()
{   
    PracticeSearchCriteriaVo criteria = new PracticeSearchCriteriaVo();

    if(form.chkActive().getValue() == true)
        criteria.setIsActive(new Boolean(form.chkActive().getValue()));

    criteria.setTaxonomyCode(form.txtCode().getValue());
    criteria.setTaxonomyType(form.cmbType().getValue());                    
    criteria.setName(form.txtName().getValue());
    criteria.setAddress(form.txtAddress().getValue());

    OrganisationWithSitesVoCollection listPractice = domain.listPractice(criteria);
    populateGridFromData(listPractice);

    if(listPractice == null || listPractice.size() == 0)
    {
        engine.showMessage("No records found matching the search criteria");
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onQmbReferringOrgTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.lyr().tabReferralDetails().cmbSourceofReferral().getValue() != null && form.lyr().tabReferralDetails().cmbSourceofReferral().getValue().equals(ReferralSource.GPREFERRAL))
    {
        PracticeSearchCriteriaVo voGP = new PracticeSearchCriteriaVo();
        voGP.setName(value);
        voGP.setIsActive(new Boolean(true));

    }
    else
    {
        OrganisationVo voOrg = new OrganisationVo();
        voOrg.setName(value);

    }
}
项目:openmaxims-linux    文件:Logic.java   
public void search()
{   
    PracticeSearchCriteriaVo criteria = new PracticeSearchCriteriaVo();

    if(form.chkActive().getValue() == true)
        criteria.setIsActive(new Boolean(form.chkActive().getValue()));

    criteria.setTaxonomyCode(form.txtCode().getValue());
    criteria.setTaxonomyType(form.cmbType().getValue());                    
    criteria.setName(form.txtName().getValue());
    criteria.setAddress(form.txtAddress().getValue());

    OrganisationWithSitesVoCollection listPractice = domain.listPractice(criteria);
    populateGridFromData(listPractice);

    if(listPractice == null || listPractice.size() == 0)
    {
        engine.showMessage("No records found matching the search criteria");
    }
}
项目:openmaxims-linux    文件:Logic.java   
protected void onQmbReferringOrgTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.lyr().tabReferralDetails().cmbSourceofReferral().getValue() != null && form.lyr().tabReferralDetails().cmbSourceofReferral().getValue().equals(ReferralSource.GPREFERRAL))
    {
        PracticeSearchCriteriaVo voGP = new PracticeSearchCriteriaVo();
        voGP.setName(value);
        voGP.setIsActive(new Boolean(true));

    }
    else
    {
        OrganisationVo voOrg = new OrganisationVo();
        voOrg.setName(value);

    }
}