Java 类ims.admin.vo.lookups.AppointmentOutcomeReason 实例源码

项目: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;
}
项目:AvoinApotti    文件:Logic.java   
private void initializeGridAppointmentOutcomeReasonWithLookups()
{
    form.ctnDetails().grdAppointmentOutcomeReasons().getRows().clear();

    AppointmentOutcomeReasonCollection lookupCollection = (AppointmentOutcomeReasonCollection) domain.getLookupService().getLookupCollection(AppointmentOutcomeReason.TYPE_ID, AppointmentOutcomeReasonCollection.class, AppointmentOutcomeReason.class, false, false);

    for(int x = 0; x < lookupCollection.size(); x++)
    {
        addLookupRowToAppOutcomeReasonGrid(lookupCollection.get(x));
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addLookupRowToAppOutcomeReasonGrid(AppointmentOutcomeReason appointmentOutcomeReason)
{
    grdAppointmentOutcomeReasonsRow row = form.ctnDetails().grdAppointmentOutcomeReasons().getRows().newRow();

    row.setValue(appointmentOutcomeReason);
    row.setColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setTooltipForColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setColActive(appointmentOutcomeReason.isActive());
}
项目: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 initializeGridAppointmentOutcomeReasonWithLookups()
{
    form.ctnDetails().grdAppointmentOutcomeReasons().getRows().clear();

    AppointmentOutcomeReasonCollection lookupCollection = (AppointmentOutcomeReasonCollection) domain.getLookupService().getLookupCollection(AppointmentOutcomeReason.TYPE_ID, AppointmentOutcomeReasonCollection.class, AppointmentOutcomeReason.class, false, false);

    for(int x = 0; x < lookupCollection.size(); x++)
    {
        addLookupRowToAppOutcomeReasonGrid(lookupCollection.get(x));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addLookupRowToAppOutcomeReasonGrid(AppointmentOutcomeReason appointmentOutcomeReason) //WDEV-20319
{
    grdAppointmentOutcomeReasonsRow row = form.ctnDetails().grdAppointmentOutcomeReasons().getRows().newRow();

    row.setValue(appointmentOutcomeReason);
    row.setColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setTooltipForColAppointmentOutcomeReason(appointmentOutcomeReason.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 initializeGridAppointmentOutcomeReasonWithLookups()
{
    form.ctnDetails().grdAppointmentOutcomeReasons().getRows().clear();

    AppointmentOutcomeReasonCollection lookupCollection = (AppointmentOutcomeReasonCollection) domain.getLookupService().getLookupCollection(AppointmentOutcomeReason.TYPE_ID, AppointmentOutcomeReasonCollection.class, AppointmentOutcomeReason.class, false, false);

    for(int x = 0; x < lookupCollection.size(); x++)
    {
        addLookupRowToAppOutcomeReasonGrid(lookupCollection.get(x));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addLookupRowToAppOutcomeReasonGrid(AppointmentOutcomeReason appointmentOutcomeReason)
{
    grdAppointmentOutcomeReasonsRow row = form.ctnDetails().grdAppointmentOutcomeReasons().getRows().newRow();

    row.setValue(appointmentOutcomeReason);
    row.setColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setTooltipForColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setColActive(appointmentOutcomeReason.isActive());
}
项目: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;
}
项目:openmaxims-linux    文件:Logic.java   
private void initializeGridAppointmentOutcomeReasonWithLookups()
{
    form.ctnDetails().grdAppointmentOutcomeReasons().getRows().clear();

    AppointmentOutcomeReasonCollection lookupCollection = (AppointmentOutcomeReasonCollection) domain.getLookupService().getLookupCollection(AppointmentOutcomeReason.TYPE_ID, AppointmentOutcomeReasonCollection.class, AppointmentOutcomeReason.class, false, false);

    for(int x = 0; x < lookupCollection.size(); x++)
    {
        addLookupRowToAppOutcomeReasonGrid(lookupCollection.get(x));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addLookupRowToAppOutcomeReasonGrid(AppointmentOutcomeReason appointmentOutcomeReason)
{
    grdAppointmentOutcomeReasonsRow row = form.ctnDetails().grdAppointmentOutcomeReasons().getRows().newRow();

    row.setValue(appointmentOutcomeReason);
    row.setColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setTooltipForColAppointmentOutcomeReason(appointmentOutcomeReason.getText());
    row.setColActive(appointmentOutcomeReason.isActive());
}