Java 类ims.core.vo.ModalityReportsVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateGrid(ModalityReportsVoCollection coll)
{
    form.grdList().getRows().clear();

    //WDEV-17781
    if (coll == null || coll.size() == 0)
    {
        engine.showMessage("No records found.");
        return;
    }

    for(ModalityReportsVo item : coll)
    {
        grdListRow row = form.grdList().getRows().newRow();

        row.setclmnModality(item.getModality().getServiceName());
        row.setclmnReport(item.getTemplate().getName());
        row.setclmnRecording(item.getSysInfo().getCreationUser());
        row.setclmnRecordingDate(item.getSysInfo().getCreationDateTime() != null ? item.getSysInfo().getCreationDateTime().toString() : "");
        row.setclmnUpdating(item.getSysInfo().getLastupdateUser());
        row.setclmnUpdatingDate(item.getSysInfo().getLastupdateDateTime() != null ? item.getSysInfo().getLastupdateDateTime().toString() : "");

        row.setValue(item);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGrid(ModalityReportsVoCollection coll)
{
    form.grdList().getRows().clear();

    //WDEV-17781
    if (coll == null || coll.size() == 0)
    {
        engine.showMessage("No records found.");
        return;
    }

    for(ModalityReportsVo item : coll)
    {
        grdListRow row = form.grdList().getRows().newRow();

        row.setclmnModality(item.getModality().getServiceName());
        row.setclmnReport(item.getTemplate().getName());
        row.setclmnRecording(item.getSysInfo().getCreationUser());
        row.setclmnRecordingDate(item.getSysInfo().getCreationDateTime() != null ? item.getSysInfo().getCreationDateTime().toString() : "");
        row.setclmnUpdating(item.getSysInfo().getLastupdateUser());
        row.setclmnUpdatingDate(item.getSysInfo().getLastupdateDateTime() != null ? item.getSysInfo().getLastupdateDateTime().toString() : "");

        row.setValue(item);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGrid(ModalityReportsVoCollection coll)
{
    form.grdList().getRows().clear();

    //WDEV-17781
    if (coll == null || coll.size() == 0)
    {
        engine.showMessage("No records found.");
        return;
    }

    for(ModalityReportsVo item : coll)
    {
        grdListRow row = form.grdList().getRows().newRow();

        row.setclmnModality(item.getModality().getServiceName());
        row.setclmnReport(item.getTemplate().getName());
        row.setclmnRecording(item.getSysInfo().getCreationUser());
        row.setclmnRecordingDate(item.getSysInfo().getCreationDateTime() != null ? item.getSysInfo().getCreationDateTime().toString() : "");
        row.setclmnUpdating(item.getSysInfo().getLastupdateUser());
        row.setclmnUpdatingDate(item.getSysInfo().getLastupdateDateTime() != null ? item.getSysInfo().getLastupdateDateTime().toString() : "");

        row.setValue(item);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateGrid(ModalityReportsVoCollection coll)
{
    form.grdList().getRows().clear();

    //WDEV-17781
    if (coll == null || coll.size() == 0)
    {
        engine.showMessage("No records found.");
        return;
    }

    for(ModalityReportsVo item : coll)
    {
        grdListRow row = form.grdList().getRows().newRow();

        row.setclmnModality(item.getModality().getServiceName());
        row.setclmnReport(item.getTemplate().getName());
        row.setclmnRecording(item.getSysInfo().getCreationUser());
        row.setclmnRecordingDate(item.getSysInfo().getCreationDateTime() != null ? item.getSysInfo().getCreationDateTime().toString() : "");
        row.setclmnUpdating(item.getSysInfo().getLastupdateUser());
        row.setclmnUpdatingDate(item.getSysInfo().getLastupdateDateTime() != null ? item.getSysInfo().getLastupdateDateTime().toString() : "");

        row.setValue(item);
    }
}
项目:AvoinApotti    文件:Logic.java   
protected void onBtnEditClick() throws ims.framework.exceptions.PresentationLogicException
{
    ModalityReportsVo val = form.grdList().getValue();

    if(val == null)
        return;

    form.getGlobalContext().Core.setModalityReport(val);
    engine.open(form.getForms().Core.ModalityReportDialog);
}
项目:AvoinApotti    文件:Logic.java   
private void enableControlButtons()
{
    boolean enable = form.grdList().getValue() instanceof ModalityReportsVo;

    form.btnEdit().setEnabled(enable);

    form.getContextMenus().Core.getReportsToModalityNEWItem().setVisible(true);
    form.getContextMenus().Core.getReportsToModalityEDITItem().setVisible(enable);
    form.getContextMenus().Core.getReportsToModalityREMOVEItem().setVisible(enable);
}
项目:openMAXIMS    文件:Logic.java   
protected void onBtnEditClick() throws ims.framework.exceptions.PresentationLogicException
{
    ModalityReportsVo val = form.grdList().getValue();

    if(val == null)
        return;

    form.getGlobalContext().Core.setModalityReport(val);
    engine.open(form.getForms().Core.ModalityReportDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void enableControlButtons()
{
    boolean enable = form.grdList().getValue() instanceof ModalityReportsVo;

    form.btnEdit().setEnabled(enable);

    form.getContextMenus().Core.getReportsToModalityNEWItem().setVisible(true);
    form.getContextMenus().Core.getReportsToModalityEDITItem().setVisible(enable);
    form.getContextMenus().Core.getReportsToModalityREMOVEItem().setVisible(enable);
}
项目:openMAXIMS    文件:Logic.java   
protected void onBtnEditClick() throws ims.framework.exceptions.PresentationLogicException
{
    ModalityReportsVo val = form.grdList().getValue();

    if(val == null)
        return;

    form.getGlobalContext().Core.setModalityReport(val);
    engine.open(form.getForms().Core.ModalityReportDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void enableControlButtons()
{
    boolean enable = form.grdList().getValue() instanceof ModalityReportsVo;

    form.btnEdit().setEnabled(enable);

    form.getContextMenus().Core.getReportsToModalityNEWItem().setVisible(true);
    form.getContextMenus().Core.getReportsToModalityEDITItem().setVisible(enable);
    form.getContextMenus().Core.getReportsToModalityREMOVEItem().setVisible(enable);
}
项目:openmaxims-linux    文件:Logic.java   
protected void onBtnEditClick() throws ims.framework.exceptions.PresentationLogicException
{
    ModalityReportsVo val = form.grdList().getValue();

    if(val == null)
        return;

    form.getGlobalContext().Core.setModalityReport(val);
    engine.open(form.getForms().Core.ModalityReportDialog);
}
项目:openmaxims-linux    文件:Logic.java   
private void enableControlButtons()
{
    boolean enable = form.grdList().getValue() instanceof ModalityReportsVo;

    form.btnEdit().setEnabled(enable);

    form.getContextMenus().Core.getReportsToModalityNEWItem().setVisible(true);
    form.getContextMenus().Core.getReportsToModalityEDITItem().setVisible(enable);
    form.getContextMenus().Core.getReportsToModalityREMOVEItem().setVisible(enable);
}