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

项目:AvoinApotti    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo savePendingRecord(STHKPendingElectiveAdmissionListVo voPending) throws DomainInterfaceException, StaleObjectException 
{
    if (!voPending.isValidated())
        throw new CodingRuntimeException("Pending Record has not been validated");
    if(voPending == null)
        throw new CodingRuntimeException("Cannot save null STHKPendingElectiveAdmissionListVo");

    DomainFactory factory = getDomainFactory();

    PendingElectiveAdmission doElective = STHKPendingElectiveAdmissionListVoAssembler.extractPendingElectiveAdmission(factory, voPending);
    factory.save(doElective);
    return (STHKPendingElectiveAdmissionListVoAssembler.create(doElective));        
}
项目:openMAXIMS    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo savePendingRecord(STHKPendingElectiveAdmissionListVo voPending) throws DomainInterfaceException, StaleObjectException 
{
    if (!voPending.isValidated())
        throw new CodingRuntimeException("Pending Record has not been validated");
    if(voPending == null)
        throw new CodingRuntimeException("Cannot save null STHKPendingElectiveAdmissionListVo");

    DomainFactory factory = getDomainFactory();

    PendingElectiveAdmission doElective = STHKPendingElectiveAdmissionListVoAssembler.extractPendingElectiveAdmission(factory, voPending);
    factory.save(doElective);
    return (STHKPendingElectiveAdmissionListVoAssembler.create(doElective));        
}
项目:openMAXIMS    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo savePendingRecord(STHKPendingElectiveAdmissionListVo voPending) throws DomainInterfaceException, StaleObjectException 
{
    if (!voPending.isValidated())
        throw new CodingRuntimeException("Pending Record has not been validated");
    if(voPending == null)
        throw new CodingRuntimeException("Cannot save null STHKPendingElectiveAdmissionListVo");

    DomainFactory factory = getDomainFactory();

    PendingElectiveAdmission doElective = STHKPendingElectiveAdmissionListVoAssembler.extractPendingElectiveAdmission(factory, voPending);
    factory.save(doElective);
    return (STHKPendingElectiveAdmissionListVoAssembler.create(doElective));        
}
项目:openmaxims-linux    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo savePendingRecord(STHKPendingElectiveAdmissionListVo voPending) throws DomainInterfaceException, StaleObjectException 
{
    if (!voPending.isValidated())
        throw new CodingRuntimeException("Pending Record has not been validated");
    if(voPending == null)
        throw new CodingRuntimeException("Cannot save null STHKPendingElectiveAdmissionListVo");

    DomainFactory factory = getDomainFactory();

    PendingElectiveAdmission doElective = STHKPendingElectiveAdmissionListVoAssembler.extractPendingElectiveAdmission(factory, voPending);
    factory.save(doElective);
    return (STHKPendingElectiveAdmissionListVoAssembler.create(doElective));        
}
项目:AvoinApotti    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo getCurrentPendingRecord(PendingElectiveAdmissionRefVo electiveRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return STHKPendingElectiveAdmissionListVoAssembler.create((PendingElectiveAdmission) factory.getDomainObject(PendingElectiveAdmission.class, electiveRefVo.getID_PendingElectiveAdmission()));
}
项目:openMAXIMS    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo getCurrentPendingRecord(PendingElectiveAdmissionRefVo electiveRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return STHKPendingElectiveAdmissionListVoAssembler.create((PendingElectiveAdmission) factory.getDomainObject(PendingElectiveAdmission.class, electiveRefVo.getID_PendingElectiveAdmission()));
}
项目:openMAXIMS    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo getCurrentPendingRecord(PendingElectiveAdmissionRefVo electiveRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return STHKPendingElectiveAdmissionListVoAssembler.create((PendingElectiveAdmission) factory.getDomainObject(PendingElectiveAdmission.class, electiveRefVo.getID_PendingElectiveAdmission()));
}
项目:openmaxims-linux    文件:STHKPendingElectiveAdmissionsListComponentImpl.java   
public STHKPendingElectiveAdmissionListVo getCurrentPendingRecord(PendingElectiveAdmissionRefVo electiveRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return STHKPendingElectiveAdmissionListVoAssembler.create((PendingElectiveAdmission) factory.getDomainObject(PendingElectiveAdmission.class, electiveRefVo.getID_PendingElectiveAdmission()));
}