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

项目:AvoinApotti    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection saveConfiguration(ims.core.vo.MotorChartAreaDetailVoCollection configuration) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException, ims.domain.exceptions.UniqueKeyViolationException
{
    if (configuration == null)
        throw new DomainInterfaceException("Configuration is empty");

    if (!configuration.isValidated())
        throw new DomainRuntimeException("Motor Chart Area Configuration not validated");

    DomainFactory domainFactory = getDomainFactory();

    for (int i = 0; i < configuration.size(); i++)
    {
        domainFactory.save(MotorChartAreaDetailVoAssembler.extractMotorChartAreaDetail(domainFactory, configuration.get(i)));
    }

    return configuration;
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection saveConfiguration(ims.core.vo.MotorChartAreaDetailVoCollection configuration) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException, ims.domain.exceptions.UniqueKeyViolationException
{
    if (configuration == null)
        throw new DomainInterfaceException("Configuration is empty");

    if (!configuration.isValidated())
        throw new DomainRuntimeException("Motor Chart Area Configuration not validated");

    DomainFactory domainFactory = getDomainFactory();

    for (int i = 0; i < configuration.size(); i++)
    {
        domainFactory.save(MotorChartAreaDetailVoAssembler.extractMotorChartAreaDetail(domainFactory, configuration.get(i)));
    }

    return configuration;
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection saveConfiguration(ims.core.vo.MotorChartAreaDetailVoCollection configuration) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException, ims.domain.exceptions.UniqueKeyViolationException
{
    if (configuration == null)
        throw new DomainInterfaceException("Configuration is empty");

    if (!configuration.isValidated())
        throw new DomainRuntimeException("Motor Chart Area Configuration not validated");

    DomainFactory domainFactory = getDomainFactory();

    for (int i = 0; i < configuration.size(); i++)
    {
        domainFactory.save(MotorChartAreaDetailVoAssembler.extractMotorChartAreaDetail(domainFactory, configuration.get(i)));
    }

    return configuration;
}
项目:openmaxims-linux    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection saveConfiguration(ims.core.vo.MotorChartAreaDetailVoCollection configuration) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException, ims.domain.exceptions.UniqueKeyViolationException
{
    if (configuration == null)
        throw new DomainInterfaceException("Configuration is empty");

    if (!configuration.isValidated())
        throw new DomainRuntimeException("Motor Chart Area Configuration not validated");

    DomainFactory domainFactory = getDomainFactory();

    for (int i = 0; i < configuration.size(); i++)
    {
        domainFactory.save(MotorChartAreaDetailVoAssembler.extractMotorChartAreaDetail(domainFactory, configuration.get(i)));
    }

    return configuration;
}
项目:AvoinApotti    文件:MotorChartConfigurationImpl.java   
public MotorChartAreaDetailVo getMotorChartArea(MotorChartAreaDetailRefVo motorChartArea) throws DomainInterfaceException
{
    if (motorChartArea == null || !motorChartArea.getID_MotorChartAreaDetailIsNotNull())
        return null;

    return MotorChartAreaDetailVoAssembler.create((MotorChartAreaDetail) getDomainFactory().getDomainObject(MotorChartAreaDetail.class, motorChartArea.getID_MotorChartAreaDetail()));
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public MotorChartAreaDetailVo getMotorChartArea(MotorChartAreaDetailRefVo motorChartArea) throws DomainInterfaceException
{
    if (motorChartArea == null || !motorChartArea.getID_MotorChartAreaDetailIsNotNull())
        return null;

    return MotorChartAreaDetailVoAssembler.create((MotorChartAreaDetail) getDomainFactory().getDomainObject(MotorChartAreaDetail.class, motorChartArea.getID_MotorChartAreaDetail()));
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public MotorChartAreaDetailVo getMotorChartArea(MotorChartAreaDetailRefVo motorChartArea) throws DomainInterfaceException
{
    if (motorChartArea == null || !motorChartArea.getID_MotorChartAreaDetailIsNotNull())
        return null;

    return MotorChartAreaDetailVoAssembler.create((MotorChartAreaDetail) getDomainFactory().getDomainObject(MotorChartAreaDetail.class, motorChartArea.getID_MotorChartAreaDetail()));
}
项目:openmaxims-linux    文件:MotorChartConfigurationImpl.java   
public MotorChartAreaDetailVo getMotorChartArea(MotorChartAreaDetailRefVo motorChartArea) throws DomainInterfaceException
{
    if (motorChartArea == null || !motorChartArea.getID_MotorChartAreaDetailIsNotNull())
        return null;

    return MotorChartAreaDetailVoAssembler.create((MotorChartAreaDetail) getDomainFactory().getDomainObject(MotorChartAreaDetail.class, motorChartArea.getID_MotorChartAreaDetail()));
}
项目:AvoinApotti    文件:MedNeuroMotorPrototypeImpl.java   
public MotorChartAreaDetailVoCollection listMotorCharAreaDetail()
{
    String hqlString = "from MotorChartAreaDetail";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlString));
}
项目:AvoinApotti    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection listConfiguration() throws ims.domain.exceptions.DomainInterfaceException
{
    String hqlQuery = "from MotorChartAreaDetail as mc";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlQuery));
}
项目:openMAXIMS    文件:MedNeuroMotorPrototypeImpl.java   
public MotorChartAreaDetailVoCollection listMotorCharAreaDetail()
{
    String hqlString = "from MotorChartAreaDetail";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlString));
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection listConfiguration() throws ims.domain.exceptions.DomainInterfaceException
{
    String hqlQuery = "from MotorChartAreaDetail as mc";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlQuery));
}
项目:openMAXIMS    文件:MedNeuroMotorPrototypeImpl.java   
public MotorChartAreaDetailVoCollection listMotorCharAreaDetail()
{
    String hqlString = "from MotorChartAreaDetail";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlString));
}
项目:openMAXIMS    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection listConfiguration() throws ims.domain.exceptions.DomainInterfaceException
{
    String hqlQuery = "from MotorChartAreaDetail as mc";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlQuery));
}
项目:openmaxims-linux    文件:MedNeuroMotorPrototypeImpl.java   
public MotorChartAreaDetailVoCollection listMotorCharAreaDetail()
{
    String hqlString = "from MotorChartAreaDetail";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlString));
}
项目:openmaxims-linux    文件:MotorChartConfigurationImpl.java   
public ims.core.vo.MotorChartAreaDetailVoCollection listConfiguration() throws ims.domain.exceptions.DomainInterfaceException
{
    String hqlQuery = "from MotorChartAreaDetail as mc";

    return MotorChartAreaDetailVoAssembler.createMotorChartAreaDetailVoCollectionFromMotorChartAreaDetail(getDomainFactory().find(hqlQuery));
}