if (errors != null && errors.size() > 0) {
logger.error("Current user [" + userId + "] CANNOT execute document with id = " + docId + " with parameters = [" + parameters + "]!!!!");
throw new Exception("Current user [" + userId + "] CANNOT execute document with id = " + docId + " with specified parameters!!!!");
}
}
IRememberMeDAO dao=DAOFactory.getRememberMeDAO();
dao.setUserProfile(profile);
boolean inserted = dao.saveRememberMe(name, description, docId, subobjectId, userId, parameters);
if (inserted) {
message = "sbi.rememberme.saveOk";
} else {
message = "sbi.rememberme.alreadyExisting";
}