Interface ContentAwareAttribute


  • public interface ContentAwareAttribute
    Should be implemented by all Objects which are a representation of a content object of some kind. The api will update all content aware attributes of a content change if the ContentChangeListener is connected.
    Author:
    lrosenberg
    • Method Detail

      • deleteOnChange

        boolean deleteOnChange()
        Called first, if this returns true, the object will be removed from any cache its in.
        Returns:
        boolean param
      • notifyContentChange

        void notifyContentChange​(String documentName,
                                 String documentId)
        If delete on change returns false this method is called.
        Parameters:
        documentName - name
        documentId - id