Java 类ims.clinical.vo.enums.SurgicalAuditRecoveryEvent 实例源码

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnEditClick() throws PresentationLogicException
{
    Object hcpUser = domain.getHcpLiteUser();
    if (!(hcpUser instanceof HcpLiteVo))
    {
        engine.showMessage("The current user is not an HCP!");
        return;
    }

    // Check SOE on EDIT
    if (form.getLocalContext().getcurrentSurgicalAuditOpDetail()!=null && form.getLocalContext().getcurrentSurgicalAuditOpDetail().getID_SurgicalAuditOperationDetailIsNotNull() && domain.isStale(form.getLocalContext().getcurrentSurgicalAuditOpDetail()))
    {   
        form.getLocalContext().setcurrentSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail(form.getLocalContext().getcurrentSurgicalAuditOpDetail()));
        populateScreenFromData(form.getLocalContext().getcurrentSurgicalAuditOpDetail().getRecovery());
    }
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.EDIT);
    form.fireCustomControlValueChanged();
    form.setMode(FormMode.EDIT);
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onCcRecoveryValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (SurgicalAuditRecoveryEvent.SAVE.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()) || SurgicalAuditRecoveryEvent.CANCEL.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
        open();
        return;
    }
    else if (SurgicalAuditRecoveryEvent.EDIT.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        populateRecordBrowser(form.getGlobalContext().Core.getCurrentCareContext());
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
    }

    FormMode recoveryMode = form.lyrSurgAudit().tabRecovery().ccRecovery().getMode();   
    form.setMode(recoveryMode);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnEditClick() throws PresentationLogicException
{
    Object hcpUser = domain.getHcpLiteUser();
    if (!(hcpUser instanceof HcpLiteVo))
    {
        engine.showMessage("The current user is not an HCP!");
        return;
    }

    // Check SOE on EDIT
    if (form.getLocalContext().getcurrentSurgicalAuditOpDetail()!=null && form.getLocalContext().getcurrentSurgicalAuditOpDetail().getID_SurgicalAuditOperationDetailIsNotNull() && domain.isStale(form.getLocalContext().getcurrentSurgicalAuditOpDetail()))
    {   
        form.getLocalContext().setcurrentSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail(form.getLocalContext().getcurrentSurgicalAuditOpDetail()));
        populateScreenFromData(form.getLocalContext().getcurrentSurgicalAuditOpDetail().getRecovery());
    }
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.EDIT);
    form.fireCustomControlValueChanged();
    form.setMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCcRecoveryValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (SurgicalAuditRecoveryEvent.SAVE.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()) || SurgicalAuditRecoveryEvent.CANCEL.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
        open();
        return;
    }
    else if (SurgicalAuditRecoveryEvent.EDIT.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        populateRecordBrowser(form.getGlobalContext().Core.getCurrentCareContext());
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
    }

    FormMode recoveryMode = form.lyrSurgAudit().tabRecovery().ccRecovery().getMode();   
    form.setMode(recoveryMode);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnEditClick() throws PresentationLogicException
{
    Object hcpUser = domain.getHcpLiteUser();
    if (!(hcpUser instanceof HcpLiteVo))
    {
        engine.showMessage("The current user is not an HCP!");
        return;
    }

    // Check SOE on EDIT
    if (form.getLocalContext().getcurrentSurgicalAuditOpDetail()!=null && form.getLocalContext().getcurrentSurgicalAuditOpDetail().getID_SurgicalAuditOperationDetailIsNotNull() && domain.isStale(form.getLocalContext().getcurrentSurgicalAuditOpDetail()))
    {   
        form.getLocalContext().setcurrentSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail(form.getLocalContext().getcurrentSurgicalAuditOpDetail()));
        populateScreenFromData(form.getLocalContext().getcurrentSurgicalAuditOpDetail().getRecovery());
    }
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.EDIT);
    form.fireCustomControlValueChanged();
    form.setMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCcRecoveryValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (SurgicalAuditRecoveryEvent.SAVE.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()) || SurgicalAuditRecoveryEvent.CANCEL.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
        open();
        return;
    }
    else if (SurgicalAuditRecoveryEvent.EDIT.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        populateRecordBrowser(form.getGlobalContext().Core.getCurrentCareContext());
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
    }

    FormMode recoveryMode = form.lyrSurgAudit().tabRecovery().ccRecovery().getMode();   
    form.setMode(recoveryMode);
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnEditClick() throws PresentationLogicException
{
    Object hcpUser = domain.getHcpLiteUser();
    if (!(hcpUser instanceof HcpLiteVo))
    {
        engine.showMessage("The current user is not an HCP!");
        return;
    }

    // Check SOE on EDIT
    if (form.getLocalContext().getcurrentSurgicalAuditOpDetail()!=null && form.getLocalContext().getcurrentSurgicalAuditOpDetail().getID_SurgicalAuditOperationDetailIsNotNull() && domain.isStale(form.getLocalContext().getcurrentSurgicalAuditOpDetail()))
    {   
        form.getLocalContext().setcurrentSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail(form.getLocalContext().getcurrentSurgicalAuditOpDetail()));
        populateScreenFromData(form.getLocalContext().getcurrentSurgicalAuditOpDetail().getRecovery());
    }
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.EDIT);
    form.fireCustomControlValueChanged();
    form.setMode(FormMode.EDIT);
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onCcRecoveryValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if (SurgicalAuditRecoveryEvent.SAVE.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()) || SurgicalAuditRecoveryEvent.CANCEL.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
        open();
        return;
    }
    else if (SurgicalAuditRecoveryEvent.EDIT.equals(form.lyrSurgAudit().tabRecovery().ccRecovery().getSelectedEvent()))
    {
        populateRecordBrowser(form.getGlobalContext().Core.getCurrentCareContext());
        form.lyrSurgAudit().tabRecovery().ccRecovery().resetSelectedEvent();
    }

    FormMode recoveryMode = form.lyrSurgAudit().tabRecovery().ccRecovery().getMode();   
    form.setMode(recoveryMode);
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnSaveClick() throws PresentationLogicException
{
    if (save())
    {
        form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.SAVE);
        form.fireCustomControlValueChanged();
    }

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnSaveClick() throws PresentationLogicException
{
    if (save())
    {
        form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.SAVE);
        form.fireCustomControlValueChanged();
    }

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnSaveClick() throws PresentationLogicException
{
    if (save())
    {
        form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.SAVE);
        form.fireCustomControlValueChanged();
    }

}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnSaveClick() throws PresentationLogicException
{
    if (save())
    {
        form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.SAVE);
        form.fireCustomControlValueChanged();
    }

}
项目:AvoinApotti    文件:Logic.java   
public ims.clinical.vo.enums.SurgicalAuditRecoveryEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnCancelClick() throws PresentationLogicException
{
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.CANCEL);
    form.fireCustomControlValueChanged();
}
项目:openMAXIMS    文件:Logic.java   
public ims.clinical.vo.enums.SurgicalAuditRecoveryEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnCancelClick() throws PresentationLogicException
{
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.CANCEL);
    form.fireCustomControlValueChanged();
}
项目:openMAXIMS    文件:Logic.java   
public ims.clinical.vo.enums.SurgicalAuditRecoveryEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnCancelClick() throws PresentationLogicException
{
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.CANCEL);
    form.fireCustomControlValueChanged();
}
项目:openmaxims-linux    文件:Logic.java   
public ims.clinical.vo.enums.SurgicalAuditRecoveryEvent getSelectedEvent()
{
    return form.getLocalContext().getselectedEvent();
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnCancelClick() throws PresentationLogicException
{
    form.getLocalContext().setselectedEvent(SurgicalAuditRecoveryEvent.CANCEL);
    form.fireCustomControlValueChanged();
}