Package org.olat.core.id.change

Examples of org.olat.core.id.change.ObjectAccessEvent


  }

  // Handling Update Event
  public void event(Event event) {
    if (ChangeManager.isChangeEvent(event)) {
      ObjectAccessEvent oae = (ObjectAccessEvent) event;     
      if (Tracing.isDebugEnabled(GroupIndexer.class)) Tracing.logDebug("info: oae = "+oae.toString(),GroupIndexer.class);
      int action = oae.getAction();
      Long   id   = oae.getOresId();
      BusinessGroup newBusinessGroup = BusinessGroupManagerImpl.getInstance().loadBusinessGroup(id,true);
      SearchResourceContext searchResourceContext = new SearchResourceContext(); // businessContextString
      searchResourceContext.setBusinessControlFor(newBusinessGroup);
      Document document = GroupDocument.createDocument(searchResourceContext, newBusinessGroup);
      if (action == ChangeManager.ACTION_UPDATE) {
View Full Code Here

TOP

Related Classes of org.olat.core.id.change.ObjectAccessEvent

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.