Search in sources :

Example 6 with UserMetaDbServer

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;
}
Also used : UserMetaDbServer(cbit.vcell.server.UserMetaDbServer)

Aggregations

UserMetaDbServer (cbit.vcell.server.UserMetaDbServer)6 BioModelInfo (org.vcell.util.document.BioModelInfo)2 BioModel (cbit.vcell.biomodel.BioModel)1 VCellBootstrap (cbit.vcell.server.VCellBootstrap)1 VCellConnection (cbit.vcell.server.VCellConnection)1 XMLSource (cbit.vcell.xml.XMLSource)1 MalformedURLException (java.net.MalformedURLException)1 BigString (org.vcell.util.BigString)1 KeyValue (org.vcell.util.document.KeyValue)1 UserLoginInfo (org.vcell.util.document.UserLoginInfo)1 DigestedPassword (org.vcell.util.document.UserLoginInfo.DigestedPassword)1