Examples of PublishedChannelDefinitionPortalEvent


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

                  (newChannel ? "published" : "modified") + ".");
      }

      // Record that a channel has been published or modified
      if (newChannel) {
        eventPublisher.publishEvent(new PublishedChannelDefinitionPortalEvent(definition, publisher, definition));
      } else {
        eventPublisher.publishEvent(new ModifiedChannelDefinitionPortalEvent(definition, publisher, definition));
      }

    return definition;
View Full Code Here

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

        EasyMock.expect(channelDefinition.getName()).andReturn("TestChannelDef").anyTimes();
        EasyMock.replay(channelDefinition);
       
       
       
        portalEvent = new PublishedChannelDefinitionPortalEvent(this, person, channelDefinition);
        this.jpaPortalEventStore.storePortalEvents(portalEvent);
        this.checkPoint();
       
        assertEquals(1, this.countRowsInTable("STATS_SESSION"));
        assertEquals(0, this.countRowsInTable("STATS_SESSION_GROUPS"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.