objectType = (String)options.get("objectType");
//if there is no parent folder, this will throw an exception to break this try~catch block
if(UEngineUtil.isNotEmpty(folder) && !folder.equals("-1")){
try{
pdhr.findByPrimaryKey(new Long(folder));
}catch(javax.ejb.ObjectNotFoundException e){
throw new UEngineException("No such folder");
}
}else{
folder="-1";