Java 类ims.core.vo.OrganisationVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
protected void onQmbHospitalTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    form.lyrSurgeryDetails().tabGenDet().qmbHospital().clear();

    OrganisationVo voOrg = new OrganisationVo();
    voOrg.setName(value);

    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().newRow(voColl.get(i), voColl.get(i).getName());

        if (voColl.size() == 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().setValue(voColl.get(0));
        else if (voColl.size() > 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().showOpened();        
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateOrganisationTree() 
{   
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();     
    initializeGrid();
    new OrganisationLocationHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populatOrganisationLocationDynamicGrid(form.dyngrdOrganisationLocation(), voColl, true);

    fillAccreditationCombos();

    form.dyngrdOrganisationLocation().getRows().expandAll();    

    HcpLocationVoCollection voCollHcpLocations = null;
    MemberOfStaffVo mos = form.getGlobalContext().Admin.getSelectedMos();
    if (mos != null)
    {
        voCollHcpLocations = mos.getLocations();    
        setHcpLocationsInGrid(voCollHcpLocations);
    }       
}
项目:AvoinApotti    文件:OrganisationAndLocationImpl.java   
private void checkChildsForDuplicateTaxonoy(OrganisationVoCollection  childs,Map<?, ?> doMap,DomainFactory factory) throws UniqueKeyViolationException
{
    if (childs == null || doMap==null)
        return;

    for (int i = 0 ; i < childs.size(); i++)
    {
        OrganisationVo orgVo = childs.get(i);
        Object doObj = doMap.get(orgVo);
        //If doObj is null it means that nothing changed in that record and hibernate didn't instantiated that record
        if (doObj instanceof Organisation)
        {
            String dupMessage = Keywords.checkDuplicateTaxonomy(factory,doObj, "codeMappings", orgVo.getCodeMappings(), "getName");
            if (dupMessage!=null)
                throw new UniqueKeyViolationException(dupMessage);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onQmbHospitalTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    form.lyrSurgeryDetails().tabGenDet().qmbHospital().clear();

    OrganisationVo voOrg = new OrganisationVo();
    voOrg.setName(value);

    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().newRow(voColl.get(i), voColl.get(i).getName());

        if (voColl.size() == 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().setValue(voColl.get(0));
        else if (voColl.size() > 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().showOpened();        
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrganisationTree() 
{   
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();     
    initializeGrid();
    new OrganisationLocationHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populatOrganisationLocationDynamicGrid(form.dyngrdOrganisationLocation(), voColl, true);

    fillAccreditationCombos();

    form.dyngrdOrganisationLocation().getRows().expandAll();    

    HcpLocationVoCollection voCollHcpLocations = null;
    MemberOfStaffVo mos = form.getGlobalContext().Admin.getSelectedMos();
    if (mos != null)
    {
        voCollHcpLocations = mos.getLocations();    
        setHcpLocationsInGrid(voCollHcpLocations);
    }       
}
项目:openMAXIMS    文件:OrganisationAndLocationImpl.java   
private void checkChildsForDuplicateTaxonoy(OrganisationVoCollection  childs,Map<?, ?> doMap,DomainFactory factory) throws UniqueKeyViolationException
{
    if (childs == null || doMap==null)
        return;

    for (int i = 0 ; i < childs.size(); i++)
    {
        OrganisationVo orgVo = childs.get(i);
        Object doObj = doMap.get(orgVo);
        //If doObj is null it means that nothing changed in that record and hibernate didn't instantiated that record
        if (doObj instanceof Organisation)
        {
            String dupMessage = Keywords.checkDuplicateTaxonomy(factory,doObj, "codeMappings", orgVo.getCodeMappings(), "getName");
            if (dupMessage!=null)
                throw new UniqueKeyViolationException(dupMessage);
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onQmbHospitalTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    form.lyrSurgeryDetails().tabGenDet().qmbHospital().clear();

    OrganisationVo voOrg = new OrganisationVo();
    voOrg.setName(value);

    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().newRow(voColl.get(i), voColl.get(i).getName());

        if (voColl.size() == 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().setValue(voColl.get(0));
        else if (voColl.size() > 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().showOpened();        
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrganisationTree() 
{   
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();     
    initializeGrid();
    new OrganisationLocationHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populatOrganisationLocationDynamicGrid(form.dyngrdOrganisationLocation(), voColl, true);

    fillAccreditationCombos();

    form.dyngrdOrganisationLocation().getRows().expandAll();    

    HcpLocationVoCollection voCollHcpLocations = null;
    MemberOfStaffVo mos = form.getGlobalContext().Admin.getSelectedMos();
    if (mos != null)
    {
        voCollHcpLocations = mos.getLocations();    
        setHcpLocationsInGrid(voCollHcpLocations);
    }       
}
项目:openMAXIMS    文件:OrganisationAndLocationImpl.java   
private void checkChildsForDuplicateTaxonoy(OrganisationVoCollection  childs,Map<?, ?> doMap,DomainFactory factory) throws UniqueKeyViolationException
{
    if (childs == null || doMap==null)
        return;

    for (int i = 0 ; i < childs.size(); i++)
    {
        OrganisationVo orgVo = childs.get(i);
        Object doObj = doMap.get(orgVo);
        //If doObj is null it means that nothing changed in that record and hibernate didn't instantiated that record
        if (doObj instanceof Organisation)
        {
            String dupMessage = Keywords.checkDuplicateTaxonomy(factory,doObj, "codeMappings", orgVo.getCodeMappings(), "getName");
            if (dupMessage!=null)
                throw new UniqueKeyViolationException(dupMessage);
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
protected void onQmbHospitalTextSubmited(String value) throws ims.framework.exceptions.PresentationLogicException
{
    form.lyrSurgeryDetails().tabGenDet().qmbHospital().clear();

    OrganisationVo voOrg = new OrganisationVo();
    voOrg.setName(value);

    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().newRow(voColl.get(i), voColl.get(i).getName());

        if (voColl.size() == 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().setValue(voColl.get(0));
        else if (voColl.size() > 1)
            form.lyrSurgeryDetails().tabGenDet().qmbHospital().showOpened();        
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateOrganisationTree() 
{   
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();     
    initializeGrid();
    new OrganisationLocationHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populatOrganisationLocationDynamicGrid(form.dyngrdOrganisationLocation(), voColl, true);

    fillAccreditationCombos();

    form.dyngrdOrganisationLocation().getRows().expandAll();    

    HcpLocationVoCollection voCollHcpLocations = null;
    MemberOfStaffVo mos = form.getGlobalContext().Admin.getSelectedMos();
    if (mos != null)
    {
        voCollHcpLocations = mos.getLocations();    
        setHcpLocationsInGrid(voCollHcpLocations);
    }       
}
项目:openmaxims-linux    文件:OrganisationAndLocationImpl.java   
private void checkChildsForDuplicateTaxonoy(OrganisationVoCollection  childs,Map<?, ?> doMap,DomainFactory factory) throws UniqueKeyViolationException
{
    if (childs == null || doMap==null)
        return;

    for (int i = 0 ; i < childs.size(); i++)
    {
        OrganisationVo orgVo = childs.get(i);
        Object doObj = doMap.get(orgVo);
        //If doObj is null it means that nothing changed in that record and hibernate didn't instantiated that record
        if (doObj instanceof Organisation)
        {
            String dupMessage = Keywords.checkDuplicateTaxonomy(factory,doObj, "codeMappings", orgVo.getCodeMappings(), "getName");
            if (dupMessage!=null)
                throw new UniqueKeyViolationException(dupMessage);
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadOrganisations() 
{
    form.qmbReferringOrg().clear();

    OrganisationVoCollection voColl = domain.listOrganisation(new OrganisationVo());

    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.qmbReferringOrg().newRow(voColl.get(i), voColl.get(i).getName());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateListControl()
{
    OrganisationVoCollection voColl = domain.listOrganisation(null);

    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl);
    form.treHeader().expandAll();
}
项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{       
    form.btnSave().setEnabled(false);

    OrganisationVoCollection voColl = null;
    voColl = domain.listRootOrgsNoGpp();                
    new OrgTreeHelper(form.getImages().Admin.Organisation, null, form.getImages().Admin.LocationSite, null, form.getImages().Admin.Location, null).populateOrgTree(form.treOrganisationLocation(), voColl, false, false, false);

    form.treOrganisationLocation().expandAll();
}
项目:AvoinApotti    文件:Logic.java   
public void open() throws PresentationLogicException
{
    OrganisationVo voOrg = new OrganisationVo();
    clearInstanceControls();
    voOrg.setParentOrganisation(null);
    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.LocationSite, form.getImages().Admin.Location, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl, false, false, true);
    form.treHeader().expandAll();
    form.setMode(FormMode.VIEW);
}
项目:AvoinApotti    文件:Logic.java   
private void populateOrganisationTree()
{
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.lyrLHS().tabOrganisation().treOrganisation(), voColl);
    form.lyrLHS().tabOrganisation().treOrganisation().expandAll();
    // populateOrganisationTree(voColl);
}
项目:AvoinApotti    文件:OrganisationLocationHelper.java   
public void populateOrganisationLocationTree(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive)
{
    this.tree = tree;
    this.dynGrid = null;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.tree.clear();      

    populateOrganisations(voColl, null);        
}
项目:AvoinApotti    文件:OrganisationLocationHelper.java   
private void populateOrganisationLocationDynamicGrid(DynamicGrid grid, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive)
{
    this.tree = null;
    this.dynGrid = grid;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.dynGrid.getRows().clear(); 

    populateOrganisations(voColl, null);
}
项目:AvoinApotti    文件:OrgTreeHelper.java   
public void populateOrgTree(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive, boolean disableOrgNodes)
{
    this.tree = tree;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.tree.clear();      
    populateOrgs(voColl, null, disableOrgNodes);        
}
项目:AvoinApotti    文件:OrgTreeHelper.java   
private void populateOrgs(OrganisationVoCollection voColl, TreeNode parentNode, boolean disableOrgNodes)
{
    if (voColl == null)
        return;

    for (int i = 0; i < voColl.size(); i++)
    {
        OrganisationVo voOrg = voColl.get(i);
        if (voOrg.getIsActive().booleanValue() == false && !showInactive)
            continue;

        TreeNode orgNode = null;
        if (parentNode == null)
        {
            //WDEV-6444 - if node is inactive disable drag dropping for that node
            if(voOrg.getIsActive().booleanValue() == false)
                orgNode = tree.getNodes().add(voOrg, voOrg.getName());
            else
                orgNode = tree.getNodes().add(voOrg, voOrg.getName(), ORG_NODE, new int[]{ROOT, ORG_NODE}, true);
        }
        else
            orgNode = parentNode.getNodes().add(voOrg, voOrg.getName(), ORG_NODE, new int[]{ROOT, ORG_NODE}, true);
        Image img = voOrg.getIsActive().booleanValue() ? orgImg : orgDisImg;            
        orgNode.setCollapsedImage(img);
        orgNode.setExpandedImage(img);
        orgNode.setEnabled(!disableOrgNodes);

        populateOrgs(voOrg.getRelatedOrganisations().sort(), orgNode, disableOrgNodes);
        populateLocSites(voOrg.getLocationSites().sort(), orgNode);
    }
}
项目:AvoinApotti    文件:GPPracticeAdminImpl.java   
public OrganisationVoCollection listPracticeParents(String value,
        Boolean activeOnly)
{
    if (ConfigFlag.UI.DEMOGRAPHICS_TYPE.getValue().equals("UK"))
    {
        OrganisationAndLocation organisationAndLocation = (OrganisationAndLocation) getDomainImpl(OrganisationAndLocationImpl.class);
        return organisationAndLocation.listPCTs(value, activeOnly);
    }
    // TODO Auto-generated method stub
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void loadOrganisations() 
{
    form.qmbReferringOrg().clear();

    OrganisationVoCollection voColl = domain.listOrganisation(new OrganisationVo());

    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.qmbReferringOrg().newRow(voColl.get(i), voColl.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl()
{
    OrganisationVoCollection voColl = domain.listOrganisation(null);

    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl, false, false);
    form.treHeader().expandAll();
}
项目:openMAXIMS    文件:Logic.java   
public void open() throws PresentationLogicException
{
    OrganisationVo voOrg = new OrganisationVo();
    clearInstanceControls();
    voOrg.setParentOrganisation(null);
    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.LocationSite, form.getImages().Admin.Location, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl, false, false, false, true, false);
    form.treHeader().expandAll();
    form.setMode(FormMode.VIEW);
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrganisationTree()
{
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.lyrLHS().tabOrganisation().treOrganisation(), voColl);
    form.lyrLHS().tabOrganisation().treOrganisation().expandAll();
    // populateOrganisationTree(voColl);
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrganisationTree()
{
    OrganisationVoCollection voColl = null;
    voColl = domain.listRootOrgsNoGpp();    

    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.OrgDisabled, form.getImages().Admin.LocationSite, form.getImages().Admin.LocSiteDisabled, form.getImages().Admin.Location, form.getImages().Admin.LocDisabled).populateOrgTree(form.treOrgLoc(), voColl, false, !form.chkActiveOnly().getValue(), true, false, form.chkViewCaseNote().getValue()); //WDEV-19532
    form.treOrgLoc().expandAll();

    selectNodeInTree(); //WDEV-19677

}
项目:openMAXIMS    文件:OrganisationLocationHelper.java   
public void populateOrganisationLocationTree(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive)
{
    this.tree = tree;
    this.dynGrid = null;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.tree.clear();      

    populateOrganisations(voColl, null);        
}
项目:openMAXIMS    文件:OrganisationLocationHelper.java   
private void populateOrganisationLocationDynamicGrid(DynamicGrid grid, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive)
{
    this.tree = null;
    this.dynGrid = grid;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.dynGrid.getRows().clear(); 

    populateOrganisations(voColl, null);
}
项目:openMAXIMS    文件:OrgTreeHelper.java   
public void populateOrgTree(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive, boolean showVirtual, boolean disableOrgNodes, boolean caseNoteLocations)
{
    this.tree = tree;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.showCaseNoteLocations = caseNoteLocations;
    this.showVirtual = showVirtual;
    this.tree.clear();      
    populateOrgs(voColl, null, disableOrgNodes);        
}
项目:openMAXIMS    文件:OrgTreeHelper.java   
public void populateOrgTreeCaseNoteLocations(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive, boolean showVirtual, boolean disableOrgNodes,  boolean showLocationsMarkedAsCaseNoteFolderOnly)
{
    this.tree = tree;
    this.showInactive = showInactive;
    this.showVirtual = showVirtual;
    this.showCheckBoxes = showCheckBoxes;
    this.showLocationsMarkedAsCaseNoteFolderOnly = showLocationsMarkedAsCaseNoteFolderOnly;
    this.tree.clear();      
    populateOrgs(voColl, null, disableOrgNodes);        
}
项目:openMAXIMS    文件:OrgTreeHelper.java   
private void populateOrgs(OrganisationVoCollection voColl, TreeNode parentNode, boolean disableOrgNodes)
{
    if (voColl == null)
        return;

    for (int i = 0; i < voColl.size(); i++)
    {
        OrganisationVo voOrg = voColl.get(i);
        if (voOrg.getIsActive().booleanValue() == false && !showInactive)
            continue;

        TreeNode orgNode = null;
        if (parentNode == null)
        {
            //WDEV-6444 - if node is inactive disable drag dropping for that node
            if(voOrg.getIsActive().booleanValue() == false)
                orgNode = tree.getNodes().add(voOrg, voOrg.getName());
            else
                orgNode = tree.getNodes().add(voOrg, voOrg.getName(), ORG_NODE, new int[]{ROOT, ORG_NODE}, true);
        }
        else
            orgNode = parentNode.getNodes().add(voOrg, voOrg.getName(), ORG_NODE, new int[]{ROOT, ORG_NODE}, true);
        Image img = voOrg.getIsActive().booleanValue() ? orgImg : orgDisImg;            
        orgNode.setCollapsedImage(img);
        orgNode.setExpandedImage(img);
        orgNode.setEnabled(!disableOrgNodes);

        populateOrgs(voOrg.getRelatedOrganisations().sort(), orgNode, disableOrgNodes);
        populateLocSites(voOrg.getLocationSites().sort(), orgNode);
    }
}
项目:openMAXIMS    文件:GPPracticeAdminImpl.java   
public OrganisationVoCollection listPracticeParents(String value,
        Boolean activeOnly)
{
    if (ConfigFlag.UI.DEMOGRAPHICS_TYPE.getValue().equals("UK"))
    {
        OrganisationAndLocation organisationAndLocation = (OrganisationAndLocation) getDomainImpl(OrganisationAndLocationImpl.class);
        return organisationAndLocation.listPCTs(value, activeOnly);
    }
    // TODO Auto-generated method stub
    return null;
}
项目:openMAXIMS    文件:OrganisationAndLocationImpl.java   
/**
 * List Organisations
 */
public ims.core.vo.OrganisationVoCollection listOrganisation(ims.core.vo.OrganisationVo organisation, Boolean excludeGPs, Boolean activeOnly)
{
    List<?> orgs = listOrganisations(organisation, excludeGPs, activeOnly); //WDEV-20044
    OrganisationVoCollection voCollOrgs = OrganisationVoAssembler.createOrganisationVoCollectionFromOrganisation(orgs);

    return voCollOrgs;
}
项目:openMAXIMS    文件:Logic.java   
private void loadOrganisations() 
{
    form.qmbReferringOrg().clear();

    OrganisationVoCollection voColl = domain.listOrganisation(new OrganisationVo());

    for (int i = 0 ; i < voColl.size() ; i++)
    {
        if (voColl.get(i).getIsActiveIsNotNull() && voColl.get(i).getIsActive().booleanValue())
            form.qmbReferringOrg().newRow(voColl.get(i), voColl.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl()
{
    OrganisationVoCollection voColl = domain.listOrganisation(null);

    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl);
    form.treHeader().expandAll();
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen() throws ims.framework.exceptions.FormOpenException
{       
    form.btnSave().setEnabled(false);

    OrganisationVoCollection voColl = null;
    voColl = domain.listRootOrgsNoGpp();                
    new OrgTreeHelper(form.getImages().Admin.Organisation, null, form.getImages().Admin.LocationSite, null, form.getImages().Admin.Location, null).populateOrgTree(form.treOrganisationLocation(), voColl, false, false, false);

    form.treOrganisationLocation().expandAll();
}
项目:openMAXIMS    文件:Logic.java   
public void open() throws PresentationLogicException
{
    OrganisationVo voOrg = new OrganisationVo();
    clearInstanceControls();
    voOrg.setParentOrganisation(null);
    OrganisationVoCollection voColl = domain.listOrganisation(voOrg);
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.LocationSite, form.getImages().Admin.Location, form.getImages().Admin.Location).populateOrgTree(form.treHeader(), voColl, false, false, true);
    form.treHeader().expandAll();
    form.setMode(FormMode.VIEW);
}
项目:openMAXIMS    文件:Logic.java   
private void populateOrganisationTree()
{
    OrganisationVoCollection voColl = domain.listRootOrgs().sort();
    new OrgTreeHelper(form.getImages().Admin.Organisation, form.getImages().Admin.LocationSite, form.getImages().Admin.Location).populateOrgTree(form.lyrLHS().tabOrganisation().treOrganisation(), voColl);
    form.lyrLHS().tabOrganisation().treOrganisation().expandAll();
    // populateOrganisationTree(voColl);
}
项目:openMAXIMS    文件:OrganisationLocationHelper.java   
public void populateOrganisationLocationTree(TreeView tree, OrganisationVoCollection voColl, boolean showCheckBoxes, boolean showInactive)
{
    this.tree = tree;
    this.dynGrid = null;
    this.showInactive = showInactive;
    this.showCheckBoxes = showCheckBoxes;
    this.tree.clear();      

    populateOrganisations(voColl, null);        
}