Java 类ims.core.vo.domain.DocumentsToBeDeletedVoAssembler 实例源码
项目:AvoinApotti
文件:PatientDocumentSearchImpl.java
public void saveToBeDeteled(DocumentsToBeDeletedVo document)
{
if(document == null)
throw new CodingRuntimeException("Can not save a null DocumentsToBeDeletedVo.");
if(!document.isValidated())
throw new CodingRuntimeException("DocumentsToBeDeletedVo not validated");
DomainFactory factory = getDomainFactory();
DocumentsToBeDeleted doDocument = DocumentsToBeDeletedVoAssembler.extractDocumentsToBeDeleted(factory, document);
try
{
factory.save(doDocument);
}
catch (StaleObjectException e)
{
//should never happen
}
}
项目:openMAXIMS
文件:PatientDocumentSearchImpl.java
public void saveToBeDeteled(DocumentsToBeDeletedVo document)
{
if(document == null)
throw new CodingRuntimeException("Can not save a null DocumentsToBeDeletedVo.");
if(!document.isValidated())
throw new CodingRuntimeException("DocumentsToBeDeletedVo not validated");
DomainFactory factory = getDomainFactory();
DocumentsToBeDeleted doDocument = DocumentsToBeDeletedVoAssembler.extractDocumentsToBeDeleted(factory, document);
try
{
factory.save(doDocument);
}
catch (StaleObjectException e)
{
//should never happen
}
}
项目:openMAXIMS
文件:PatientDocumentSearchImpl.java
public void saveToBeDeteled(DocumentsToBeDeletedVo document)
{
if(document == null)
throw new CodingRuntimeException("Can not save a null DocumentsToBeDeletedVo.");
if(!document.isValidated())
throw new CodingRuntimeException("DocumentsToBeDeletedVo not validated");
DomainFactory factory = getDomainFactory();
DocumentsToBeDeleted doDocument = DocumentsToBeDeletedVoAssembler.extractDocumentsToBeDeleted(factory, document);
try
{
factory.save(doDocument);
}
catch (StaleObjectException e)
{
//should never happen
}
}
项目:openmaxims-linux
文件:PatientDocumentSearchImpl.java
public void saveToBeDeteled(DocumentsToBeDeletedVo document)
{
if(document == null)
throw new CodingRuntimeException("Can not save a null DocumentsToBeDeletedVo.");
if(!document.isValidated())
throw new CodingRuntimeException("DocumentsToBeDeletedVo not validated");
DomainFactory factory = getDomainFactory();
DocumentsToBeDeleted doDocument = DocumentsToBeDeletedVoAssembler.extractDocumentsToBeDeleted(factory, document);
try
{
factory.save(doDocument);
}
catch (StaleObjectException e)
{
//should never happen
}
}