Package org.jasig.portal.events.support

Examples of org.jasig.portal.events.support.UserAddedFolderToLayoutPortalEvent


  }

  // Folders...
  public void folderAdded(LayoutEvent ev) {
    IUserLayoutFolderDescription folderDesc = (IUserLayoutFolderDescription)ev.getNodeDescription();
    EventPublisherLocator.getApplicationEventPublisher().publishEvent(new UserAddedFolderToLayoutPortalEvent(this, person, profile, folderDesc));
  }
View Full Code Here


        EasyMock.expect(layoutFolderDescription.getName()).andReturn("layoutFolder1").anyTimes();
       
        EasyMock.replay(layoutFolderDescription);
       
       
        portalEvent = new UserAddedFolderToLayoutPortalEvent(this, person, userProfile, layoutFolderDescription);
        this.jpaPortalEventStore.storePortalEvents(portalEvent);
        this.checkPoint();
       
        assertEquals(1, this.countRowsInTable("STATS_SESSION"));
        assertEquals(0, this.countRowsInTable("STATS_SESSION_GROUPS"));
View Full Code Here

TOP

Related Classes of org.jasig.portal.events.support.UserAddedFolderToLayoutPortalEvent

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.