Java 类ims.ocrr.vo.InvestigationVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void addRecord()
{
    form.getGlobalContext().OCRR.setCurrentInvestigation(null);

    if (form.cmbCategory().getValue() == null)
    {
        engine.showMessage("Please select a category !");
        return;
    }

    clearDetails();
    form.getLocalContext().setSelectedInvestigation(new InvestigationVo());

    updateControlsState(MODE_EDIT_DETAIL_RECORD);
    updateControlsState();
    loadStatusCombos(MODE_EDIT_DETAIL_RECORD);

    clearVisibleTabs(); //WDEV-16425

    // default parent colour and status
    form.lyrInvestigations().tabGeneralDet().cmbTestColor().setValue(form.cmbColor().getValue());
    form.lyrInvestigations().tabGeneralDet().cmbProviderService().clear();

    if (form.cmbStatus().getValue() != null && !form.cmbStatus().getValue().equals(PreActiveActiveInactiveStatus.INACTIVE))
        form.lyrInvestigations().tabGeneralDet().cmbTestStatus().setValue(form.cmbStatus().getValue());
    form.lyrInvestigations().showtabGeneralDet();
}
项目:AvoinApotti    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void addRecord()
{
    form.getGlobalContext().OCRR.setCurrentInvestigation(null);

    if (form.cmbCategory().getValue() == null)
    {
        engine.showMessage("Please select a category !");
        return;
    }

    clearDetails();
    form.getLocalContext().setSelectedInvestigation(new InvestigationVo());

    updateControlsState(MODE_EDIT_DETAIL_RECORD);
    updateControlsState();
    loadStatusCombos(MODE_EDIT_DETAIL_RECORD);

    clearVisibleTabs(); //WDEV-16425

    // default parent colour and status
    form.lyrInvestigations().tabGeneralDet().cmbTestColor().setValue(form.cmbColor().getValue());
    form.lyrInvestigations().tabGeneralDet().cmbProviderService().clear();

    if (form.cmbStatus().getValue() != null && !form.cmbStatus().getValue().equals(PreActiveActiveInactiveStatus.INACTIVE))
        form.lyrInvestigations().tabGeneralDet().cmbTestStatus().setValue(form.cmbStatus().getValue());
    form.lyrInvestigations().showtabGeneralDet();
}
项目:openMAXIMS    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void addRecord()
{
    form.getGlobalContext().OCRR.setCurrentInvestigation(null);

    if (form.cmbCategory().getValue() == null)
    {
        engine.showMessage("Please select a category !");
        return;
    }

    clearDetails();
    form.getLocalContext().setSelectedInvestigation(new InvestigationVo());

    updateControlsState(MODE_EDIT_DETAIL_RECORD);
    updateControlsState();
    loadStatusCombos(MODE_EDIT_DETAIL_RECORD);

    clearVisibleTabs(); //WDEV-16425

    // default parent colour and status
    form.lyrInvestigations().tabGeneralDet().cmbTestColor().setValue(form.cmbColor().getValue());
    form.lyrInvestigations().tabGeneralDet().cmbProviderService().clear();

    if (form.cmbStatus().getValue() != null && !form.cmbStatus().getValue().equals(PreActiveActiveInactiveStatus.INACTIVE))
        form.lyrInvestigations().tabGeneralDet().cmbTestStatus().setValue(form.cmbStatus().getValue());
    form.lyrInvestigations().showtabGeneralDet();
}
项目:openMAXIMS    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private void addRecord()
{
    form.getGlobalContext().OCRR.setCurrentInvestigation(null);

    if (form.cmbCategory().getValue() == null)
    {
        engine.showMessage("Please select a category !");
        return;
    }

    clearDetails();
    form.getLocalContext().setSelectedInvestigation(new InvestigationVo());

    updateControlsState(MODE_EDIT_DETAIL_RECORD);
    updateControlsState();
    loadStatusCombos(MODE_EDIT_DETAIL_RECORD);

    clearVisibleTabs(); //WDEV-16425

    // default parent colour and status
    form.lyrInvestigations().tabGeneralDet().cmbTestColor().setValue(form.cmbColor().getValue());
    form.lyrInvestigations().tabGeneralDet().cmbProviderService().clear();

    if (form.cmbStatus().getValue() != null && !form.cmbStatus().getValue().equals(PreActiveActiveInactiveStatus.INACTIVE))
        form.lyrInvestigations().tabGeneralDet().cmbTestStatus().setValue(form.cmbStatus().getValue());
    form.lyrInvestigations().showtabGeneralDet();
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:AvoinApotti    文件:TestEditImpl.java   
public InvestigationVo getInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();
    return InvestigationVoAssembler.create((Investigation) factory.getDomainObject(Investigation.class, idInvestigation));
}
项目:openMAXIMS    文件:TestEditImpl.java   
public InvestigationVo getInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();
    return InvestigationVoAssembler.create((Investigation) factory.getDomainObject(Investigation.class, idInvestigation));
}
项目:openMAXIMS    文件:TestEditImpl.java   
public InvestigationVo getInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();
    return InvestigationVoAssembler.create((Investigation) factory.getDomainObject(Investigation.class, idInvestigation));
}
项目:openmaxims-linux    文件:TestEditImpl.java   
public InvestigationVo getInvestigation(Integer idInvestigation)
{
    DomainFactory factory = getDomainFactory();
    return InvestigationVoAssembler.create((Investigation) factory.getDomainObject(Investigation.class, idInvestigation));
}