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

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnOKClick() throws ims.framework.exceptions.PresentationLogicException
{
    ReferralToSpecialtyCommentsVo commentForReferral = populateDataFromScreen();

    String[] errors = commentForReferral.validate();
    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return;
    }

    form.getGlobalContext().Emergency.setReferralToSpecialtyComments(commentForReferral);

    engine.close(DialogResult.OK);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnOKClick() throws ims.framework.exceptions.PresentationLogicException
{
    ReferralToSpecialtyCommentsVo commentForReferral = populateDataFromScreen();

    String[] errors = commentForReferral.validate();
    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return;
    }

    form.getGlobalContext().Emergency.setReferralToSpecialtyComments(commentForReferral);

    engine.close(DialogResult.OK);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnOKClick() throws ims.framework.exceptions.PresentationLogicException
{
    ReferralToSpecialtyCommentsVo commentForReferral = populateDataFromScreen();

    String[] errors = commentForReferral.validate();
    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return;
    }

    form.getGlobalContext().Emergency.setReferralToSpecialtyComments(commentForReferral);

    engine.close(DialogResult.OK);
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnOKClick() throws ims.framework.exceptions.PresentationLogicException
{
    ReferralToSpecialtyCommentsVo commentForReferral = populateDataFromScreen();

    String[] errors = commentForReferral.validate();
    if (errors != null && errors.length > 0)
    {
        engine.showErrors(errors);
        return;
    }

    form.getGlobalContext().Emergency.setReferralToSpecialtyComments(commentForReferral);

    engine.close(DialogResult.OK);
}
项目:AvoinApotti    文件:Logic.java   
private void updateCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{
    grdCommentsRow updateRow = form.grdComments().getSelectedRow();
    updateRow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    updateRow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    updateRow.setcolComments(referralComment.getComments());
    updateRow.setValue(referralComment);
}
项目:AvoinApotti    文件:Logic.java   
private void addCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{

    grdCommentsRow newrow = form.grdComments().getRows().newRow();

    newrow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    newrow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    newrow.setcolComments(referralComment.getComments());
    newrow.setValue(referralComment);
}
项目:AvoinApotti    文件:Logic.java   
private ReferralToSpecialtyCommentsVo populateDataFromScreen()
{
    ReferralToSpecialtyCommentsVo commentForReferral = new ReferralToSpecialtyCommentsVo();

    commentForReferral.setAuthoringInformation(form.ccAuthoring().getValue());
    commentForReferral.setComments(form.txtComments().getValue());

    return commentForReferral;
}
项目:openMAXIMS    文件:Logic.java   
private void updateCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{
    grdCommentsRow updateRow = form.grdComments().getSelectedRow();
    updateRow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    updateRow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    updateRow.setcolComments(referralComment.getComments());
    updateRow.setValue(referralComment);
}
项目:openMAXIMS    文件:Logic.java   
private void addCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{

    grdCommentsRow newrow = form.grdComments().getRows().newRow();

    newrow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    newrow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    newrow.setcolComments(referralComment.getComments());
    newrow.setValue(referralComment);
}
项目:openMAXIMS    文件:Logic.java   
private ReferralToSpecialtyCommentsVo populateDataFromScreen()
{
    ReferralToSpecialtyCommentsVo commentForReferral = new ReferralToSpecialtyCommentsVo();

    commentForReferral.setAuthoringInformation(form.ccAuthoring().getValue());
    commentForReferral.setComments(form.txtComments().getValue());

    return commentForReferral;
}
项目:openMAXIMS    文件:Logic.java   
private void updateCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{
    grdCommentsRow updateRow = form.grdComments().getSelectedRow();
    updateRow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    updateRow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    updateRow.setcolComments(referralComment.getComments());
    updateRow.setValue(referralComment);
}
项目:openMAXIMS    文件:Logic.java   
private void addCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{

    grdCommentsRow newrow = form.grdComments().getRows().newRow();

    newrow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    newrow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    newrow.setcolComments(referralComment.getComments());
    newrow.setValue(referralComment);
}
项目:openMAXIMS    文件:Logic.java   
private ReferralToSpecialtyCommentsVo populateDataFromScreen()
{
    ReferralToSpecialtyCommentsVo commentForReferral = new ReferralToSpecialtyCommentsVo();

    commentForReferral.setAuthoringInformation(form.ccAuthoring().getValue());
    commentForReferral.setComments(form.txtComments().getValue());

    return commentForReferral;
}
项目:openmaxims-linux    文件:Logic.java   
private void updateCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{
    grdCommentsRow updateRow = form.grdComments().getSelectedRow();
    updateRow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    updateRow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    updateRow.setcolComments(referralComment.getComments());
    updateRow.setValue(referralComment);
}
项目:openmaxims-linux    文件:Logic.java   
private void addCommentToReferral(ReferralToSpecialtyCommentsVo referralComment)
{

    grdCommentsRow newrow = form.grdComments().getRows().newRow();

    newrow.setcolAuthoringHCP(referralComment.getAuthoringInformation().getAuthoringHcp().toString());
    newrow.setcolDate(referralComment.getAuthoringInformation().getAuthoringDateTime().toString());
    newrow.setcolComments(referralComment.getComments());
    newrow.setValue(referralComment);
}
项目:openmaxims-linux    文件:Logic.java   
private ReferralToSpecialtyCommentsVo populateDataFromScreen()
{
    ReferralToSpecialtyCommentsVo commentForReferral = new ReferralToSpecialtyCommentsVo();

    commentForReferral.setAuthoringInformation(form.ccAuthoring().getValue());
    commentForReferral.setComments(form.txtComments().getValue());

    return commentForReferral;
}