Search in sources :

Example 16 with ConfigurationMap

use of eu.bcvsolutions.idm.core.api.domain.ConfigurationMap in project CzechIdMng by bcvsolutions.

the class DefaultEntityEventManager method getProperties.

/**
 * Remove internal event properties needed for processing
 *
 * @param event
 * @return
 */
private ConfigurationMap getProperties(IdmEntityEventDto event) {
    ConfigurationMap copiedProperies = new ConfigurationMap();
    copiedProperies.putAll(event.getProperties());
    // 
    // remove internal event properties needed for processing
    copiedProperies.remove(EVENT_PROPERTY_EVENT_ID);
    copiedProperies.remove(EVENT_PROPERTY_EXECUTE_DATE);
    copiedProperies.remove(EVENT_PROPERTY_PARENT_EVENT_TYPE);
    copiedProperies.remove(EVENT_PROPERTY_PRIORITY);
    copiedProperies.remove(EVENT_PROPERTY_SKIP_NOTIFY);
    copiedProperies.remove(EVENT_PROPERTY_SUPER_OWNER_ID);
    // 
    return copiedProperies;
}
Also used : ConfigurationMap(eu.bcvsolutions.idm.core.api.domain.ConfigurationMap)

Aggregations

ConfigurationMap (eu.bcvsolutions.idm.core.api.domain.ConfigurationMap)16 AbstractUnitTest (eu.bcvsolutions.idm.test.api.AbstractUnitTest)15 Test (org.junit.Test)15 UUID (java.util.UUID)3 IdmIdentityDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto)2