Package de.micromata.hibernate.history

Examples of de.micromata.hibernate.history.HistoryUserRetriever


    final PFUserDO contextUser = PFUserContext.getUser();
    final String userPk = contextUser != null ? contextUser.getId().toString() : null;
    if (userPk == null) {
      log.warn("No user found for creating history entry.");
    }
    historyAdapter.createHistoryEntry(entity, id, new HistoryUserRetriever() {
      public String getPrincipal()
      {
        return userPk;
      }
    }, property, valueClass, oldValue, newValue);
View Full Code Here

TOP

Related Classes of de.micromata.hibernate.history.HistoryUserRetriever

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.