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

项目:AvoinApotti    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJobVo)
{
    if(configuredJobVo == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AttendanceReqContServiceSettings.getAttendanceReqContServiceSettingsFromConfiguredJob(factory, configuredJobVo.getBoId());
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo);        
}
项目:AvoinApotti    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo saveConfiguration(ims.emergency.vo.AtteandanceReqContrJobSettingsVo configurationVo) throws ims.domain.exceptions.StaleObjectException
{
    if(configurationVo == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configurationVo.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AtteandanceReqContrJobSettingsVoAssembler.extractAttendanceReqContServiceSettings(factory, configurationVo);
    getDomainFactory().save(bo);
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJobVo)
{
    if(configuredJobVo == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AttendanceReqContServiceSettings.getAttendanceReqContServiceSettingsFromConfiguredJob(factory, configuredJobVo.getBoId());
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo);        
}
项目:openMAXIMS    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo saveConfiguration(ims.emergency.vo.AtteandanceReqContrJobSettingsVo configurationVo) throws ims.domain.exceptions.StaleObjectException
{
    if(configurationVo == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configurationVo.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AtteandanceReqContrJobSettingsVoAssembler.extractAttendanceReqContServiceSettings(factory, configurationVo);
    getDomainFactory().save(bo);
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJobVo)
{
    if(configuredJobVo == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AttendanceReqContServiceSettings.getAttendanceReqContServiceSettingsFromConfiguredJob(factory, configuredJobVo.getBoId());
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo);        
}
项目:openMAXIMS    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo saveConfiguration(ims.emergency.vo.AtteandanceReqContrJobSettingsVo configurationVo) throws ims.domain.exceptions.StaleObjectException
{
    if(configurationVo == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configurationVo.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AtteandanceReqContrJobSettingsVoAssembler.extractAttendanceReqContServiceSettings(factory, configurationVo);
    getDomainFactory().save(bo);
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo); 
}
项目:openmaxims-linux    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJobVo)
{
    if(configuredJobVo == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AttendanceReqContServiceSettings.getAttendanceReqContServiceSettingsFromConfiguredJob(factory, configuredJobVo.getBoId());
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo);        
}
项目:openmaxims-linux    文件:AttendanceContractProcessSettingsImpl.java   
public ims.emergency.vo.AtteandanceReqContrJobSettingsVo saveConfiguration(ims.emergency.vo.AtteandanceReqContrJobSettingsVo configurationVo) throws ims.domain.exceptions.StaleObjectException
{
    if(configurationVo == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configurationVo.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    AttendanceReqContServiceSettings bo = AtteandanceReqContrJobSettingsVoAssembler.extractAttendanceReqContServiceSettings(factory, configurationVo);
    getDomainFactory().save(bo);
    return AtteandanceReqContrJobSettingsVoAssembler.create(bo); 
}