* @see eu.planets_project.tb.api.data.util.DataHandler#storeDigitalObject(eu.planets_project.services.datatypes.DigitalObject, eu.planets_project.tb.api.model.Experiment)
*/
public URI storeDigitalObject(DigitalObject dob, Experiment exp) {
URI defaultDomUri = this.dataReg.getDefaultDigitalObjectManagerId();
this.log.info("Attempting to store in data registry: " + defaultDomUri);
UserBean currentUser = (UserBean) JSFUtil.getManagedObject("UserBean");
String userid = ".";
if( currentUser != null && currentUser.getUserid() != null ) {
userid = currentUser.getUserid();
}
// Store new DO in the user space, with path based on experiment details.
URI baseUri = null;
try {