Interface OMRSInstanceEventProcessorClassificationExtension

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void processClassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, EntityProxy entity, Classification classification)
      A new classification has been added to an entity.
      void processDeclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, EntityProxy entity, Classification originalClassification)
      A classification has been removed from an entity.
      void processReclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, EntityProxy entity, Classification originalClassification, Classification classification)
      An existing classification has been changed on an entity.
    • Method Detail

      • processClassifiedEntityEvent

        void processClassifiedEntityEvent​(java.lang.String sourceName,
                                          java.lang.String originatorMetadataCollectionId,
                                          java.lang.String originatorServerName,
                                          java.lang.String originatorServerType,
                                          java.lang.String originatorOrganizationName,
                                          EntityProxy entity,
                                          Classification classification)
        A new classification has been added to an entity.
        Parameters:
        sourceName - name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
        originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that sent the event.
        originatorServerName - name of the server that the event came from.
        originatorServerType - type of server that the event came from.
        originatorOrganizationName - name of the organization that owns the server that sent the event.
        entity - proxy of the entity with the new classification added. No guarantee this is all the classifications.
        classification - new classification
      • processDeclassifiedEntityEvent

        void processDeclassifiedEntityEvent​(java.lang.String sourceName,
                                            java.lang.String originatorMetadataCollectionId,
                                            java.lang.String originatorServerName,
                                            java.lang.String originatorServerType,
                                            java.lang.String originatorOrganizationName,
                                            EntityProxy entity,
                                            Classification originalClassification)
        A classification has been removed from an entity.
        Parameters:
        sourceName - name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
        originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that sent the event.
        originatorServerName - name of the server that the event came from.
        originatorServerType - type of server that the event came from.
        originatorOrganizationName - name of the organization that owns the server that sent the event.
        entity - proxy of the entity after the classification has been removed. No guarantee this is all the classifications.
        originalClassification - classification that was removed
      • processReclassifiedEntityEvent

        void processReclassifiedEntityEvent​(java.lang.String sourceName,
                                            java.lang.String originatorMetadataCollectionId,
                                            java.lang.String originatorServerName,
                                            java.lang.String originatorServerType,
                                            java.lang.String originatorOrganizationName,
                                            EntityProxy entity,
                                            Classification originalClassification,
                                            Classification classification)
        An existing classification has been changed on an entity.
        Parameters:
        sourceName - name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
        originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that sent the event.
        originatorServerName - name of the server that the event came from.
        originatorServerType - type of server that the event came from.
        originatorOrganizationName - name of the organization that owns the server that sent the event.
        entity - proxy of the entity after the classification has been changed. No guarantee this is all the classifications.
        originalClassification - classification that was removed
        classification - new classification