Administering community queued events
Use the CommunitiesQEventService commands to administer the lifecycle events that occur within a community.
Before you begin
About this task
Procedure
To administer the queued events that are associated with a community, complete the
following steps.
Example
viewQueuedEventsSummary()
wsadmin>CommunitiesQEventService.viewQueuedEventsSummary()
App Def Id Number Events Earliest Created
Activities 1 2009-03-28 11:56:44.453
Blog 1 2009-03-28 11:56:44.453
Files 2 2009-03-28 11:56:44.453
Forum 1 2009-03-28 11:56:44:453
Wiki 2 09-03-28 11:56:44.453
{NumEvents=2, RemoteAppDefId=Wiki, EarliestCreated=2009-03-28 11:56:44.453}
wsadmin>
viewQueuedEventsByResourceType
wsadmin>CommunitiesQEventService.viewQueuedEventsByResourceType("community", None, 100)
Remote App Resource Id Event Type Event Id
Blog e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 47362aa9-dfd7-43d4-bf42-3b069b0cbbbf
Files e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated 7685892-d8a8-4563-a433-1392b8b58e01
Forum e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated 1ab5492-d1a5-4114-0334-98882b8b58e01
Wiki e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated dccb0a7d-d6d4-4daa-9c03-6658a57631d0
Activities e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 3a4f2d84-8d7f-4a40-bc3c-36e02e9bb97b
Files e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 92c9f965-a8a3-481e-a0d4-0fdb856bb875
Forum e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 0325f966-f843-4065-6044-bddb856bb876
Wiki e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed ff635551-c59e-4ee7-b10f-0ca6e210c318
{ResourceId=e952cf0c-a86c-4e26-b1e0-f8bf40a75804, ManAppDefId=Wiki, ResourceType=1, Inserted=2009-03-28 15:57:26.000, EventId=ff635551-c59e-4ee7-b10f-0ca6e210c318, EventType=community.visibility.changed, InsertedLong=1238270246000}
wsadmin>
viewQueuedEventsByRemoteDefAppId
wsadmin>CommunitiesQEventService.viewQueuedEventsByRemoteAppDefId("Activities", None, 100)
Resource Type Id Resource Id Event Type Event Id
1 e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 3a4f2d84-8d7f-4a40-bc3c-36e02e9bb97b
{ResourceId=e952cf0c-a86c-4e26-b1e0-f8bf40a75804, RemAppDefId=Activities, ResourceType=1, Inserted=2009-03-28 15:57:25.873, EventId=3a4f2d84-8d7f-4a40-bc3c-36e02e9bb97b, EventType=community.visibility.changed, InsertedLong=1238270245873}
viewQueuedEventsByRemoteAppDefId
wsadmin>CommunitiesQEventService.viewQueuedEventsByRemoteAppDefId("Wiki", None, 100)
Resource Type Id Resource Id Event Type Event Id
1 e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated dccb0a7d-d6d4-4daa-9c03-6658a57631d0
1 e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed ff635551-c59e-4ee7-b10f-0ca6e210c318
{ResourceId=e952cf0c-a86c-4e26-b1e0-f8bf40a75804, RemAppDefId=Wiki, ResourceType=1, Inserted=2009-03-28 15:57:26.000, EventId=ff635551-c59e-4ee7-b10f-0ca6e210c318, EventType=community.visibility.changed, InsertedLong=1238270246000}
wsadmin>
viewQueuedEventsByRemoteAppDefId
wsadmin>CommunitiesQEventService.viewQueuedEventsByRemoteAppDefId("Blog", None, 100)
Resource Type Id Resource Id Event Type
1 e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed
Event Id
47362aa9-dfd7-43d4-bf42-3b069b0cbbbf
{ResourceId=e952cf0c-a86c-4e26-b1e0-f8bf40a75804, RemAppDefId=Blog, ResourceType=1, Inserted=2009-03-28 15:57:21.450, EventId=47362aa9-dfd7-43d4-bf42-3b069b0cbbbf, EventType=community.visibility.changed, InsertedLong=1238270241450}
wsadmin>
viewQueuedEventsByResourceId
wsadmin>CommunitiesQEventService.viewQueuedEventsByResourceId("community", "e952cf0c-a86c-4e26-b1e0-f8bf40a75804", None, 100)
Remote App Resource Id Event Type Event Id
Blog e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 47362aa9-dfd7-43d4-bf42-3b069b0cbbbf
Files e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated f7685892-d8a8-4563-a433-1392b8b58e01
Forum e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated 1ab5492-d1a5-4114-0334-98882b8b58e01
Wiki e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.updated dccb0a7d-d6d4-4daa-9c03-6658a57631d0
Activities e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 3a4f2d84-8d7f-4a40-bc3c-36e02e9bb97b
Files e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 92c9f965-a8a3-481e-a0d4-0fdb856bb875
Forum e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed 0325f966-f843-4065-6044-bddb856bb876
Wiki e952cf0c-a86c-4e26-b1e0-f8bf40a75804 community.visibility.changed ff635551-c59e-4ee7-b10f-0ca6e210c318
{ResourceId=e952cf0c-a86c-4e26-b1e0-f8bf40a75804, ManAppDefId=Wiki, ResourceType=1, Inserted=2009-03-28 15:57:26.000, EventId=ff635551-c59e-4ee7-b10f-0ca6e210c318, EventType=community.visibility.changed, InsertedLong=1238270246000}
wsadmin>