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

项目:AvoinApotti    文件:MuscleJointConfigurationImpl.java   
public MskGroupLiteVoCollection listGroupsForGroupType(MSKGroupType lkpGroupType) 
{
    DomainFactory factory = getDomainFactory();

    String hql = " from MskGroups m where m.isActive = true and m.groupType.id = " + lkpGroupType.getId();
    return MskGroupLiteVoAssembler.createMskGroupLiteVoCollectionFromMskGroups(factory.find(hql)).sort();
}
项目:AvoinApotti    文件:Logic.java   
private void listUnUsedDigits()
{
    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().clear();
    MskGroupLiteVoCollection voCollDigitGroups = domain.listDigitGroups();
    if (voCollDigitGroups != null)
        for (int i = 0; i < voCollDigitGroups.size(); i++)
        {
            grdMovementRow latRow = form.grdMovement().getSelectedRow();
            if (latRow != null)
            {
                boolean bFound = false;
                for (int j = 0; j < latRow.getRows().size(); j++)
                {
                    if (latRow.getRows().get(j).getValue() instanceof RangeOfMovementDetailVo)
                    {
                        RangeOfMovementDetailVo vo = (RangeOfMovementDetailVo) latRow.getRows().get(j).getValue();
                        if (vo.getGroup().equals(voCollDigitGroups.get(i)))
                        {
                            bFound = true;
                            break;
                        }
                    }
                }

                if (bFound == false)
                    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().newRow(voCollDigitGroups.get(i), voCollDigitGroups.get(i).getName());

            }
        }
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public MskGroupLiteVoCollection listGroupsForGroupType(MSKGroupType lkpGroupType) 
{
    DomainFactory factory = getDomainFactory();

    String hql = " from MskGroups m where m.isActive = true and m.groupType.id = " + lkpGroupType.getId();
    return MskGroupLiteVoAssembler.createMskGroupLiteVoCollectionFromMskGroups(factory.find(hql)).sort();
}
项目:openMAXIMS    文件:Logic.java   
private void listUnUsedDigits()
{
    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().clear();
    MskGroupLiteVoCollection voCollDigitGroups = domain.listDigitGroups();
    if (voCollDigitGroups != null)
        for (int i = 0; i < voCollDigitGroups.size(); i++)
        {
            grdMovementRow latRow = form.grdMovement().getSelectedRow();
            if (latRow != null)
            {
                boolean bFound = false;
                for (int j = 0; j < latRow.getRows().size(); j++)
                {
                    if (latRow.getRows().get(j).getValue() instanceof RangeOfMovementDetailVo)
                    {
                        RangeOfMovementDetailVo vo = (RangeOfMovementDetailVo) latRow.getRows().get(j).getValue();
                        if (vo.getGroup().equals(voCollDigitGroups.get(i)))
                        {
                            bFound = true;
                            break;
                        }
                    }
                }

                if (bFound == false)
                    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().newRow(voCollDigitGroups.get(i), voCollDigitGroups.get(i).getName());

            }
        }
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public MskGroupLiteVoCollection listGroupsForGroupType(MSKGroupType lkpGroupType) 
{
    DomainFactory factory = getDomainFactory();

    String hql = " from MskGroups m where m.isActive = true and m.groupType.id = " + lkpGroupType.getId();
    return MskGroupLiteVoAssembler.createMskGroupLiteVoCollectionFromMskGroups(factory.find(hql)).sort();
}
项目:openMAXIMS    文件:Logic.java   
private void listUnUsedDigits()
{
    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().clear();
    MskGroupLiteVoCollection voCollDigitGroups = domain.listDigitGroups();
    if (voCollDigitGroups != null)
        for (int i = 0; i < voCollDigitGroups.size(); i++)
        {
            grdMovementRow latRow = form.grdMovement().getSelectedRow();
            if (latRow != null)
            {
                boolean bFound = false;
                for (int j = 0; j < latRow.getRows().size(); j++)
                {
                    if (latRow.getRows().get(j).getValue() instanceof RangeOfMovementDetailVo)
                    {
                        RangeOfMovementDetailVo vo = (RangeOfMovementDetailVo) latRow.getRows().get(j).getValue();
                        if (vo.getGroup().equals(voCollDigitGroups.get(i)))
                        {
                            bFound = true;
                            break;
                        }
                    }
                }

                if (bFound == false)
                    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().newRow(voCollDigitGroups.get(i), voCollDigitGroups.get(i).getName());

            }
        }
}
项目:openmaxims-linux    文件:MuscleJointConfigurationImpl.java   
public MskGroupLiteVoCollection listGroupsForGroupType(MSKGroupType lkpGroupType) 
{
    DomainFactory factory = getDomainFactory();

    String hql = " from MskGroups m where m.isActive = true and m.groupType.id = " + lkpGroupType.getId();
    return MskGroupLiteVoAssembler.createMskGroupLiteVoCollectionFromMskGroups(factory.find(hql)).sort();
}
项目:openmaxims-linux    文件:Logic.java   
private void listUnUsedDigits()
{
    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().clear();
    MskGroupLiteVoCollection voCollDigitGroups = domain.listDigitGroups();
    if (voCollDigitGroups != null)
        for (int i = 0; i < voCollDigitGroups.size(); i++)
        {
            grdMovementRow latRow = form.grdMovement().getSelectedRow();
            if (latRow != null)
            {
                boolean bFound = false;
                for (int j = 0; j < latRow.getRows().size(); j++)
                {
                    if (latRow.getRows().get(j).getValue() instanceof RangeOfMovementDetailVo)
                    {
                        RangeOfMovementDetailVo vo = (RangeOfMovementDetailVo) latRow.getRows().get(j).getValue();
                        if (vo.getGroup().equals(voCollDigitGroups.get(i)))
                        {
                            bFound = true;
                            break;
                        }
                    }
                }

                if (bFound == false)
                    form.ctnDetails().lyrDetails().tabDetails().cmbDigit().newRow(voCollDigitGroups.get(i), voCollDigitGroups.get(i).getName());

            }
        }
}
项目:AvoinApotti    文件:HandRangeOfMovementImpl.java   
public MskGroupLiteVoCollection listDigitGroups()
{
    BoneJointConfiguration impl =  (BoneJointConfiguration)getDomainImpl(MuscleJointConfigurationImpl.class);
    return impl.listGroupsForGroupType(MSKGroupType.DIGIT);
}
项目:openMAXIMS    文件:HandRangeOfMovementImpl.java   
public MskGroupLiteVoCollection listDigitGroups()
{
    BoneJointConfiguration impl =  (BoneJointConfiguration)getDomainImpl(MuscleJointConfigurationImpl.class);
    return impl.listGroupsForGroupType(MSKGroupType.DIGIT);
}
项目:openMAXIMS    文件:HandRangeOfMovementImpl.java   
public MskGroupLiteVoCollection listDigitGroups()
{
    BoneJointConfiguration impl =  (BoneJointConfiguration)getDomainImpl(MuscleJointConfigurationImpl.class);
    return impl.listGroupsForGroupType(MSKGroupType.DIGIT);
}
项目:openmaxims-linux    文件:HandRangeOfMovementImpl.java   
public MskGroupLiteVoCollection listDigitGroups()
{
    BoneJointConfiguration impl =  (BoneJointConfiguration)getDomainImpl(MuscleJointConfigurationImpl.class);
    return impl.listGroupsForGroupType(MSKGroupType.DIGIT);
}