Java 类ims.emergency.vo.domain.StatusWorkflowConfigVoAssembler 实例源码

项目:AvoinApotti    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo getStatusWorkflowConfigVo(ims.emergency.configuration.vo.StatusWorkflowConfigRefVo voRef)
{
    if( voRef == null )
        throw new CodingRuntimeException("StatusWorkflowConfigRefVo not provided");

    DomainFactory factory = getDomainFactory();
    StatusWorkflowConfig doSWC  =(StatusWorkflowConfig) factory.getDomainObject(StatusWorkflowConfig.class, voRef.getID_StatusWorkflowConfig());
    return StatusWorkflowConfigVoAssembler.create(doSWC);
}
项目:openMAXIMS    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo getStatusWorkflowConfigVo(ims.emergency.configuration.vo.StatusWorkflowConfigRefVo voRef)
{
    if( voRef == null )
        throw new CodingRuntimeException("StatusWorkflowConfigRefVo not provided");

    DomainFactory factory = getDomainFactory();
    StatusWorkflowConfig doSWC  =(StatusWorkflowConfig) factory.getDomainObject(StatusWorkflowConfig.class, voRef.getID_StatusWorkflowConfig());
    return StatusWorkflowConfigVoAssembler.create(doSWC);
}
项目:openmaxims-linux    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo getStatusWorkflowConfigVo(ims.emergency.configuration.vo.StatusWorkflowConfigRefVo voRef)
{
    if( voRef == null )
        throw new CodingRuntimeException("StatusWorkflowConfigRefVo not provided");

    DomainFactory factory = getDomainFactory();
    StatusWorkflowConfig doSWC  =(StatusWorkflowConfig) factory.getDomainObject(StatusWorkflowConfig.class, voRef.getID_StatusWorkflowConfig());
    return StatusWorkflowConfigVoAssembler.create(doSWC);
}
项目:AvoinApotti    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVoCollection listStatusWorkflowConfig()
{
    DomainFactory factory = getDomainFactory();
    return  StatusWorkflowConfigVoAssembler.createStatusWorkflowConfigVoCollectionFromStatusWorkflowConfig(factory.listDomainObjects(StatusWorkflowConfig.class)).sort();
}
项目:openMAXIMS    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVoCollection listStatusWorkflowConfig()
{
    DomainFactory factory = getDomainFactory();
    return  StatusWorkflowConfigVoAssembler.createStatusWorkflowConfigVoCollectionFromStatusWorkflowConfig(factory.listDomainObjects(StatusWorkflowConfig.class)).sort();
}
项目:openmaxims-linux    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVoCollection listStatusWorkflowConfig()
{
    DomainFactory factory = getDomainFactory();
    return  StatusWorkflowConfigVoAssembler.createStatusWorkflowConfigVoCollectionFromStatusWorkflowConfig(factory.listDomainObjects(StatusWorkflowConfig.class)).sort();
}
项目:AvoinApotti    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo saveStatusWorkflowConfig(ims.emergency.vo.StatusWorkflowConfigVo voStatusWorkflowConfig) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    if(voStatusWorkflowConfig.isValidated() == false)
        throw new DomainRuntimeException("StatusWorkflowConfig record not validated");

    StatusWorkflowConfig doRecord = StatusWorkflowConfigVoAssembler.extractStatusWorkflowConfig(factory, voStatusWorkflowConfig);

    factory.save(doRecord);

    return StatusWorkflowConfigVoAssembler.create(doRecord);

}
项目:openMAXIMS    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo saveStatusWorkflowConfig(ims.emergency.vo.StatusWorkflowConfigVo voStatusWorkflowConfig) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    if(voStatusWorkflowConfig.isValidated() == false)
        throw new DomainRuntimeException("StatusWorkflowConfig record not validated");

    StatusWorkflowConfig doRecord = StatusWorkflowConfigVoAssembler.extractStatusWorkflowConfig(factory, voStatusWorkflowConfig);

    factory.save(doRecord);

    return StatusWorkflowConfigVoAssembler.create(doRecord);

}
项目:openmaxims-linux    文件:StatusWorkflowConfigurationImpl.java   
/**
* StatusWorkflowConfigVo
*/
public ims.emergency.vo.StatusWorkflowConfigVo saveStatusWorkflowConfig(ims.emergency.vo.StatusWorkflowConfigVo voStatusWorkflowConfig) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    if(voStatusWorkflowConfig.isValidated() == false)
        throw new DomainRuntimeException("StatusWorkflowConfig record not validated");

    StatusWorkflowConfig doRecord = StatusWorkflowConfigVoAssembler.extractStatusWorkflowConfig(factory, voStatusWorkflowConfig);

    factory.save(doRecord);

    return StatusWorkflowConfigVoAssembler.create(doRecord);

}