Java 类ims.emergency.vo.WhiteBoardConfigVo 实例源码

项目:AvoinApotti    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackingAreaRef)
{
    if(locationRef == null || trackingAreaRef==null)
        throw new CodingRuntimeException("Can not get EDWhiteBoardConfig value on null locationID or nullAreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.eDLocation.id = :locationID and whiteBoardCfg.currentArea.id = :areaID  ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"locationID","areaID"}, new Object[] {locationRef.getID_Location(),trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void updateControlsState()
{
    WhiteBoardConfigVo whiteboarConfig =form.cmbEDLocation().getValue()!=null &&  form.cmbArea().getValue() != null ? domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()) : null;

    form.btnNew().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);
    form.btnNew().setEnabled(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);

    form.btnEdit().setVisible(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);
    form.btnEdit().setEnabled(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);

    form.chkComments().setEnabled(FormMode.EDIT.equals(form.getMode()) && form.cmbArea().getValue() != null);
    form.intRefreshInterval().setEnabled(FormMode.EDIT.equals(form.getMode()) && form.cmbArea().getValue() != null);

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_AssessmentsGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getRows().size()<5);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentUp());

    form.getContextMenus().Emergency.hideAllWhiteboardOtherActionsGridMenuMenuItems();
    form.getContextMenus().Emergency.getWhiteboardOtherActionsGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdOtherActions().getRows().size()<5);
    form.getContextMenus().Emergency.getWhiteboardOtherActionsGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdOtherActions().getValue()!=null);
    form.getContextMenus().Emergency.getWhiteboardOtherActionsGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdOtherActions().getValue()!=null);

}
项目:openMAXIMS    文件:PatientWhiteBoardEditAllImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByArea(TrackingAreaRefVo trackingAreaRef)
{
    if(trackingAreaRef==null)
        throw new CodingRuntimeException("Cannot get EDWhiteBoardConfig value on null AreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.currentArea.id = :areaID  and (whiteBoardCfg.isRIE is null or whiteBoardCfg.isRIE=0) ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"areaID"}, new Object[] {trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackingAreaRef)
{
    if(locationRef == null || trackingAreaRef==null)
        throw new CodingRuntimeException("Can not get EDWhiteBoardConfig value on null locationID or nullAreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.eDLocation.id = :locationID and whiteBoardCfg.currentArea.id = :areaID  ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"locationID","areaID"}, new Object[] {locationRef.getID_Location(),trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:openMAXIMS    文件:EDWhiteBoardNewDialogImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByArea(TrackingAreaRefVo trackingAreaRef)
{
    if(trackingAreaRef==null)
        throw new CodingRuntimeException("Cannot get EDWhiteBoardConfig value on null AreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.currentArea.id = :areaID  and (whiteBoardCfg.isRIE is null or whiteBoardCfg.isRIE=0) ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"areaID"}, new Object[] {trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackingAreaRef)
{
    if(locationRef == null || trackingAreaRef==null)
        throw new CodingRuntimeException("Can not get EDWhiteBoardConfig value on null locationID or nullAreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.eDLocation.id = :locationID and whiteBoardCfg.currentArea.id = :areaID  ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"locationID","areaID"}, new Object[] {locationRef.getID_Location(),trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:openmaxims-linux    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackingAreaRef)
{
    if(locationRef == null || trackingAreaRef==null)
        throw new CodingRuntimeException("Can not get EDWhiteBoardConfig value on null locationID or nullAreaID.");

    StringBuffer hql = new StringBuffer();
    hql.append("select whiteBoardCfg from WhiteBoardConfig as whiteBoardCfg ");
    hql.append("where whiteBoardCfg.eDLocation.id = :locationID and whiteBoardCfg.currentArea.id = :areaID  ");

    DomainFactory factory = getDomainFactory();
    List<?> list = factory.find(hql.toString(), new String[] {"locationID","areaID"}, new Object[] {locationRef.getID_Location(),trackingAreaRef.getID_TrackingArea()});

    if (list!=null && list.size()>0)
    {
        return WhiteBoardConfigVoAssembler.createWhiteBoardConfigVoCollectionFromWhiteBoardConfig(list).get(0);
    }
    return null;
}
项目:AvoinApotti    文件:Logic.java   
private void updateControlsState()
{
    WhiteBoardConfigVo whiteboarConfig =form.cmbEDLocation().getValue()!=null &&  form.cmbArea().getValue() != null ? domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()) : null;

    form.btnNew().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);
    form.btnNew().setEnabled(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);

    form.btnEdit().setVisible(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);
    form.btnEdit().setEnabled(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);

    form.btnPreview().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && form.getLocalContext().getselectedWhiteBoardConfigIsNotNull());

    form.chkComments().setEnabled(FormMode.EDIT.equals(form.getMode()) && form.cmbArea().getValue() != null);

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_AssessmentsGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentUp());

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_ConfigQuestGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentUp());
}
项目:AvoinApotti    文件:Logic.java   
private boolean save()
{
    WhiteBoardConfigVo whiteBoardConfigToSave=populateDataFromScreen(form.getLocalContext().getselectedWhiteBoardConfig());
    WhiteBoardConfigVo whiteBoardConfigExistent = domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue());

    String[] errors = whiteBoardConfigToSave.validate();

    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    // Condition to create only one WhiteBoardConfiguration Per Area
    if (whiteBoardConfigExistent != null && form.getLocalContext().getselectedWhiteBoardConfig() == null)
    {
        engine.showMessage("A WhiteBoard Configuration for the selected Area already exist. The screen will be refreshed");
        form.getLocalContext().setselectedWhiteBoardConfig(whiteBoardConfigExistent);
        open();
        return false;
    }

    try
    {
        form.getLocalContext().setselectedWhiteBoardConfig(domain.save(whiteBoardConfigToSave));
    }
    catch (StaleObjectException e)
    {

        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        form.getLocalContext().setselectedWhiteBoardConfig(domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()));
        open();
        return false;
    }

    return true;
}
项目:AvoinApotti    文件:Logic.java   
private void populateInstanceFromData(WhiteBoardConfigVo whiteBoardConfig)
{
    clearInstanceControls();

    if (whiteBoardConfig==null)
        return;

    populateAssessmentsGrid(whiteBoardConfig.getAssessments());
    populateFixedQuestionsGrid(whiteBoardConfig);
    populateConfigurableQuestionsGrid(whiteBoardConfig.getOtherQuestions());
    form.chkComments().setValue(whiteBoardConfig.getComments());

}
项目:AvoinApotti    文件:Logic.java   
private void populateFixedQuestionsGrid(WhiteBoardConfigVo whiteBoardConfig)
{
    form.grdFixedQuestions().getRowByValue(ROW_MEDS_GIVEN).setcolSelect(whiteBoardConfig.getMedsGiven());
    form.grdFixedQuestions().getRowByValue(ROW_OBS_REQUIRED).setcolSelect(whiteBoardConfig.getObsTaken());
    form.grdFixedQuestions().getRowByValue(ROW_ECG).setcolSelect(whiteBoardConfig.getECG());
    form.grdFixedQuestions().getRowByValue(ROW_NPO).setcolSelect(whiteBoardConfig.getNPO());
    form.grdFixedQuestions().getRowByValue(ROW_ISOLATION).setcolSelect(whiteBoardConfig.getIsolation());
}
项目:AvoinApotti    文件:Logic.java   
private void addFixedQuestions(DynamicGridRow row, WhiteBoardConfigVo whiteBoardConfig)
{
    if (whiteBoardConfig.getObsTaken())
    {
    DynamicGridCell cellObs = row.getCells().newCell(getColumnByIdentifier(COLUMN_OBS_REQUIRED), DynamicCellType.ENUMERATION);
    populateCellCombo(cellObs);
    }

    if (whiteBoardConfig.getMedsGiven())
    {
    DynamicGridCell cellMeds = row.getCells().newCell(getColumnByIdentifier(COLUMN_MEDS_GIVEN), DynamicCellType.ENUMERATION);
    populateCellCombo(cellMeds);
    }

    if (whiteBoardConfig.getECG())
    {
    DynamicGridCell cellECG = row.getCells().newCell(getColumnByIdentifier(COLUMN_ECG), DynamicCellType.BOOL);
    cellECG.setValue(null);
    cellECG.setAutoPostBack(true);
    cellECG.setReadOnly(false);
    }

    if (whiteBoardConfig.getNPO())
    {
    DynamicGridCell cellNPO = row.getCells().newCell(getColumnByIdentifier(COLUMN_NPO), DynamicCellType.BOOL);
    cellNPO.setValue(null);
    cellNPO.setAutoPostBack(true);
    cellNPO.setReadOnly(false);
    }

    if (whiteBoardConfig.getIsolation())
    {
    DynamicGridCell cellIsolation = row.getCells().newCell(getColumnByIdentifier(COLUMN_ISOLATION), DynamicCellType.BOOL);
    cellIsolation.setValue(null);
    cellIsolation.setAutoPostBack(true);
    cellIsolation.setReadOnly(false);
    }

}
项目:AvoinApotti    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo save(WhiteBoardConfigVo edWhiteBoardToSave) throws StaleObjectException
{
    if (edWhiteBoardToSave == null)
        throw new CodingRuntimeException("Cannot save null WhiteBoardConfigVo ");

    if (!edWhiteBoardToSave.isValidated())
        throw new CodingRuntimeException("WhiteBoardConfigVo not Validated");

    DomainFactory factory = getDomainFactory();

    WhiteBoardConfig domainWhiateBoardConfig = WhiteBoardConfigVoAssembler.extractWhiteBoardConfig(factory, edWhiteBoardToSave);
    factory.save(domainWhiateBoardConfig);

    return WhiteBoardConfigVoAssembler.create(domainWhiateBoardConfig);
}
项目:openMAXIMS    文件:Logic.java   
private void populateActionsDynGridInitially(DynamicGrid dyngrdActions, WhiteBoardConfigVo whiteBoardConfig)
{
    dyngrdActions.getRows().clear();

    if (whiteBoardConfig==null)
        return;

    for (int i=0;whiteBoardConfig.getSelectedActions()!=null && i<whiteBoardConfig.getSelectedActions().size();i++)
    {
        addRowToActionsDyngrd(dyngrdActions,whiteBoardConfig.getSelectedActions().get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateAssessmentsGrid(WhiteBoardConfigVo whiteBoardConfig)
{
    form.grdAssessments().getRows().clear();
    if (whiteBoardConfig==null)
        return;

    for (int i=0;whiteBoardConfig.getAssessments()!=null && i<whiteBoardConfig.getAssessments().size();i++)
    {
        addRowToAssessmentsGrid(whiteBoardConfig.getAssessments().get(i));
    }

}
项目:openMAXIMS    文件:Logic.java   
private boolean save()
{
    WhiteBoardConfigVo whiteBoardConfigToSave=populateDataFromScreen(form.getLocalContext().getselectedWhiteBoardConfig());
    WhiteBoardConfigVo whiteBoardConfigExistent = domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue());

    String[] errors = whiteBoardConfigToSave.validate();

    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    // Condition to create only one WhiteBoardConfiguration Per Area
    if (whiteBoardConfigExistent != null && whiteBoardConfigToSave.getID_WhiteBoardConfig()==null)
    {
        engine.showMessage("A WhiteBoard Configuration for the selected Area already exist. The screen will be refreshed");
        form.getLocalContext().setselectedWhiteBoardConfig(whiteBoardConfigExistent);
        open();
        return false;
    }

    try
    {
        form.getLocalContext().setselectedWhiteBoardConfig(domain.save(whiteBoardConfigToSave));
    }
    catch (StaleObjectException e)
    {

        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        form.getLocalContext().setselectedWhiteBoardConfig(domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()));
        open();
        return false;
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void populateInstanceFromData(WhiteBoardConfigVo whiteBoardConfig)
{
    clearInstanceControls();

    if (whiteBoardConfig==null)
        return;

    populateAssessmentsGrid(whiteBoardConfig.getAssessments());
    populateOtherActionsGrid(whiteBoardConfig.getSelectedActions());

    form.chkComments().setValue(whiteBoardConfig.getComments());
    form.intRefreshInterval().setValue(whiteBoardConfig.getRefreshInterval());

}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo save(WhiteBoardConfigVo edWhiteBoardToSave) throws StaleObjectException
{
    if (edWhiteBoardToSave == null)
        throw new CodingRuntimeException("Cannot save null WhiteBoardConfigVo ");

    if (!edWhiteBoardToSave.isValidated())
        throw new CodingRuntimeException("WhiteBoardConfigVo not Validated");

    DomainFactory factory = getDomainFactory();

    WhiteBoardConfig domainWhiateBoardConfig = WhiteBoardConfigVoAssembler.extractWhiteBoardConfig(factory, edWhiteBoardToSave);
    factory.save(domainWhiateBoardConfig);

    return WhiteBoardConfigVoAssembler.create(domainWhiateBoardConfig);
}
项目:openMAXIMS    文件:Logic.java   
private void updateControlsState()
{
    WhiteBoardConfigVo whiteboarConfig =form.cmbEDLocation().getValue()!=null &&  form.cmbArea().getValue() != null ? domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()) : null;

    form.btnNew().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);
    form.btnNew().setEnabled(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);

    form.btnEdit().setVisible(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);
    form.btnEdit().setEnabled(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);

    form.btnPreview().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && form.getLocalContext().getselectedWhiteBoardConfigIsNotNull());

    form.chkComments().setEnabled(FormMode.EDIT.equals(form.getMode()) && form.cmbArea().getValue() != null);

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_AssessmentsGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentUp());

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_ConfigQuestGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentUp());
}
项目:openMAXIMS    文件:Logic.java   
private boolean save()
{
    WhiteBoardConfigVo whiteBoardConfigToSave=populateDataFromScreen(form.getLocalContext().getselectedWhiteBoardConfig());
    WhiteBoardConfigVo whiteBoardConfigExistent = domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue());

    String[] errors = whiteBoardConfigToSave.validate();

    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    // Condition to create only one WhiteBoardConfiguration Per Area
    if (whiteBoardConfigExistent != null && form.getLocalContext().getselectedWhiteBoardConfig() == null)
    {
        engine.showMessage("A WhiteBoard Configuration for the selected Area already exist. The screen will be refreshed");
        form.getLocalContext().setselectedWhiteBoardConfig(whiteBoardConfigExistent);
        open();
        return false;
    }

    try
    {
        form.getLocalContext().setselectedWhiteBoardConfig(domain.save(whiteBoardConfigToSave));
    }
    catch (StaleObjectException e)
    {

        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        form.getLocalContext().setselectedWhiteBoardConfig(domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()));
        open();
        return false;
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void populateInstanceFromData(WhiteBoardConfigVo whiteBoardConfig)
{
    clearInstanceControls();

    if (whiteBoardConfig==null)
        return;

    populateAssessmentsGrid(whiteBoardConfig.getAssessments());
    populateFixedQuestionsGrid(whiteBoardConfig);
    populateConfigurableQuestionsGrid(whiteBoardConfig.getOtherQuestions());
    form.chkComments().setValue(whiteBoardConfig.getComments());

}
项目:openMAXIMS    文件:Logic.java   
private void populateFixedQuestionsGrid(WhiteBoardConfigVo whiteBoardConfig)
{
    form.grdFixedQuestions().getRowByValue(ROW_MEDS_GIVEN).setcolSelect(whiteBoardConfig.getMedsGiven());
    form.grdFixedQuestions().getRowByValue(ROW_OBS_REQUIRED).setcolSelect(whiteBoardConfig.getObsTaken());
    form.grdFixedQuestions().getRowByValue(ROW_ECG).setcolSelect(whiteBoardConfig.getECG());
    form.grdFixedQuestions().getRowByValue(ROW_NPO).setcolSelect(whiteBoardConfig.getNPO());
    form.grdFixedQuestions().getRowByValue(ROW_ISOLATION).setcolSelect(whiteBoardConfig.getIsolation());
}
项目:openMAXIMS    文件:Logic.java   
private void addFixedQuestions(DynamicGridRow row, WhiteBoardConfigVo whiteBoardConfig)
{
    if (whiteBoardConfig.getObsTaken())
    {
    DynamicGridCell cellObs = row.getCells().newCell(getColumnByIdentifier(COLUMN_OBS_REQUIRED), DynamicCellType.ENUMERATION);
    populateCellCombo(cellObs);
    }

    if (whiteBoardConfig.getMedsGiven())
    {
    DynamicGridCell cellMeds = row.getCells().newCell(getColumnByIdentifier(COLUMN_MEDS_GIVEN), DynamicCellType.ENUMERATION);
    populateCellCombo(cellMeds);
    }

    if (whiteBoardConfig.getECG())
    {
    DynamicGridCell cellECG = row.getCells().newCell(getColumnByIdentifier(COLUMN_ECG), DynamicCellType.BOOL);
    cellECG.setValue(null);
    cellECG.setAutoPostBack(true);
    cellECG.setReadOnly(false);
    }

    if (whiteBoardConfig.getNPO())
    {
    DynamicGridCell cellNPO = row.getCells().newCell(getColumnByIdentifier(COLUMN_NPO), DynamicCellType.BOOL);
    cellNPO.setValue(null);
    cellNPO.setAutoPostBack(true);
    cellNPO.setReadOnly(false);
    }

    if (whiteBoardConfig.getIsolation())
    {
    DynamicGridCell cellIsolation = row.getCells().newCell(getColumnByIdentifier(COLUMN_ISOLATION), DynamicCellType.BOOL);
    cellIsolation.setValue(null);
    cellIsolation.setAutoPostBack(true);
    cellIsolation.setReadOnly(false);
    }

}
项目:openMAXIMS    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo save(WhiteBoardConfigVo edWhiteBoardToSave) throws StaleObjectException
{
    if (edWhiteBoardToSave == null)
        throw new CodingRuntimeException("Cannot save null WhiteBoardConfigVo ");

    if (!edWhiteBoardToSave.isValidated())
        throw new CodingRuntimeException("WhiteBoardConfigVo not Validated");

    DomainFactory factory = getDomainFactory();

    WhiteBoardConfig domainWhiateBoardConfig = WhiteBoardConfigVoAssembler.extractWhiteBoardConfig(factory, edWhiteBoardToSave);
    factory.save(domainWhiateBoardConfig);

    return WhiteBoardConfigVoAssembler.create(domainWhiateBoardConfig);
}
项目:openmaxims-linux    文件:Logic.java   
private void updateControlsState()
{
    WhiteBoardConfigVo whiteboarConfig =form.cmbEDLocation().getValue()!=null &&  form.cmbArea().getValue() != null ? domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()) : null;

    form.btnNew().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);
    form.btnNew().setEnabled(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && whiteboarConfig == null);

    form.btnEdit().setVisible(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);
    form.btnEdit().setEnabled(FormMode.VIEW.equals(form.getMode()) && !form.btnNew().isVisible() && form.cmbArea().getValue() != null);

    form.btnPreview().setVisible(FormMode.VIEW.equals(form.getMode()) && form.cmbArea().getValue() != null && form.getLocalContext().getselectedWhiteBoardConfigIsNotNull());

    form.chkComments().setEnabled(FormMode.EDIT.equals(form.getMode()) && form.cmbArea().getValue() != null);

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_AssessmentsGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_AssessmentsGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdAssessments().getValue()!=null && form.grdAssessments().canMoveCurrentUp());

    form.getContextMenus().Emergency.hideAllEDWhiteboardConfig_ConfigQuestGridMenuMenuItems();
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuADDItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getRows().size()<8);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuEDITItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuREMOVEItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null);
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_DOWNItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentDown());
    form.getContextMenus().Emergency.getEDWhiteboardConfig_ConfigQuestGridMenuMOVE_UPItem().setVisible(FormMode.EDIT.equals(form.getMode()) && form.grdConfigurableQuestions().getValue()!=null && form.grdConfigurableQuestions().canMoveCurrentUp());
}
项目:openmaxims-linux    文件:Logic.java   
private boolean save()
{
    WhiteBoardConfigVo whiteBoardConfigToSave=populateDataFromScreen(form.getLocalContext().getselectedWhiteBoardConfig());
    WhiteBoardConfigVo whiteBoardConfigExistent = domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue());

    String[] errors = whiteBoardConfigToSave.validate();

    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return false;
    }

    // Condition to create only one WhiteBoardConfiguration Per Area
    if (whiteBoardConfigExistent != null && form.getLocalContext().getselectedWhiteBoardConfig() == null)
    {
        engine.showMessage("A WhiteBoard Configuration for the selected Area already exist. The screen will be refreshed");
        form.getLocalContext().setselectedWhiteBoardConfig(whiteBoardConfigExistent);
        open();
        return false;
    }

    try
    {
        form.getLocalContext().setselectedWhiteBoardConfig(domain.save(whiteBoardConfigToSave));
    }
    catch (StaleObjectException e)
    {

        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        form.getLocalContext().setselectedWhiteBoardConfig(domain.getEDWhiteBoardConfigByLocation(form.cmbEDLocation().getValue(),form.cmbArea().getValue()));
        open();
        return false;
    }

    return true;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateInstanceFromData(WhiteBoardConfigVo whiteBoardConfig)
{
    clearInstanceControls();

    if (whiteBoardConfig==null)
        return;

    populateAssessmentsGrid(whiteBoardConfig.getAssessments());
    populateFixedQuestionsGrid(whiteBoardConfig);
    populateConfigurableQuestionsGrid(whiteBoardConfig.getOtherQuestions());
    form.chkComments().setValue(whiteBoardConfig.getComments());

}
项目:openmaxims-linux    文件:Logic.java   
private void populateFixedQuestionsGrid(WhiteBoardConfigVo whiteBoardConfig)
{
    form.grdFixedQuestions().getRowByValue(ROW_MEDS_GIVEN).setcolSelect(whiteBoardConfig.getMedsGiven());
    form.grdFixedQuestions().getRowByValue(ROW_OBS_REQUIRED).setcolSelect(whiteBoardConfig.getObsTaken());
    form.grdFixedQuestions().getRowByValue(ROW_ECG).setcolSelect(whiteBoardConfig.getECG());
    form.grdFixedQuestions().getRowByValue(ROW_NPO).setcolSelect(whiteBoardConfig.getNPO());
    form.grdFixedQuestions().getRowByValue(ROW_ISOLATION).setcolSelect(whiteBoardConfig.getIsolation());
}
项目:openmaxims-linux    文件:Logic.java   
private void addFixedQuestions(DynamicGridRow row, WhiteBoardConfigVo whiteBoardConfig)
{
    if (whiteBoardConfig.getObsTaken())
    {
    DynamicGridCell cellObs = row.getCells().newCell(getColumnByIdentifier(COLUMN_OBS_REQUIRED), DynamicCellType.ENUMERATION);
    populateCellCombo(cellObs);
    }

    if (whiteBoardConfig.getMedsGiven())
    {
    DynamicGridCell cellMeds = row.getCells().newCell(getColumnByIdentifier(COLUMN_MEDS_GIVEN), DynamicCellType.ENUMERATION);
    populateCellCombo(cellMeds);
    }

    if (whiteBoardConfig.getECG())
    {
    DynamicGridCell cellECG = row.getCells().newCell(getColumnByIdentifier(COLUMN_ECG), DynamicCellType.BOOL);
    cellECG.setValue(null);
    cellECG.setAutoPostBack(true);
    cellECG.setReadOnly(false);
    }

    if (whiteBoardConfig.getNPO())
    {
    DynamicGridCell cellNPO = row.getCells().newCell(getColumnByIdentifier(COLUMN_NPO), DynamicCellType.BOOL);
    cellNPO.setValue(null);
    cellNPO.setAutoPostBack(true);
    cellNPO.setReadOnly(false);
    }

    if (whiteBoardConfig.getIsolation())
    {
    DynamicGridCell cellIsolation = row.getCells().newCell(getColumnByIdentifier(COLUMN_ISOLATION), DynamicCellType.BOOL);
    cellIsolation.setValue(null);
    cellIsolation.setAutoPostBack(true);
    cellIsolation.setReadOnly(false);
    }

}
项目:openmaxims-linux    文件:EDWhiteboardConfigurationImpl.java   
public WhiteBoardConfigVo save(WhiteBoardConfigVo edWhiteBoardToSave) throws StaleObjectException
{
    if (edWhiteBoardToSave == null)
        throw new CodingRuntimeException("Cannot save null WhiteBoardConfigVo ");

    if (!edWhiteBoardToSave.isValidated())
        throw new CodingRuntimeException("WhiteBoardConfigVo not Validated");

    DomainFactory factory = getDomainFactory();

    WhiteBoardConfig domainWhiateBoardConfig = WhiteBoardConfigVoAssembler.extractWhiteBoardConfig(factory, edWhiteBoardToSave);
    factory.save(domainWhiateBoardConfig);

    return WhiteBoardConfigVoAssembler.create(domainWhiateBoardConfig);
}
项目:AvoinApotti    文件:Logic.java   
private void initializeWithFixedQuestions(WhiteBoardConfigVo whiteBoardConfig)
{
    DynamicGridColumn column;
    if (whiteBoardConfig.getMedsGiven())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Meds Given",COLUMN_MEDS_GIVEN);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getObsTaken())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Obs Required",COLUMN_OBS_REQUIRED);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getECG())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("ECG",COLUMN_ECG);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getNPO())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("NPO",COLUMN_NPO);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getIsolation())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Isolation",COLUMN_ISOLATION);
        column.setWidth(65);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }
}
项目:AvoinApotti    文件:ImportWhiteboardConfigImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackinAreaRef)
{
    EDWhiteboardConfiguration impl = (EDWhiteboardConfiguration)getDomainImpl(EDWhiteboardConfigurationImpl.class);
    return impl.getEDWhiteBoardConfigByLocation(locationRef,trackinAreaRef);
}
项目:openMAXIMS    文件:ImportWhiteboardConfigImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackinAreaRef)
{
    EDWhiteboardConfiguration impl = (EDWhiteboardConfiguration)getDomainImpl(EDWhiteboardConfigurationImpl.class);
    return impl.getEDWhiteBoardConfigByLocation(locationRef,trackinAreaRef);
}
项目:openMAXIMS    文件:Logic.java   
private void initializeWithFixedQuestions(WhiteBoardConfigVo whiteBoardConfig)
{
    DynamicGridColumn column;
    if (whiteBoardConfig.getMedsGiven())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Meds Given",COLUMN_MEDS_GIVEN);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getObsTaken())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Obs Required",COLUMN_OBS_REQUIRED);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getECG())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("ECG",COLUMN_ECG);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getNPO())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("NPO",COLUMN_NPO);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getIsolation())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Isolation",COLUMN_ISOLATION);
        column.setWidth(65);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }
}
项目:openMAXIMS    文件:ImportWhiteboardConfigImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackinAreaRef)
{
    EDWhiteboardConfiguration impl = (EDWhiteboardConfiguration)getDomainImpl(EDWhiteboardConfigurationImpl.class);
    return impl.getEDWhiteBoardConfigByLocation(locationRef,trackinAreaRef);
}
项目:openmaxims-linux    文件:Logic.java   
private void initializeWithFixedQuestions(WhiteBoardConfigVo whiteBoardConfig)
{
    DynamicGridColumn column;
    if (whiteBoardConfig.getMedsGiven())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Meds Given",COLUMN_MEDS_GIVEN);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getObsTaken())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Obs Required",COLUMN_OBS_REQUIRED);
        column.setWidth(100);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getECG())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("ECG",COLUMN_ECG);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getNPO())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("NPO",COLUMN_NPO);
        column.setWidth(35);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }

    if (whiteBoardConfig.getIsolation())
    {
        column = form.dyngrdWhiteBoard().getColumns().newColumn("Isolation",COLUMN_ISOLATION);
        column.setWidth(65);
        column.setAlignment(Alignment.LEFT);
        column.setVerticalAlignment(VerticalAlignment.MIDDLE);
        column.setHeaderAlignment(Alignment.LEFT);
    }
}
项目:openmaxims-linux    文件:ImportWhiteboardConfigImpl.java   
public WhiteBoardConfigVo getEDWhiteBoardConfigByLocation(LocationRefVo locationRef, TrackingAreaRefVo trackinAreaRef)
{
    EDWhiteboardConfiguration impl = (EDWhiteboardConfiguration)getDomainImpl(EDWhiteboardConfigurationImpl.class);
    return impl.getEDWhiteBoardConfigByLocation(locationRef,trackinAreaRef);
}
项目:openMAXIMS    文件:Logic.java   
private void addFixedQuestions(DynamicGridRow row, WhiteBoardConfigVo whiteBoardConfig)
{


}