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

项目:AvoinApotti    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private Boolean checkIfProviderSystemExistInNode(LocSvcProviderSysVo voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || form.getGlobalContext().OCRR.getProviderSystemColl() == null)
        return false;
    else
    {
        if(form.getGlobalContext().OCRR.getProviderSystemCollIsNotNull())
        {
            ProviderSystemVoCollection tempColl = form.getGlobalContext().OCRR.getProviderSystemColl();
            for(int i = 0; i<tempColl.size();i++ )
            {
                if(voLocSvcProviderSys.getProviderSystem().getID_ProviderSystem().equals(tempColl.get(i).getID_ProviderSystem()))
                   return true;
            }
            return false;
        }
        else
            return false;
    }
}
项目:AvoinApotti    文件:Logic.java   
private ProviderSystemVoCollection returnProviderSystem(LocSvcProviderSysVoCollection voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || voLocSvcProviderSys.size()== 0)
        return null;
    else
    {
        ProviderSystemVoCollection temcoll = new ProviderSystemVoCollection();
        for(int i = 0; i<voLocSvcProviderSys.size();i++ )
        {
            temcoll.add(voLocSvcProviderSys.get(i).getProviderSystem());
        }
        if(temcoll.size() > 0)
            return temcoll;
        else
            return null;
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void EventConfigExternalSystemRTTAdd() 
{
    grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
    form.lyrTargets().tabRTT().grdRTT().setEnabled(true);
    form.lyrTargets().tabRTT().grdRTT().setReadOnly(false);

    EventRTTEventVo rowValue = new EventRTTEventVo();
    RTTEventVo rtt = new RTTEventVo();
    rowValue.setRTTEvent(rtt);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();
    row.getColProviderSystem().clear();
    row.setColImage(form.getImages().ICP.Stage);

    for (int i = 0; i < voCollProviderSystems.size(); i++) 
    {
        ProviderSystemVo voProviderSystems = voCollProviderSystems.get(i);
        row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
    }       
    row.setColStatus(PreActiveActiveInactiveStatus.PREACTIVE);

    row.setValue(rowValue);
    row.setReadOnly(false);
}
项目:AvoinApotti    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbSearchProvider().clear();
    form.lyrDetails().tabEventMappingDetails().cmbProvider().clear();

    ProviderSystemVoCollection voCollection = domain.listProviderSystems();
    form.getLocalContext().setProviderVoColl(voCollection);

    if(voCollection != null)
    {
        for (int i = 0; i < voCollection.size(); i++) 
        {
            form.cmbSearchProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
            form.lyrDetails().tabEventMappingDetails().cmbProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
        }           
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private Boolean checkIfProviderSystemExistInNode(LocSvcProviderSysVo voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || form.getGlobalContext().OCRR.getProviderSystemColl() == null)
        return false;
    else
    {
        if(form.getGlobalContext().OCRR.getProviderSystemCollIsNotNull())
        {
            ProviderSystemVoCollection tempColl = form.getGlobalContext().OCRR.getProviderSystemColl();
            for(int i = 0; i<tempColl.size();i++ )
            {
                if(voLocSvcProviderSys.getProviderSystem().getID_ProviderSystem().equals(tempColl.get(i).getID_ProviderSystem()))
                   return true;
            }
            return false;
        }
        else
            return false;
    }
}
项目:openMAXIMS    文件:Logic.java   
private ProviderSystemVoCollection returnProviderSystem(LocSvcProviderSysVoCollection voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || voLocSvcProviderSys.size()== 0)
        return null;
    else
    {
        ProviderSystemVoCollection temcoll = new ProviderSystemVoCollection();
        for(int i = 0; i<voLocSvcProviderSys.size();i++ )
        {
            temcoll.add(voLocSvcProviderSys.get(i).getProviderSystem());
        }
        if(temcoll.size() > 0)
            return temcoll;
        else
            return null;
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void EventConfigExternalSystemRTTAdd() 
{
    grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
    form.lyrTargets().tabRTT().grdRTT().setEnabled(true);
    form.lyrTargets().tabRTT().grdRTT().setReadOnly(false);

    EventRTTEventVo rowValue = new EventRTTEventVo();
    RTTEventVo rtt = new RTTEventVo();
    rowValue.setRTTEvent(rtt);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();
    row.getColProviderSystem().clear();
    row.setColImage(form.getImages().ICP.Stage);

    for (int i = 0; i < voCollProviderSystems.size(); i++) 
    {
        ProviderSystemVo voProviderSystems = voCollProviderSystems.get(i);
        row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
    }       
    row.setColStatus(PreActiveActiveInactiveStatus.PREACTIVE);

    row.setValue(rowValue);
    row.setReadOnly(false);
}
项目:openMAXIMS    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbSearchProvider().clear();
    form.lyrDetails().tabEventMappingDetails().cmbProvider().clear();

    ProviderSystemVoCollection voCollection = domain.listProviderSystems();
    form.getLocalContext().setProviderVoColl(voCollection);

    if(voCollection != null)
    {
        for (int i = 0; i < voCollection.size(); i++) 
        {
            form.cmbSearchProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
            form.lyrDetails().tabEventMappingDetails().cmbProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
        }           
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private Boolean checkIfProviderSystemExistInNode(LocSvcProviderSysVo voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || form.getGlobalContext().OCRR.getProviderSystemColl() == null)
        return false;
    else
    {
        if(form.getGlobalContext().OCRR.getProviderSystemCollIsNotNull())
        {
            ProviderSystemVoCollection tempColl = form.getGlobalContext().OCRR.getProviderSystemColl();
            for(int i = 0; i<tempColl.size();i++ )
            {
                if(voLocSvcProviderSys.getProviderSystem().getID_ProviderSystem().equals(tempColl.get(i).getID_ProviderSystem()))
                   return true;
            }
            return false;
        }
        else
            return false;
    }
}
项目:openMAXIMS    文件:Logic.java   
private ProviderSystemVoCollection returnProviderSystem(LocSvcProviderSysVoCollection voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || voLocSvcProviderSys.size()== 0)
        return null;
    else
    {
        ProviderSystemVoCollection temcoll = new ProviderSystemVoCollection();
        for(int i = 0; i<voLocSvcProviderSys.size();i++ )
        {
            temcoll.add(voLocSvcProviderSys.get(i).getProviderSystem());
        }
        if(temcoll.size() > 0)
            return temcoll;
        else
            return null;
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void EventConfigExternalSystemRTTAdd() 
{
    grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
    form.lyrTargets().tabRTT().grdRTT().setEnabled(true);
    form.lyrTargets().tabRTT().grdRTT().setReadOnly(false);

    EventRTTEventVo rowValue = new EventRTTEventVo();
    RTTEventVo rtt = new RTTEventVo();
    rowValue.setRTTEvent(rtt);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();
    row.getColProviderSystem().clear();
    row.setColImage(form.getImages().ICP.Stage);

    for (int i = 0; i < voCollProviderSystems.size(); i++) 
    {
        ProviderSystemVo voProviderSystems = voCollProviderSystems.get(i);
        row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
    }       
    row.setColStatus(PreActiveActiveInactiveStatus.PREACTIVE);

    row.setValue(rowValue);
    row.setReadOnly(false);
}
项目:openMAXIMS    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbSearchProvider().clear();
    form.lyrDetails().tabEventMappingDetails().cmbProvider().clear();

    ProviderSystemVoCollection voCollection = domain.listProviderSystems();
    form.getLocalContext().setProviderVoColl(voCollection);

    if(voCollection != null)
    {
        for (int i = 0; i < voCollection.size(); i++) 
        {
            form.cmbSearchProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
            form.lyrDetails().tabEventMappingDetails().cmbProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
        }           
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private Boolean checkIfProviderSystemExistInNode(LocSvcProviderSysVo voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || form.getGlobalContext().OCRR.getProviderSystemColl() == null)
        return false;
    else
    {
        if(form.getGlobalContext().OCRR.getProviderSystemCollIsNotNull())
        {
            ProviderSystemVoCollection tempColl = form.getGlobalContext().OCRR.getProviderSystemColl();
            for(int i = 0; i<tempColl.size();i++ )
            {
                if(voLocSvcProviderSys.getProviderSystem().getID_ProviderSystem().equals(tempColl.get(i).getID_ProviderSystem()))
                   return true;
            }
            return false;
        }
        else
            return false;
    }
}
项目:openmaxims-linux    文件:Logic.java   
private ProviderSystemVoCollection returnProviderSystem(LocSvcProviderSysVoCollection voLocSvcProviderSys)
{
    if(voLocSvcProviderSys == null || voLocSvcProviderSys.size()== 0)
        return null;
    else
    {
        ProviderSystemVoCollection temcoll = new ProviderSystemVoCollection();
        for(int i = 0; i<voLocSvcProviderSys.size();i++ )
        {
            temcoll.add(voLocSvcProviderSys.get(i).getProviderSystem());
        }
        if(temcoll.size() > 0)
            return temcoll;
        else
            return null;
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateListControl(ProviderSystemVoCollection voCollProviderSys)
{

    clear();

    if (voCollProviderSys != null)
    {
        GenForm.grdProviderSystemsRow row;
        for (int i = 0; i < voCollProviderSys.size(); i++)
        {
            row = form.grdProviderSystems().getRows().newRow();

            row.setValue(voCollProviderSys.get(i));
            row.setcolSystem(voCollProviderSys.get(i).getSystemName());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void EventConfigExternalSystemRTTAdd() 
{
    grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
    form.lyrTargets().tabRTT().grdRTT().setEnabled(true);
    form.lyrTargets().tabRTT().grdRTT().setReadOnly(false);

    EventRTTEventVo rowValue = new EventRTTEventVo();
    RTTEventVo rtt = new RTTEventVo();
    rowValue.setRTTEvent(rtt);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();
    row.getColProviderSystem().clear();
    row.setColImage(form.getImages().ICP.Stage);

    for (int i = 0; i < voCollProviderSystems.size(); i++) 
    {
        ProviderSystemVo voProviderSystems = voCollProviderSystems.get(i);
        row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
    }       
    row.setColStatus(PreActiveActiveInactiveStatus.PREACTIVE);

    row.setValue(rowValue);
    row.setReadOnly(false);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbSearchProvider().clear();
    form.lyrDetails().tabEventMappingDetails().cmbProvider().clear();

    ProviderSystemVoCollection voCollection = domain.listProviderSystems();
    form.getLocalContext().setProviderVoColl(voCollection);

    if(voCollection != null)
    {
        for (int i = 0; i < voCollection.size(); i++) 
        {
            form.cmbSearchProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
            form.lyrDetails().tabEventMappingDetails().cmbProvider().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
        }           
    }
}
项目:AvoinApotti    文件:Logic.java   
private void bindCmbProviderSystem()
{
    ProviderSystemVoCollection providerSystems = domain.listProviderSystems();

    if (providerSystems != null)
    {
        for (ProviderSystemVo providerSystemVo : providerSystems)
        {
            form.cmbProviderSystem().newRow(providerSystemVo, providerSystemVo.getSystemName());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbProviderSysSearch().clear();
    ProviderSystemVoCollection voCollection = domain.listProviderSystems();

    for (int i = 0; voCollection != null && i < voCollection.size(); i++) 
        form.cmbProviderSysSearch().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
}
项目:openMAXIMS    文件:Logic.java   
private void bindCmbProviderSystem()
{
    ProviderSystemVoCollection providerSystems = domain.listProviderSystems();

    if (providerSystems != null)
    {
        for (ProviderSystemVo providerSystemVo : providerSystems)
        {
            form.cmbProviderSystem().newRow(providerSystemVo, providerSystemVo.getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbProviderSysSearch().clear();
    ProviderSystemVoCollection voCollection = domain.listProviderSystems();

    for (int i = 0; voCollection != null && i < voCollection.size(); i++) 
        form.cmbProviderSysSearch().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
}
项目:openMAXIMS    文件:Logic.java   
private void bindCmbProviderSystem()
{
    ProviderSystemVoCollection providerSystems = domain.listProviderSystems();

    if (providerSystems != null)
    {
        for (ProviderSystemVo providerSystemVo : providerSystems)
        {
            form.cmbProviderSystem().newRow(providerSystemVo, providerSystemVo.getSystemName());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbProviderSysSearch().clear();
    ProviderSystemVoCollection voCollection = domain.listProviderSystems();

    for (int i = 0; voCollection != null && i < voCollection.size(); i++) 
        form.cmbProviderSysSearch().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
}
项目:openmaxims-linux    文件:Logic.java   
private void bindCmbProviderSystem()
{
    ProviderSystemVoCollection providerSystems = domain.listProviderSystems();

    if (providerSystems != null)
    {
        for (ProviderSystemVo providerSystemVo : providerSystems)
        {
            form.cmbProviderSystem().newRow(providerSystemVo, providerSystemVo.getSystemName());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateProviderSystem() 
{
    form.cmbProviderSysSearch().clear();
    ProviderSystemVoCollection voCollection = domain.listProviderSystems();

    for (int i = 0; voCollection != null && i < voCollection.size(); i++) 
        form.cmbProviderSysSearch().newRow(voCollection.get(i), voCollection.get(i).getSystemName());
}
项目:AvoinApotti    文件:LocationServiceProviderSysImpl.java   
public ProviderSystemVoCollection listProviderSystems() 
{
    DomainFactory factory = getDomainFactory();
    return ProviderSystemVoAssembler.createProviderSystemVoCollectionFromProviderSystem(factory.listDomainObjects(ProviderSystem.class)).sort();
}
项目:AvoinApotti    文件:Logic.java   
private void populateRTTEventGrid(EventVo event)
{
    //RTTEventVoCollection editedRecord = domain.getRTTByEventAndStatus(event, null);
    EventRTTEventVoCollection editedRecord = domain.getEventRTTEvent(event, event.getStatus());
    form.getLocalContext().setEventRTTEventOriginalCollection(editedRecord);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();

    form.lyrTargets().tabRTT().grdRTT().getRows().clear();      

    for (int i = 0; i < editedRecord.size(); i++) 
    {
        if(editedRecord.get(i) == null)
            return;

        grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
        row.setColImage(form.getImages().ICP.Stage);
        row.getColProviderSystem().clear();

        for (int j = 0; j < voCollProviderSystems.size(); j++) 
        {
            ProviderSystemVo voProviderSystems = voCollProviderSystems.get(j);
            row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
        }       
        row.getColProviderSystem().setValue(editedRecord.get(i).getRTTEvent().getProviderSystemIsNotNull() ? editedRecord.get(i).getRTTEvent().getProviderSystem() : null);
        row.setTooltipForColProviderSystem(editedRecord.get(i).getRTTEvent().getProviderSystemIsNotNull() ? editedRecord.get(i).getRTTEvent().getProviderSystem().getSystemName() : null);

        row.getColName().clear();
        RTTEventVoCollection voCollRTTEvent = domain.getNameByProviderSystems((ProviderSystemRefVo)editedRecord.get(i).getRTTEvent().getProviderSystem() );
        for (int j = 0; j < voCollRTTEvent.size(); j++) 
        {
            RTTEventVo vo = voCollRTTEvent.get(j);
            row.getColName().newRow(vo, vo.getName());
        }
        row.getColName().setValue(editedRecord.get(i).getRTTEvent().getName() != null ? editedRecord.get(i).getRTTEvent(): null);
        row.setTooltipForColName(editedRecord.get(i).getRTTEvent().getName() != null ? editedRecord.get(i).getRTTEvent().getName() : null);

        row.setColNatCode(editedRecord.get(i).getRTTEvent().getNationalCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getNationalCode() : null);
        row.setTooltipForColNatCode(editedRecord.get(i).getRTTEvent().getNationalCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getNationalCode() : null);
        row.setColExtCode(editedRecord.get(i).getRTTEvent().getPASCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getPASCode() : null);
        row.setTooltipForColExtCode(editedRecord.get(i).getRTTEvent().getPASCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getPASCode() : null);
        row.setColAction(editedRecord.get(i).getRTTEvent().getActionIsNotNull() ? editedRecord.get(i).getRTTEvent().getAction() : null);
        row.setTooltipForColAction(editedRecord.get(i).getRTTEvent().getActionIsNotNull() ? editedRecord.get(i).getRTTEvent().getAction().getText() : null);
        row.setColStatus(editedRecord.get(i).getStatus());

        row.setValue(editedRecord.get(i));
        row.setReadOnly(true);
    }   
}
项目:AvoinApotti    文件:Logic.java   
private void loadProviderSystems()
{
    ProviderSystemVoCollection voColl = domain.listProviderSystems();
    for (int i = 0 ; voColl != null && i < voColl.size() ; i++)
        form.ctnDetails().cmbProviderSystem().newRow(voColl.get(i), voColl.get(i).getSystemName());
}
项目:AvoinApotti    文件:ExternalEventMappingsConfigurationImpl.java   
public ProviderSystemVoCollection listProviderSystems() 
{
    DomainFactory factory = getDomainFactory();
    return ProviderSystemVoAssembler.createProviderSystemVoCollectionFromProviderSystem(factory.listDomainObjects(ProviderSystem.class)).sort();        
}
项目:AvoinApotti    文件:EventConfigurationImpl.java   
public ProviderSystemVoCollection listProviderSystems()
{
    DomainFactory factory = getDomainFactory();
    return ProviderSystemVoAssembler.createProviderSystemVoCollectionFromProviderSystem(factory.listDomainObjects(ProviderSystem.class)).sort();
}
项目:AvoinApotti    文件:RTTEventConfigurationImpl.java   
public ProviderSystemVoCollection listProviderSystems() 
{
    DomainFactory factory = getDomainFactory();
    return ProviderSystemVoAssembler.createProviderSystemVoCollectionFromProviderSystem(factory.listDomainObjects(ProviderSystem.class)).sort();
}
项目:openMAXIMS    文件:LocationServiceProviderSysImpl.java   
public ProviderSystemVoCollection listProviderSystems() 
{
    DomainFactory factory = getDomainFactory();
    return ProviderSystemVoAssembler.createProviderSystemVoCollectionFromProviderSystem(factory.listDomainObjects(ProviderSystem.class)).sort();
}
项目:openMAXIMS    文件:Logic.java   
private void populateRTTEventGrid(EventVo event)
{
    //RTTEventVoCollection editedRecord = domain.getRTTByEventAndStatus(event, null);
    EventRTTEventVoCollection editedRecord = domain.getEventRTTEvent(event, event.getStatus());
    form.getLocalContext().setEventRTTEventOriginalCollection(editedRecord);
    ProviderSystemVoCollection voCollProviderSystems = domain.listProviderSystems();

    form.lyrTargets().tabRTT().grdRTT().getRows().clear();      

    for (int i = 0; i < editedRecord.size(); i++) 
    {
        if(editedRecord.get(i) == null)
            return;

        grdRTTRow row = form.lyrTargets().tabRTT().grdRTT().getRows().newRow();
        row.setColImage(form.getImages().ICP.Stage);
        row.getColProviderSystem().clear();

        for (int j = 0; j < voCollProviderSystems.size(); j++) 
        {
            ProviderSystemVo voProviderSystems = voCollProviderSystems.get(j);
            row.getColProviderSystem().newRow(voProviderSystems, voProviderSystems.getSystemName());
        }       
        row.getColProviderSystem().setValue(editedRecord.get(i).getRTTEvent().getProviderSystemIsNotNull() ? editedRecord.get(i).getRTTEvent().getProviderSystem() : null);
        row.setTooltipForColProviderSystem(editedRecord.get(i).getRTTEvent().getProviderSystemIsNotNull() ? editedRecord.get(i).getRTTEvent().getProviderSystem().getSystemName() : null);

        row.getColName().clear();
        RTTEventVoCollection voCollRTTEvent = domain.getNameByProviderSystems((ProviderSystemRefVo)editedRecord.get(i).getRTTEvent().getProviderSystem() );
        for (int j = 0; j < voCollRTTEvent.size(); j++) 
        {
            RTTEventVo vo = voCollRTTEvent.get(j);
            row.getColName().newRow(vo, vo.getName());
        }
        row.getColName().setValue(editedRecord.get(i).getRTTEvent().getName() != null ? editedRecord.get(i).getRTTEvent(): null);
        row.setTooltipForColName(editedRecord.get(i).getRTTEvent().getName() != null ? editedRecord.get(i).getRTTEvent().getName() : null);

        row.setColNatCode(editedRecord.get(i).getRTTEvent().getNationalCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getNationalCode() : null);
        row.setTooltipForColNatCode(editedRecord.get(i).getRTTEvent().getNationalCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getNationalCode() : null);
        row.setColExtCode(editedRecord.get(i).getRTTEvent().getPASCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getPASCode() : null);
        row.setTooltipForColExtCode(editedRecord.get(i).getRTTEvent().getPASCodeIsNotNull() ? editedRecord.get(i).getRTTEvent().getPASCode() : null);
        row.setColAction(editedRecord.get(i).getRTTEvent().getActionIsNotNull() ? editedRecord.get(i).getRTTEvent().getAction() : null);
        row.setTooltipForColAction(editedRecord.get(i).getRTTEvent().getActionIsNotNull() ? editedRecord.get(i).getRTTEvent().getAction().getText() : null);
        row.setColStatus(editedRecord.get(i).getStatus());

        row.setValue(editedRecord.get(i));
        row.setReadOnly(true);
    }   
}