Package de.iritgo.aktera.authentication.defaultauth.entity

Examples of de.iritgo.aktera.authentication.defaultauth.entity.UserDAO


    refreshAktarioJournalList(journalEntry);
  }

  private void refreshAktarioJournalList(JournalEntry journalEntry)
  {
    UserDAO userDAO = (UserDAO) SpringTools.getBean(UserDAO.ID);
    de.iritgo.aktera.authentication.defaultauth.entity.AkteraUser userAktera = userDAO.findUserById(journalEntry
            .getOwnerId());

    Properties props = new Properties();

    props.setProperty("akteraUserName", userAktera.getName());
View Full Code Here


    eventManager.fire("iritgo.aktera.journal.remove-all-entries", eventProps);

    journalDAO.deleteAllJournalEntriesByOwnerId(ownerId);

    UserDAO userDAO = (UserDAO) SpringTools.getBean(UserDAO.ID);
    de.iritgo.aktera.authentication.defaultauth.entity.AkteraUser userAktera = userDAO.findUserById(ownerId);

    Properties props = new Properties();
    props.setProperty("akteraUserName", userAktera.getName());
    CommandTools.performAsync("de.iritgo.aktera.journal.RefreshJournal", props);
  }
View Full Code Here

      int userId = request.getParameterAsInt("userId", - 1);
      if (! UserTools.currentUserIsInGroup(request, "manager") && UserTools.getCurrentUserId(request) != userId)
      {
        throw new PermissionException("Permission denied to edit com device function keys of user " + userId);
      }
      UserDAO userDAO = (UserDAO) SpringTools.getBean(UserDAO.ID);
      return userDAO.findUserById(userId).getName();
    }
    return UserTools.getCurrentUserName(request);
  }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.authentication.defaultauth.entity.UserDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.