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

项目:AvoinApotti    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo saveConfiguration(ims.emergency.vo.AttendanceReqContractSettingsVo record) throws ims.domain.exceptions.StaleObjectException
{
    if(record == null)
        throw new CodingRuntimeException("Invalid configuration");

    if(!record.isValidated())
        throw new CodingRuntimeException("Configuration not validated");

    DomainFactory factory = getDomainFactory();
    AttendanceReqContractSettings bo = AttendanceReqContractSettingsVoAssembler.extractAttendanceReqContractSettings(factory, record);
    getDomainFactory().save(bo);
    return AttendanceReqContractSettingsVoAssembler.create(bo); 
}
项目:AvoinApotti    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo getConfiguration(ConfiguredJobRefVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");

    DomainFactory factory = getDomainFactory();

    AttendanceReqContractSettings bo = AttendanceReqContractSettings.getAttendanceReqContractSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return AttendanceReqContractSettingsVoAssembler.create(bo);
}
项目:openMAXIMS    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo saveConfiguration(ims.emergency.vo.AttendanceReqContractSettingsVo record) throws ims.domain.exceptions.StaleObjectException
{
    if(record == null)
        throw new CodingRuntimeException("Invalid configuration");

    if(!record.isValidated())
        throw new CodingRuntimeException("Configuration not validated");

    DomainFactory factory = getDomainFactory();
    AttendanceReqContractSettings bo = AttendanceReqContractSettingsVoAssembler.extractAttendanceReqContractSettings(factory, record);
    getDomainFactory().save(bo);
    return AttendanceReqContractSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo getConfiguration(ConfiguredJobRefVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");

    DomainFactory factory = getDomainFactory();

    AttendanceReqContractSettings bo = AttendanceReqContractSettings.getAttendanceReqContractSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return AttendanceReqContractSettingsVoAssembler.create(bo);
}
项目:openMAXIMS    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo saveConfiguration(ims.emergency.vo.AttendanceReqContractSettingsVo record) throws ims.domain.exceptions.StaleObjectException
{
    if(record == null)
        throw new CodingRuntimeException("Invalid configuration");

    if(!record.isValidated())
        throw new CodingRuntimeException("Configuration not validated");

    DomainFactory factory = getDomainFactory();
    AttendanceReqContractSettings bo = AttendanceReqContractSettingsVoAssembler.extractAttendanceReqContractSettings(factory, record);
    getDomainFactory().save(bo);
    return AttendanceReqContractSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo getConfiguration(ConfiguredJobRefVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");

    DomainFactory factory = getDomainFactory();

    AttendanceReqContractSettings bo = AttendanceReqContractSettings.getAttendanceReqContractSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return AttendanceReqContractSettingsVoAssembler.create(bo);
}
项目:openmaxims-linux    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo saveConfiguration(ims.emergency.vo.AttendanceReqContractSettingsVo record) throws ims.domain.exceptions.StaleObjectException
{
    if(record == null)
        throw new CodingRuntimeException("Invalid configuration");

    if(!record.isValidated())
        throw new CodingRuntimeException("Configuration not validated");

    DomainFactory factory = getDomainFactory();
    AttendanceReqContractSettings bo = AttendanceReqContractSettingsVoAssembler.extractAttendanceReqContractSettings(factory, record);
    getDomainFactory().save(bo);
    return AttendanceReqContractSettingsVoAssembler.create(bo); 
}
项目:openmaxims-linux    文件:AttendanceRequiringContractingTaskSettingsImpl.java   
public ims.emergency.vo.AttendanceReqContractSettingsVo getConfiguration(ConfiguredJobRefVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");

    DomainFactory factory = getDomainFactory();

    AttendanceReqContractSettings bo = AttendanceReqContractSettings.getAttendanceReqContractSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return AttendanceReqContractSettingsVoAssembler.create(bo);
}
项目:openMAXIMS    文件:AttendanceRequiringContractingJobImpl.java   
private AttendanceReqContractSettingsVo getJobDetails() 
{
    AttendanceReqContractSettings doAttendanceReqContractSettings = AttendanceReqContractSettings.getAttendanceReqContractSettingsFromConfiguredJob(getDomainFactory(), super.getConfiguredJob().getConfiguredScheduledJobID());
    return AttendanceReqContractSettingsVoAssembler.create(doAttendanceReqContractSettings);
}