Class ModelEvent

    • Method Detail

      • getChangeType

        public ChangeType getChangeType()
      • getFocusPrimaryDelta

        public ObjectDelta<?> getFocusPrimaryDelta()
      • getFocusSecondaryDelta

        public ObjectDelta<?> getFocusSecondaryDelta()
      • hasFocusOfType

        public boolean hasFocusOfType​(Class<? extends FocusType> clazz)
      • hasFocusOfType

        public boolean hasFocusOfType​(QName focusType)
      • isRelatedToItem

        public boolean isRelatedToItem​(ItemPath itemPath)
        Description copied from interface: Event
        Checks if the event is related to an item with a given path. The meaning of the result depends on a kind of event (focal, resource object, workflow) and on operation (add, modify, delete). Namely, this method is currently defined for ADD and MODIFY (not for DELETE) operations, for focal and resource objects events (not for workflow ones). For MODIFY it checks whether an item with a given path is touched. For ADD it checks whether there is a value for an item with a given path in the object created. For unsupported events the method returns false. Paths are compared without taking ID segments into account. EXPERIMENTAL; does not always work (mainly for values being deleted)
        Returns:
      • getFocusTypeName

        public String getFocusTypeName()
      • getContentAsFormattedList

        public String getContentAsFormattedList()
      • getContentAsFormattedList

        public String getContentAsFormattedList​(boolean showSynchronizationItems,
                                                boolean showAuxiliaryAttributes)
      • getFocusPassword

        public String getFocusPassword()
        Description copied from interface: Event
        Returns plaintext focus password value, if known. Beware: might not always work correctly: 1. If the change execution was only partially successful, the value returned might or might not be stored in the repo 2. If the password was changed to null, the 'null' value is returned. So the caller cannot distinguish it from "no change" situation. A new method for this would be needed.
      • debugDump

        public String debugDump​(int indent)