Java 类ims.admin.vo.domain.DocumentConversionSettingsVoAssembler 实例源码

项目:AvoinApotti    文件:DocumentConversionTaskSettingsImpl.java   
/**
* getConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettings.getDocumentConversionSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return DocumentConversionSettingsVoAssembler.create(bo);
}
项目:AvoinApotti    文件:DocumentConversionTaskSettingsImpl.java   
/**
* saveConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo saveConfiguration(ims.admin.vo.DocumentConversionSettingsVo configuration) throws ims.domain.exceptions.StaleObjectException
{
    if(configuration == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configuration.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettingsVoAssembler.extractDocumentConversionSettings(factory, configuration);
    getDomainFactory().save(bo);
    return DocumentConversionSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:DocumentConversionTaskSettingsImpl.java   
/**
* getConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettings.getDocumentConversionSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return DocumentConversionSettingsVoAssembler.create(bo);
}
项目:openMAXIMS    文件:DocumentConversionTaskSettingsImpl.java   
/**
* saveConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo saveConfiguration(ims.admin.vo.DocumentConversionSettingsVo configuration) throws ims.domain.exceptions.StaleObjectException
{
    if(configuration == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configuration.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettingsVoAssembler.extractDocumentConversionSettings(factory, configuration);
    getDomainFactory().save(bo);
    return DocumentConversionSettingsVoAssembler.create(bo); 
}
项目:openMAXIMS    文件:DocumentConversionTaskSettingsImpl.java   
/**
* getConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettings.getDocumentConversionSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return DocumentConversionSettingsVoAssembler.create(bo);
}
项目:openMAXIMS    文件:DocumentConversionTaskSettingsImpl.java   
/**
* saveConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo saveConfiguration(ims.admin.vo.DocumentConversionSettingsVo configuration) throws ims.domain.exceptions.StaleObjectException
{
    if(configuration == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configuration.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettingsVoAssembler.extractDocumentConversionSettings(factory, configuration);
    getDomainFactory().save(bo);
    return DocumentConversionSettingsVoAssembler.create(bo); 
}
项目:openmaxims-linux    文件:DocumentConversionTaskSettingsImpl.java   
/**
* getConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo getConfiguration(ims.admin.vo.ConfiguredJobVo configuredJob)
{
    if(configuredJob == null)
        throw new CodingRuntimeException("Invalid job");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettings.getDocumentConversionSettingsFromConfiguredJob(factory, configuredJob.getBoId());
    return DocumentConversionSettingsVoAssembler.create(bo);
}
项目:openmaxims-linux    文件:DocumentConversionTaskSettingsImpl.java   
/**
* saveConfiguration
*/
public ims.admin.vo.DocumentConversionSettingsVo saveConfiguration(ims.admin.vo.DocumentConversionSettingsVo configuration) throws ims.domain.exceptions.StaleObjectException
{
    if(configuration == null)
        throw new CodingRuntimeException("Invalid configuration");
    if(!configuration.isValidated())
        throw new CodingRuntimeException("Configuration not validated");
    DomainFactory factory = getDomainFactory();
    DocumentConversionSettings bo = DocumentConversionSettingsVoAssembler.extractDocumentConversionSettings(factory, configuration);
    getDomainFactory().save(bo);
    return DocumentConversionSettingsVoAssembler.create(bo); 
}