Changing asset's community
One answer
Given that you have permissions to move that asset:
session.setWebServiceTimeout(10000);
RAMAsset asset = session.getAsset(new AssetIdentification("8EBA94E9-3778-FFF7-FC19-8EA4E078963A", "1.0"));
System.out.print("Asset's Community: " + asset.getCommunity().getName());
asset.setCommunity(session.getCommunity("Open Source Pilot"));
session.put(asset, new NullProgressMonitor());
System.out.print("\nAsset updated with Community: " + asset.getCommunity().getName());
session.release();