Java 类ims.core.vo.domain.MskGroupVoAssembler 实例源码

项目:AvoinApotti    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVo saveMskGroup(ims.core.vo.MskGroupVo group) throws ims.domain.exceptions.StaleObjectException
{
    if (!group.isValidated())
    {
        throw new DomainRuntimeException("MskGroupVo has not been validated");
    }
    DomainFactory factory = getDomainFactory();
    MskGroups doGroup = MskGroupVoAssembler.extractMskGroups(factory, group);
    try 
    {
        factory.save(doGroup);
    } 
    catch (DomainException e) 
    {
        throw new DomainRuntimeException("Error saving MskGroup",e);
    }

    group.setID_MskGroups(doGroup.getId());
    return group;
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVo saveMskGroup(ims.core.vo.MskGroupVo group) throws ims.domain.exceptions.StaleObjectException
{
    if (!group.isValidated())
    {
        throw new DomainRuntimeException("MskGroupVo has not been validated");
    }
    DomainFactory factory = getDomainFactory();
    MskGroups doGroup = MskGroupVoAssembler.extractMskGroups(factory, group);
    try 
    {
        factory.save(doGroup);
    } 
    catch (DomainException e) 
    {
        throw new DomainRuntimeException("Error saving MskGroup",e);
    }

    group.setID_MskGroups(doGroup.getId());
    return group;
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVo saveMskGroup(ims.core.vo.MskGroupVo group) throws ims.domain.exceptions.StaleObjectException
{
    if (!group.isValidated())
    {
        throw new DomainRuntimeException("MskGroupVo has not been validated");
    }
    DomainFactory factory = getDomainFactory();
    MskGroups doGroup = MskGroupVoAssembler.extractMskGroups(factory, group);
    try 
    {
        factory.save(doGroup);
    } 
    catch (DomainException e) 
    {
        throw new DomainRuntimeException("Error saving MskGroup",e);
    }

    group.setID_MskGroups(doGroup.getId());
    return group;
}
项目:openmaxims-linux    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVo saveMskGroup(ims.core.vo.MskGroupVo group) throws ims.domain.exceptions.StaleObjectException
{
    if (!group.isValidated())
    {
        throw new DomainRuntimeException("MskGroupVo has not been validated");
    }
    DomainFactory factory = getDomainFactory();
    MskGroups doGroup = MskGroupVoAssembler.extractMskGroups(factory, group);
    try 
    {
        factory.save(doGroup);
    } 
    catch (DomainException e) 
    {
        throw new DomainRuntimeException("Error saving MskGroup",e);
    }

    group.setID_MskGroups(doGroup.getId());
    return group;
}
项目:AvoinApotti    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVoCollection listMskGroup(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();     
    return MskGroupVoAssembler.createMskGroupVoCollectionFromMskGroups(factory.listDomainObjects(MskGroups.class));
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVoCollection listMskGroup(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();     
    return MskGroupVoAssembler.createMskGroupVoCollectionFromMskGroups(factory.listDomainObjects(MskGroups.class));
}
项目:openMAXIMS    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVoCollection listMskGroup(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();     
    return MskGroupVoAssembler.createMskGroupVoCollectionFromMskGroups(factory.listDomainObjects(MskGroups.class));
}
项目:openmaxims-linux    文件:MuscleJointConfigurationImpl.java   
public ims.core.vo.MskGroupVoCollection listMskGroup(Boolean activeOnly)
{
    DomainFactory factory = getDomainFactory();     
    return MskGroupVoAssembler.createMskGroupVoCollectionFromMskGroups(factory.listDomainObjects(MskGroups.class));
}