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

项目:AvoinApotti    文件:Logic.java   
private void bindAppointmentOutcomeCombo(AppointmentOutcomeReasonVoCollection appointmentOutcomeReasons)
{
    form.cmbOutcomeReason().clear();

    if(appointmentOutcomeReasons == null)
        return;

    for(AppointmentOutcomeReasonVo reason : appointmentOutcomeReasons)
    {
        if(reason == null || reason.getIsActive() == null || Boolean.FALSE.equals(reason.getIsActive()))
            continue;

        form.cmbOutcomeReason().newRow(reason.getAppointmentOutcomeReason(), reason.getAppointmentOutcomeReason().getText());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateGridAppOutcomeReason(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    for (int i=0;i<form.ctnDetails().grdAppointmentOutcomeReasons().getRows().size();i++)
    {
        AppointmentOutcomeReasonVo apptOutcomeReason=getApptOutcomeReason((AppointmentOutcomeReason)form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).getValue(),collAppointmentOutcomeReasons);

        if (apptOutcomeReason!=null)
        {
            form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).setColSelect(apptOutcomeReason.getIsActive());    
        }   
    }
}
项目:AvoinApotti    文件:Logic.java   
private AppointmentOutcomeReasonVo getApptOutcomeReason(AppointmentOutcomeReason value, AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    for (int i=0;i<collAppointmentOutcomeReasons.size();i++)
    {
        if (collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getID()==value.getID())
            return collAppointmentOutcomeReasons.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void bindAppointmentOutcomeReasonCombo(AppointmentOutcomeReasonVoCollection appointmentOutcomeReasons)
{
    form.cmbOutcomeReason().clear();

    if(appointmentOutcomeReasons == null)
        return;

    for(AppointmentOutcomeReasonVo reason : appointmentOutcomeReasons)
    {
        if(reason == null || reason.getIsActive() == null || Boolean.FALSE.equals(reason.getIsActive()))
            continue;

        form.cmbOutcomeReason().newRow(reason.getAppointmentOutcomeReason(), reason.getAppointmentOutcomeReason().getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void bindAppointmentOutcomeReasonCombo(AppointmentOutcomeReasonVoCollection appointmentOutcomeReasons)
{
    form.cmbOutcomeReason().clear();

    if(appointmentOutcomeReasons == null)
        return;

    for(AppointmentOutcomeReasonVo reason : appointmentOutcomeReasons)
    {
        if(reason == null || reason.getIsActive() == null || Boolean.FALSE.equals(reason.getIsActive()))
            continue;

        form.cmbOutcomeReason().newRow(reason.getAppointmentOutcomeReason(), reason.getAppointmentOutcomeReason().getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridAppOutcomeReason(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    for (int i=0;i<form.ctnDetails().grdAppointmentOutcomeReasons().getRows().size();i++)
    {
        AppointmentOutcomeReasonVo apptOutcomeReason=getApptOutcomeReason((AppointmentOutcomeReason)form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).getValue(),collAppointmentOutcomeReasons);

        if (apptOutcomeReason!=null)
        {
            form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).setColSelect(apptOutcomeReason.getIsActive());    
        }   
    }
}
项目:openMAXIMS    文件:Logic.java   
private AppointmentOutcomeReasonVo getApptOutcomeReason(AppointmentOutcomeReason value, AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    for (int i=0;i<collAppointmentOutcomeReasons.size();i++)
    {
        if (collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getID()==value.getID())
            return collAppointmentOutcomeReasons.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void bindAppointmentOutcomeCombo(AppointmentOutcomeReasonVoCollection appointmentOutcomeReasons)
{
    form.cmbOutcomeReason().clear();

    if(appointmentOutcomeReasons == null)
        return;

    for(AppointmentOutcomeReasonVo reason : appointmentOutcomeReasons)
    {
        if(reason == null || reason.getIsActive() == null || Boolean.FALSE.equals(reason.getIsActive()))
            continue;

        form.cmbOutcomeReason().newRow(reason.getAppointmentOutcomeReason(), reason.getAppointmentOutcomeReason().getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridAppOutcomeReason(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    for (int i=0;i<form.ctnDetails().grdAppointmentOutcomeReasons().getRows().size();i++)
    {
        AppointmentOutcomeReasonVo apptOutcomeReason=getApptOutcomeReason((AppointmentOutcomeReason)form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).getValue(),collAppointmentOutcomeReasons);

        if (apptOutcomeReason!=null)
        {
            form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).setColSelect(apptOutcomeReason.getIsActive());    
        }   
    }
}
项目:openMAXIMS    文件:Logic.java   
private AppointmentOutcomeReasonVo getApptOutcomeReason(AppointmentOutcomeReason value, AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    for (int i=0;i<collAppointmentOutcomeReasons.size();i++)
    {
        if (collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getID()==value.getID())
            return collAppointmentOutcomeReasons.get(i);
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private void bindAppointmentOutcomeCombo(AppointmentOutcomeReasonVoCollection appointmentOutcomeReasons)
{
    form.cmbOutcomeReason().clear();

    if(appointmentOutcomeReasons == null)
        return;

    for(AppointmentOutcomeReasonVo reason : appointmentOutcomeReasons)
    {
        if(reason == null || reason.getIsActive() == null || Boolean.FALSE.equals(reason.getIsActive()))
            continue;

        form.cmbOutcomeReason().newRow(reason.getAppointmentOutcomeReason(), reason.getAppointmentOutcomeReason().getText());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateGridAppOutcomeReason(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    for (int i=0;i<form.ctnDetails().grdAppointmentOutcomeReasons().getRows().size();i++)
    {
        AppointmentOutcomeReasonVo apptOutcomeReason=getApptOutcomeReason((AppointmentOutcomeReason)form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).getValue(),collAppointmentOutcomeReasons);

        if (apptOutcomeReason!=null)
        {
            form.ctnDetails().grdAppointmentOutcomeReasons().getRows().get(i).setColSelect(apptOutcomeReason.getIsActive());    
        }   
    }
}
项目:openmaxims-linux    文件:Logic.java   
private AppointmentOutcomeReasonVo getApptOutcomeReason(AppointmentOutcomeReason value, AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    for (int i=0;i<collAppointmentOutcomeReasons.size();i++)
    {
        if (collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getID()==value.getID())
            return collAppointmentOutcomeReasons.get(i);
    }

    return null;
}