Java 类ims.nursing.vo.ClinicalNotesViewFilterVo 实例源码

项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{
    //wdev-10788
    if(form.getGlobalContext().Nursing.getClinicalNotesViewFilterIsNotNull())
    {
        ClinicalNotesViewFilterVo tempVo = form.getGlobalContext().Nursing.getClinicalNotesViewFilter();
        form.chkActiveOnly().setValue(tempVo.getActive());
        form.dateFrom().setValue(tempVo.getFromDate());
        form.dateTo().setValue(tempVo.getToDate());

    }
    else    //wdev-10788
    {

        form.chkActiveOnly().setValue(true);
        Date lastMonth = new Date();
        lastMonth.setMonth(lastMonth.getMonth() - 1);
        form.dateFrom().setValue(lastMonth);
        form.dateTo().setValue(new Date());
    }

    if (domain.getHcpLiteUser() == null)//WDEV-15037
    {
        form.bNew().setEnabled(false);
    }
    else
    {
        form.bNew().setEnabled(true);
    }

    listNotes();

    setVisibilityForLinkCarePlan();
}
项目:AvoinApotti    文件:Logic.java   
private void refreshSearchCriteriaFilter()
{
    ClinicalNotesViewFilterVo tempVo = new ClinicalNotesViewFilterVo();
    tempVo.setActive(form.chkActiveOnly().getValue());
    tempVo.setFromDate(form.dateFrom().getValue());
    tempVo.setToDate(form.dateTo().getValue());
    form.getGlobalContext().Nursing.setClinicalNotesViewFilter(tempVo);

}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{
    //wdev-10788
    if(form.getGlobalContext().Nursing.getClinicalNotesViewFilterIsNotNull())
    {
        ClinicalNotesViewFilterVo tempVo = form.getGlobalContext().Nursing.getClinicalNotesViewFilter();
        form.chkActiveOnly().setValue(tempVo.getActive());
        form.dateFrom().setValue(tempVo.getFromDate());
        form.dateTo().setValue(tempVo.getToDate());

    }
    else    //wdev-10788
    {

        form.chkActiveOnly().setValue(true);
        Date lastMonth = new Date();
        lastMonth.setMonth(lastMonth.getMonth() - 1);
        form.dateFrom().setValue(lastMonth);
        form.dateTo().setValue(new Date());
    }

    if (domain.getHcpLiteUser() == null)//WDEV-15037
    {
        form.bNew().setEnabled(false);
    }
    else
    {
        form.bNew().setEnabled(true);
    }

    listNotes();

    setVisibilityForLinkCarePlan();
}
项目:openMAXIMS    文件:Logic.java   
private void refreshSearchCriteriaFilter()
{
    ClinicalNotesViewFilterVo tempVo = new ClinicalNotesViewFilterVo();
    tempVo.setActive(form.chkActiveOnly().getValue());
    tempVo.setFromDate(form.dateFrom().getValue());
    tempVo.setToDate(form.dateTo().getValue());
    form.getGlobalContext().Nursing.setClinicalNotesViewFilter(tempVo);

}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{
    //wdev-10788
    if(form.getGlobalContext().Nursing.getClinicalNotesViewFilterIsNotNull())
    {
        ClinicalNotesViewFilterVo tempVo = form.getGlobalContext().Nursing.getClinicalNotesViewFilter();
        form.chkActiveOnly().setValue(tempVo.getActive());
        form.dateFrom().setValue(tempVo.getFromDate());
        form.dateTo().setValue(tempVo.getToDate());

    }
    else    //wdev-10788
    {

        form.chkActiveOnly().setValue(true);
        Date lastMonth = new Date();
        lastMonth.setMonth(lastMonth.getMonth() - 1);
        form.dateFrom().setValue(lastMonth);
        form.dateTo().setValue(new Date());
    }

    if (domain.getHcpLiteUser() == null)//WDEV-15037
    {
        form.bNew().setEnabled(false);
    }
    else
    {
        form.bNew().setEnabled(true);
    }

    listNotes();

    setVisibilityForLinkCarePlan();
}
项目:openMAXIMS    文件:Logic.java   
private void refreshSearchCriteriaFilter()
{
    ClinicalNotesViewFilterVo tempVo = new ClinicalNotesViewFilterVo();
    tempVo.setActive(form.chkActiveOnly().getValue());
    tempVo.setFromDate(form.dateFrom().getValue());
    tempVo.setToDate(form.dateTo().getValue());
    form.getGlobalContext().Nursing.setClinicalNotesViewFilter(tempVo);

}
项目:openmaxims-linux    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{
    //wdev-10788
    if(form.getGlobalContext().Nursing.getClinicalNotesViewFilterIsNotNull())
    {
        ClinicalNotesViewFilterVo tempVo = form.getGlobalContext().Nursing.getClinicalNotesViewFilter();
        form.chkActiveOnly().setValue(tempVo.getActive());
        form.dateFrom().setValue(tempVo.getFromDate());
        form.dateTo().setValue(tempVo.getToDate());

    }
    else    //wdev-10788
    {

        form.chkActiveOnly().setValue(true);
        Date lastMonth = new Date();
        lastMonth.setMonth(lastMonth.getMonth() - 1);
        form.dateFrom().setValue(lastMonth);
        form.dateTo().setValue(new Date());
    }

    if (domain.getHcpLiteUser() == null)//WDEV-15037
    {
        form.bNew().setEnabled(false);
    }
    else
    {
        form.bNew().setEnabled(true);
    }

    listNotes();

    setVisibilityForLinkCarePlan();
}
项目:openmaxims-linux    文件:Logic.java   
private void refreshSearchCriteriaFilter()
{
    ClinicalNotesViewFilterVo tempVo = new ClinicalNotesViewFilterVo();
    tempVo.setActive(form.chkActiveOnly().getValue());
    tempVo.setFromDate(form.dateFrom().getValue());
    tempVo.setToDate(form.dateTo().getValue());
    form.getGlobalContext().Nursing.setClinicalNotesViewFilter(tempVo);

}