To archive an asset, use RAMAsset.setAction(RAMAction) and pass in RAMAction.ARCHIVE.
//Archive an Asset
newAsset.setAction(RAMAction.ARCHIVE);
session.put(newAsset, new NullProgressMonitor());