use of cbit.vcell.server.UserMetaDbServer in project vcell by virtualcell.
the class ClientDocumentManager method setGroupPrivate0.
/**
* Insert the method's description here.
* Creation date: (11/28/00 5:43:44 PM)
* @param bioModelInfo cbit.vcell.biomodel.BioModelInfo
*/
private <T extends VersionInfo> T setGroupPrivate0(VersionInfo versionInfo, VersionableType vType, Hashtable<KeyValue, T> vInfoHash) throws RemoteProxyException, DataAccessException {
//
// unpublish from database
//
UserMetaDbServer dbServer = sessionManager.getUserMetaDbServer();
@SuppressWarnings("unchecked") T newVersionInfo = (T) dbServer.groupSetPrivate(vType, versionInfo.getVersion().getVersionKey());
//
// replace versionInfo in hashTable
//
vInfoHash.remove(versionInfo.getVersion().getVersionKey());
vInfoHash.put(newVersionInfo.getVersion().getVersionKey(), newVersionInfo);
return newVersionInfo;
}
Aggregations