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

项目:AvoinApotti    文件:Logic.java   
protected void onImbSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    if(validateUISearchCriteria() == false)
        return;

    form.getLocalContext().setPrintingContext(null);

    //wdev-11986
    // WDEV-12692 - Pass 'From Date' and 'To Date' as search criteria 
    PathologyOrderVoCollection results = domain.listPathologyOrderInvestigation(form.cmbService().getValue(),form.cmbDepartment().getValue(), Category.PATHOLOGY, form.dteFrom().getValue(), form.dteTo().getValue());

    if (results == null || results.size() == 0)
    {
        engine.showMessage("No results found for search criteria.");
    }

    populateOrdersGrid(results);
    //--------

    enablePrintButton();
}
项目:AvoinApotti    文件:Logic.java   
private void populateOrdersGrid(PathologyOrderVoCollection coll)
{
    if (coll == null)
        return;

    form.grdResults().getRows().clear();
    coll.sort(SortOrder.DESCENDING);

    int recCount = 0;
    for (int i = 0; i < coll.size(); i++)
    {
        PathologyOrderVo result = coll.get(i);
        recCount += addOrderRow(result);
    }

    form.getLocalContext().setCount(recCount);      
    displayGridFooter();
}
项目:openMAXIMS    文件:Logic.java   
private boolean search()
{
    if(validateUISearchCriteria() == false)
        return false;

    form.getLocalContext().setPrintingContext(null);

    //wdev-11986
    // WDEV-12692 - Pass 'From Date' and 'To Date' as search criteria 
    PathologyOrderVoCollection results = domain.listPathologyOrderInvestigation(form.cmbService().getValue(),form.cmbDepartment().getValue(), Category.PATHOLOGY, form.dteFrom().getValue(), form.dteTo().getValue());

    if (results == null || results.size() == 0)
    {
        engine.showMessage("No results found for search criteria.");
    }

    populateOrdersGrid(results);
    //--------

    enablePrintButton();
    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrdersGrid(PathologyOrderVoCollection coll)
{
    if (coll == null)
        return;

    form.grdResults().getRows().clear();
    coll.sort(SortOrder.DESCENDING);

    int recCount = 0;
    for (int i = 0; i < coll.size(); i++)
    {
        PathologyOrderVo result = coll.get(i);
        recCount += addOrderRow(result);
    }

    form.getLocalContext().setCount(recCount);      
    displayGridFooter();
}
项目:openMAXIMS    文件:Logic.java   
protected void onImbSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    if(validateUISearchCriteria() == false)
        return;

    form.getLocalContext().setPrintingContext(null);

    //wdev-11986
    // WDEV-12692 - Pass 'From Date' and 'To Date' as search criteria 
    PathologyOrderVoCollection results = domain.listPathologyOrderInvestigation(form.cmbService().getValue(),form.cmbDepartment().getValue(), Category.PATHOLOGY, form.dteFrom().getValue(), form.dteTo().getValue());

    if (results == null || results.size() == 0)
    {
        engine.showMessage("No results found for search criteria.");
    }

    populateOrdersGrid(results);
    //--------

    enablePrintButton();
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrdersGrid(PathologyOrderVoCollection coll)
{
    if (coll == null)
        return;

    form.grdResults().getRows().clear();
    coll.sort(SortOrder.DESCENDING);

    int recCount = 0;
    for (int i = 0; i < coll.size(); i++)
    {
        PathologyOrderVo result = coll.get(i);
        recCount += addOrderRow(result);
    }

    form.getLocalContext().setCount(recCount);      
    displayGridFooter();
}
项目:openmaxims-linux    文件:Logic.java   
protected void onImbSearchClick() throws ims.framework.exceptions.PresentationLogicException
{
    if(validateUISearchCriteria() == false)
        return;

    form.getLocalContext().setPrintingContext(null);

    //wdev-11986
    // WDEV-12692 - Pass 'From Date' and 'To Date' as search criteria 
    PathologyOrderVoCollection results = domain.listPathologyOrderInvestigation(form.cmbService().getValue(),form.cmbDepartment().getValue(), Category.PATHOLOGY, form.dteFrom().getValue(), form.dteTo().getValue());

    if (results == null || results.size() == 0)
    {
        engine.showMessage("No results found for search criteria.");
    }

    populateOrdersGrid(results);
    //--------

    enablePrintButton();
}
项目:openmaxims-linux    文件:Logic.java   
private void populateOrdersGrid(PathologyOrderVoCollection coll)
{
    if (coll == null)
        return;

    form.grdResults().getRows().clear();
    coll.sort(SortOrder.DESCENDING);

    int recCount = 0;
    for (int i = 0; i < coll.size(); i++)
    {
        PathologyOrderVo result = coll.get(i);
        recCount += addOrderRow(result);
    }

    form.getLocalContext().setCount(recCount);      
    displayGridFooter();
}
项目:AvoinApotti    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    RadiologyOrders impl = (RadiologyOrders) getDomainImpl(RadiologyOrdersImpl.class);
    return impl.listPathOrderInvestigation(serviceRefVo, category);     
}
项目:AvoinApotti    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listPathologyOrderInvestigation(ServiceRefVo serviceRefVo, LocationRefVo locationRefVo, Category category, Date fromDate, Date toDate) 
{
    List list = listOrderInvestigation(serviceRefVo, locationRefVo, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, fromDate, toDate);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:AvoinApotti    文件:RadiologyOrdersImpl.java   
public PathologyOrderVoCollection listPathOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    // WDEV-11643
    List list = listOrderInvestigation(serviceRefVo, null, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, null, null);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openMAXIMS    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    RadiologyOrders impl = (RadiologyOrders) getDomainImpl(RadiologyOrdersImpl.class);
    return impl.listPathOrderInvestigation(serviceRefVo, category);     
}
项目:openMAXIMS    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listPathologyOrderInvestigation(ServiceRefVo serviceRefVo, LocationRefVo locationRefVo, Category category, Date fromDate, Date toDate) 
{
    List list = listOrderInvestigation(serviceRefVo, locationRefVo, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, fromDate, toDate);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openMAXIMS    文件:RadiologyOrdersImpl.java   
public PathologyOrderVoCollection listPathOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    // WDEV-11643
    List list = listOrderInvestigation(serviceRefVo, null, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, null, null);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openMAXIMS    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    RadiologyOrders impl = (RadiologyOrders) getDomainImpl(RadiologyOrdersImpl.class);
    return impl.listPathOrderInvestigation(serviceRefVo, category);     
}
项目:openMAXIMS    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listPathologyOrderInvestigation(ServiceRefVo serviceRefVo, LocationRefVo locationRefVo, Category category, Date fromDate, Date toDate) 
{
    List list = listOrderInvestigation(serviceRefVo, locationRefVo, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, fromDate, toDate);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openMAXIMS    文件:RadiologyOrdersImpl.java   
public PathologyOrderVoCollection listPathOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    // WDEV-11643
    List list = listOrderInvestigation(serviceRefVo, null, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, null, null);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openmaxims-linux    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    RadiologyOrders impl = (RadiologyOrders) getDomainImpl(RadiologyOrdersImpl.class);
    return impl.listPathOrderInvestigation(serviceRefVo, category);     
}
项目:openmaxims-linux    文件:PathologyOrdersImpl.java   
public PathologyOrderVoCollection listPathologyOrderInvestigation(ServiceRefVo serviceRefVo, LocationRefVo locationRefVo, Category category, Date fromDate, Date toDate) 
{
    List list = listOrderInvestigation(serviceRefVo, locationRefVo, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, fromDate, toDate);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}
项目:openmaxims-linux    文件:RadiologyOrdersImpl.java   
public PathologyOrderVoCollection listPathOrderInvestigation(ServiceRefVo serviceRefVo, Category category) 
{
    // WDEV-11643
    List list = listOrderInvestigation(serviceRefVo, null, new OrderInvStatus[]{OrderInvStatus.SENT, OrderInvStatus.ACCEPTED, OrderInvStatus.ORDERED}, category, null, null);
    return PathologyOrderVoAssembler.createPathologyOrderVoCollectionFromOrderInvestigation(list);
}