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

项目:AvoinApotti    文件:EmergencyHelper.java   
public EDAttendanceformsConfigVo getEDAttendanceformsConfig()
{
    DomainFactory factory = getDomainFactory();
    String hql = "select edAttFormConfig from EDAttendenceformsConfig as edAttFormConfig";
    List<?> list = factory.find(hql);

    return EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(list).get(0);

}
项目:AvoinApotti    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo getEDAttandanceformsConfigVo()
{
    DomainFactory factory = getDomainFactory();
    List<?> lstedattendace =  factory.find("select e1_1 from EDAttendenceformsConfig as e1_1 where(e1_1.isRIE is null) order by e1_1.systemInformation.creationDateTime desc");
    if(lstedattendace != null && lstedattendace.size() >0)
    {
        EDAttendanceformsConfigVoCollection tempColl = EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(lstedattendace);
        if( tempColl != null && tempColl.size() > 0)
            return tempColl.get(0);
    }

    return null;        

}
项目:openMAXIMS    文件:EmergencyHelper.java   
public EDAttendanceformsConfigVo getEDAttendanceformsConfig()
{
    DomainFactory factory = getDomainFactory();
    String hql = "select edAttFormConfig from EDAttendenceformsConfig as edAttFormConfig";
    List<?> list = factory.find(hql);

    return EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(list).get(0);

}
项目:openMAXIMS    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo getEDAttandanceformsConfigVo()
{
    DomainFactory factory = getDomainFactory();
    List<?> lstedattendace =  factory.find("select e1_1 from EDAttendenceformsConfig as e1_1 where(e1_1.isRIE is null) order by e1_1.systemInformation.creationDateTime desc");
    if(lstedattendace != null && lstedattendace.size() >0)
    {
        EDAttendanceformsConfigVoCollection tempColl = EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(lstedattendace);
        if( tempColl != null && tempColl.size() > 0)
            return tempColl.get(0);
    }

    return null;        

}
项目:openMAXIMS    文件:EmergencyHelper.java   
public EDAttendanceformsConfigVo getEDAttendanceformsConfig()
{
    DomainFactory factory = getDomainFactory();
    String hql = "select edAttFormConfig from EDAttendenceformsConfig as edAttFormConfig";
    List<?> list = factory.find(hql);

    return EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(list).get(0);

}
项目:openMAXIMS    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo getEDAttandanceformsConfigVo()
{
    DomainFactory factory = getDomainFactory();
    List<?> lstedattendace =  factory.find("select e1_1 from EDAttendenceformsConfig as e1_1 where(e1_1.isRIE is null) order by e1_1.systemInformation.creationDateTime desc");
    if(lstedattendace != null && lstedattendace.size() >0)
    {
        EDAttendanceformsConfigVoCollection tempColl = EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(lstedattendace);
        if( tempColl != null && tempColl.size() > 0)
            return tempColl.get(0);
    }

    return null;        

}
项目:openmaxims-linux    文件:EmergencyHelper.java   
public EDAttendanceformsConfigVo getEDAttendanceformsConfig()
{
    DomainFactory factory = getDomainFactory();
    String hql = "select edAttFormConfig from EDAttendenceformsConfig as edAttFormConfig";
    List<?> list = factory.find(hql);

    return EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(list).get(0);

}
项目:openmaxims-linux    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo getEDAttandanceformsConfigVo()
{
    DomainFactory factory = getDomainFactory();
    List<?> lstedattendace =  factory.find("select e1_1 from EDAttendenceformsConfig as e1_1 where(e1_1.isRIE is null) order by e1_1.systemInformation.creationDateTime desc");
    if(lstedattendace != null && lstedattendace.size() >0)
    {
        EDAttendanceformsConfigVoCollection tempColl = EDAttendanceformsConfigVoAssembler.createEDAttendanceformsConfigVoCollectionFromEDAttendenceformsConfig(lstedattendace);
        if( tempColl != null && tempColl.size() > 0)
            return tempColl.get(0);
    }

    return null;        

}
项目:AvoinApotti    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo saveEDAttandanceformsConfigVo(ims.core.vo.EDAttendanceformsConfigVo record) throws ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException
{
    if (record == null)
        throw new CodingRuntimeException("Cannot save null EDAttendanceformsConfigVo");

    DomainFactory factory = getDomainFactory();

    EDAttendenceformsConfig doEDAttendenceformsConfig = EDAttendanceformsConfigVoAssembler.extractEDAttendenceformsConfig(factory, record);

    factory.save(doEDAttendenceformsConfig);
    return EDAttendanceformsConfigVoAssembler.create(doEDAttendenceformsConfig);

}
项目:openMAXIMS    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo saveEDAttandanceformsConfigVo(ims.core.vo.EDAttendanceformsConfigVo record) throws ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException
{
    if (record == null)
        throw new CodingRuntimeException("Cannot save null EDAttendanceformsConfigVo");

    DomainFactory factory = getDomainFactory();

    EDAttendenceformsConfig doEDAttendenceformsConfig = EDAttendanceformsConfigVoAssembler.extractEDAttendenceformsConfig(factory, record);

    factory.save(doEDAttendenceformsConfig);
    return EDAttendanceformsConfigVoAssembler.create(doEDAttendenceformsConfig);

}
项目:openMAXIMS    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo saveEDAttandanceformsConfigVo(ims.core.vo.EDAttendanceformsConfigVo record) throws ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException
{
    if (record == null)
        throw new CodingRuntimeException("Cannot save null EDAttendanceformsConfigVo");

    DomainFactory factory = getDomainFactory();

    EDAttendenceformsConfig doEDAttendenceformsConfig = EDAttendanceformsConfigVoAssembler.extractEDAttendenceformsConfig(factory, record);

    factory.save(doEDAttendenceformsConfig);
    return EDAttendanceformsConfigVoAssembler.create(doEDAttendenceformsConfig);

}
项目:openmaxims-linux    文件:EDConfigImpl.java   
public ims.core.vo.EDAttendanceformsConfigVo saveEDAttandanceformsConfigVo(ims.core.vo.EDAttendanceformsConfigVo record) throws ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.ForeignKeyViolationException
{
    if (record == null)
        throw new CodingRuntimeException("Cannot save null EDAttendanceformsConfigVo");

    DomainFactory factory = getDomainFactory();

    EDAttendenceformsConfig doEDAttendenceformsConfig = EDAttendanceformsConfigVoAssembler.extractEDAttendenceformsConfig(factory, record);

    factory.save(doEDAttendenceformsConfig);
    return EDAttendanceformsConfigVoAssembler.create(doEDAttendenceformsConfig);

}