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

项目:AvoinApotti    文件:TransfersImpl.java   
public PendingTransfersVo saveTransfer(PendingTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null PendingTransfersVo");

    DomainFactory factory = getDomainFactory();

    PendingTransfers doTrans = PendingTransfersVoAssembler.extractPendingTransfers(factory, voTransfer);

    factory.save(doTrans);
    return (PendingTransfersVoAssembler.create(doTrans));       
}
项目:openMAXIMS    文件:TransfersImpl.java   
public PendingTransfersVo saveTransfer(PendingTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null PendingTransfersVo");
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");

    DomainFactory factory = getDomainFactory();

    PendingTransfers doTrans = PendingTransfersVoAssembler.extractPendingTransfers(factory, voTransfer);

    factory.save(doTrans);
    return (PendingTransfersVoAssembler.create(doTrans));       
}
项目:openMAXIMS    文件:TransfersImpl.java   
public PendingTransfersVo saveTransfer(PendingTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null PendingTransfersVo");

    DomainFactory factory = getDomainFactory();

    PendingTransfers doTrans = PendingTransfersVoAssembler.extractPendingTransfers(factory, voTransfer);

    factory.save(doTrans);
    return (PendingTransfersVoAssembler.create(doTrans));       
}
项目:openmaxims-linux    文件:TransfersImpl.java   
public PendingTransfersVo saveTransfer(PendingTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null PendingTransfersVo");

    DomainFactory factory = getDomainFactory();

    PendingTransfers doTrans = PendingTransfersVoAssembler.extractPendingTransfers(factory, voTransfer);

    factory.save(doTrans);
    return (PendingTransfersVoAssembler.create(doTrans));       
}
项目:openMAXIMS    文件:TransfersImpl.java   
public PendingTransfersVo getCurrentTransferRecord(PendingTransfersRefVo transferRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return PendingTransfersVoAssembler.create((PendingTransfers) factory.getDomainObject(PendingTransfers.class, transferRefVo.getID_PendingTransfers()));
}
项目:openMAXIMS    文件:TransfersImpl.java   
public PendingTransfersVo getCurrentTransferRecord(PendingTransfersRefVo transferRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return PendingTransfersVoAssembler.create((PendingTransfers) factory.getDomainObject(PendingTransfers.class, transferRefVo.getID_PendingTransfers()));
}
项目:openmaxims-linux    文件:TransfersImpl.java   
public PendingTransfersVo getCurrentTransferRecord(PendingTransfersRefVo transferRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return PendingTransfersVoAssembler.create((PendingTransfers) factory.getDomainObject(PendingTransfers.class, transferRefVo.getID_PendingTransfers()));
}
项目:AvoinApotti    文件:TransfersImpl.java   
public PendingTransfersVo getCurrentTransferRecord(PendingTransfersRefVo transferRefVo) 
{
    DomainFactory factory = getDomainFactory();
    return PendingTransfersVoAssembler.create((PendingTransfers) factory.getDomainObject(PendingTransfers.class, transferRefVo.getID_PendingTransfers()));
}