com.day.cq.replication.impl
Class ReplicationUtil

java.lang.Object
  extended by com.day.cq.replication.impl.ReplicationUtil

public class ReplicationUtil
extends Object


Field Summary
static String NODE_PROPERTY_LAST_PUBLISHED
           
static String NODE_PROPERTY_LAST_PUBLISHED_BY
           
static String NODE_PROPERTY_LAST_REPLICATED
           
static String NODE_PROPERTY_LAST_REPLICATED_BY
           
static String NODE_PROPERTY_LAST_REPLICATION_ACTION
           
static String NODE_PROPERTY_LAST_REPLICATION_STATUS
           
static String NODE_TYPE
           
 
Constructor Summary
ReplicationUtil()
           
 
Method Summary
static org.osgi.service.event.Event createJobEvent(ReplicationAction action, SyndicationAgentConfig config, SyndicationLog syndLog, ReplicationContent[] content, ReplicationOptions options)
          Create an OSGi job event out of the replication event.
static ReplicationContent[] getContent(org.osgi.service.event.Event event)
          Extract the content from the OSGi event.
static SyndicationLog getSyndicationLog(org.osgi.service.event.Event event)
          Extract the syndication log from the OSGi event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_PROPERTY_LAST_PUBLISHED

public static final String NODE_PROPERTY_LAST_PUBLISHED
See Also:
Constant Field Values

NODE_PROPERTY_LAST_PUBLISHED_BY

public static final String NODE_PROPERTY_LAST_PUBLISHED_BY
See Also:
Constant Field Values

NODE_PROPERTY_LAST_REPLICATED

public static final String NODE_PROPERTY_LAST_REPLICATED
See Also:
Constant Field Values

NODE_PROPERTY_LAST_REPLICATED_BY

public static final String NODE_PROPERTY_LAST_REPLICATED_BY
See Also:
Constant Field Values

NODE_PROPERTY_LAST_REPLICATION_ACTION

public static final String NODE_PROPERTY_LAST_REPLICATION_ACTION
See Also:
Constant Field Values

NODE_PROPERTY_LAST_REPLICATION_STATUS

public static final String NODE_PROPERTY_LAST_REPLICATION_STATUS
See Also:
Constant Field Values

NODE_TYPE

public static final String NODE_TYPE
See Also:
Constant Field Values
Constructor Detail

ReplicationUtil

public ReplicationUtil()
Method Detail

createJobEvent

public static org.osgi.service.event.Event createJobEvent(ReplicationAction action,
                                                          SyndicationAgentConfig config,
                                                          SyndicationLog syndLog,
                                                          ReplicationContent[] content,
                                                          ReplicationOptions options)
Create an OSGi job event out of the replication event.

Returns:
A new OSGi event.

getContent

public static ReplicationContent[] getContent(org.osgi.service.event.Event event)
Extract the content from the OSGi event.


getSyndicationLog

public static SyndicationLog getSyndicationLog(org.osgi.service.event.Event event)
Extract the syndication log from the OSGi event.



Copyright © 2008 Day Management AG. All Rights Reserved.