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

项目:AvoinApotti    文件:Logic.java   
private String getAppOutcomeReasons(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    StringBuffer str=new StringBuffer("");
    for (int i=0;i < collAppointmentOutcomeReasons.size();i++) //wdev-18498
    {

        str.append(collAppointmentOutcomeReasons.get(i).getIsActive() ? collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getText() + "," : "");
    }

    if( str.length() > 0)   //wdev-18498
        return str.substring(0, str.length() - 1);
    else
        return "";
}
项目:openMAXIMS    文件:Logic.java   
private String getAppOutcomeReasons(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    StringBuffer str=new StringBuffer("");
    for (int i=0;i < collAppointmentOutcomeReasons.size();i++) //wdev-18498
    {

        str.append(collAppointmentOutcomeReasons.get(i).getIsActive() ? collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getText() + "," : "");
    }

    if( str.length() > 0)   //wdev-18498
        return str.substring(0, str.length() - 1);
    else
        return "";
}
项目:openMAXIMS    文件:Logic.java   
private String getAppOutcomeReasons(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    StringBuffer str=new StringBuffer("");
    for (int i=0;i < collAppointmentOutcomeReasons.size();i++) //wdev-18498
    {

        str.append(collAppointmentOutcomeReasons.get(i).getIsActive() ? collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getText() + "," : "");
    }

    if( str.length() > 0)   //wdev-18498
        return str.substring(0, str.length() - 1);
    else
        return "";
}
项目:openmaxims-linux    文件:Logic.java   
private String getAppOutcomeReasons(AppointmentOutcomeReasonVoCollection collAppointmentOutcomeReasons)
{
    if (collAppointmentOutcomeReasons==null || collAppointmentOutcomeReasons.size()==0)
        return null;

    StringBuffer str=new StringBuffer("");
    for (int i=0;i < collAppointmentOutcomeReasons.size();i++) //wdev-18498
    {

        str.append(collAppointmentOutcomeReasons.get(i).getIsActive() ? collAppointmentOutcomeReasons.get(i).getAppointmentOutcomeReason().getText() + "," : "");
    }

    if( str.length() > 0)   //wdev-18498
        return str.substring(0, str.length() - 1);
    else
        return "";
}
项目: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;
}