To transition an asset's state set a RAMAction (which can be obtained through RAMAsset.getAvailableActions()) on an asset and put the asset through the session.
//Set the lifecycle action
newAsset.setAction(action);
session.put(newAsset, new NullProgressMonitor());