use of org.vcell.util.BigString in project vcell by virtualcell.
the class LocalUserMetaDbServerMessaging method saveVCImageAs.
/**
* getVersionInfo method comment.
* @throws RemoteException
*/
public BigString saveVCImageAs(BigString vcImageXML, String newName) throws DataAccessException {
try {
log.print("LocalUserMetaDbServerMessaging.saveVCImage(newName=" + newName + ")");
BigString savedVCImageXML = dbServerProxy.saveVCImageAs(vcImageXML, newName);
return savedVCImageXML;
} catch (DataAccessException e) {
log.exception(e);
throw e;
} catch (Throwable e) {
log.exception(e);
throw new DataAccessException(e.getMessage());
}
}
use of org.vcell.util.BigString in project vcell by virtualcell.
the class LocalUserMetaDbServerMessaging method saveSimulation.
/**
* This method was created in VisualAge.
* @return Versionable
* @param versionable Versionable
* @param bVersion boolean
* @exception DataAccessException The exception description.
* @exception java.rmi.RemoteException The exception description.
*/
public org.vcell.util.BigString saveSimulation(org.vcell.util.BigString simulationXML, boolean bForceIndependent) throws DataAccessException {
try {
log.print("LocalUserMetaDbServerMessaging.saveSimulation()");
BigString savedSimulationXML = dbServerProxy.saveSimulation(simulationXML, bForceIndependent);
return savedSimulationXML;
} catch (DataAccessException e) {
log.exception(e);
throw e;
} catch (Throwable e) {
log.exception(e);
throw new DataAccessException(e.getMessage());
}
}
use of org.vcell.util.BigString in project vcell by virtualcell.
the class LocalUserMetaDbServerMessaging method saveBioModel.
/**
* getVersionInfo method comment.
* @throws RemoteException
*/
public BigString saveBioModel(BigString bioModelXML, String[] independentSims) throws DataAccessException {
try {
log.print("LocalUserMetaDbServerMessaging.saveBioModel()");
BigString savedBioModelXML = dbServerProxy.saveBioModel(bioModelXML, independentSims);
return savedBioModelXML;
} catch (DataAccessException e) {
log.exception(e);
throw e;
} catch (Throwable e) {
log.exception(e);
throw new DataAccessException(e.getMessage());
}
}
use of org.vcell.util.BigString in project vcell by virtualcell.
the class LocalUserMetaDbServerMessaging method getMathModelXML.
/**
* getVersionInfo method comment.
* @throws RemoteException
*/
public BigString getMathModelXML(KeyValue mathModelKey) throws DataAccessException, ObjectNotFoundException {
try {
log.print("LocalUserMetaDbServerMessaging.getMathModelXML(mathModelKey=" + mathModelKey + ")");
BigString xml = dbServerProxy.getMathModelXML(mathModelKey);
return xml;
} catch (DataAccessException e) {
log.exception(e);
throw e;
} catch (Throwable e) {
log.exception(e);
throw new DataAccessException(e.getMessage());
}
}
use of org.vcell.util.BigString in project vcell by virtualcell.
the class SimulationDatabaseDirect method getSimulation.
@Override
public Simulation getSimulation(User user, KeyValue simKey) throws DataAccessException {
Simulation sim = null;
BigString simstr = databaseServerImpl.getSimulationXML(user, simKey);
if (simstr != null) {
try {
sim = XmlHelper.XMLToSim(simstr.toString());
} catch (XmlParseException e) {
lg.error(e.getMessage(), e);
throw new DataAccessException(e.getMessage());
}
}
return sim;
}
Aggregations