mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/persistence/PersistentDataStoreImpl.java
private void postEvent(final String topic,
                           final PersistentData persistentData)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(PersistentDataStore.EVENT_PROP_DATA_CONTEXT, persistentData.getContext());
        props.put(PersistentDataStore.EVENT_PROP_DATA_UUID, persistentData.getUUID());
        props.put(PersistentDataStore.EVENT_PROP_DATA_DESCRIPTION, persistentData.getDescription());
        postEvent(topic, props);
    }
/**
     * Helper method to wrap base postEvent and create the properties from the persistentData.
     * 
     * @param topic
     *            the specified event topic
     * @param persistentData
     *            the specified persistentData
     */
Helper method to wrap base postEvent and create the properties from the persistentData.

@param topic
the specified event topic
@param persistentData
the specified persistentData
Helper method to wrap base postEvent and create the properties from the persistentData . @param topic the specified event topic @param persistentData the specified persistentData
private void postEvent(final String topic,
                           final PersistentData persistentData)
    {
        final Map<String, Object> props = new HashMap<String, Object>();
        props.put(PersistentDataStore.EVENT_PROP_DATA_CONTEXT, persistentData.getContext());
        props.put(PersistentDataStore.EVENT_PROP_DATA_UUID, persistentData.getUUID());
        props.put(PersistentDataStore.EVENT_PROP_DATA_DESCRIPTION, persistentData.getDescription());
        postEvent(topic, props);
    }
private void postEvent ( final String topic , final PersistentData persistentData ) { final Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( PersistentDataStore . EVENT_PROP_DATA_CONTEXT , persistentData . getContext ( ) ) ; props . put ( PersistentDataStore . EVENT_PROP_DATA_UUID , persistentData . getUUID ( ) ) ; props . put ( PersistentDataStore . EVENT_PROP_DATA_DESCRIPTION , persistentData . getDescription ( ) ) ; postEvent ( topic , props ) ; }
Helper method to wrap base postEvent and create the properties from the persistentData.
Helper method to wrap base postEvent and create the properties from the persistentData .