Class MetadataContentHistoryEntry


  • public class MetadataContentHistoryEntry
    extends Object
    The tranfer object of the History. It contains all the needed information about a historical metadata event
    • Constructor Detail

      • MetadataContentHistoryEntry

        public MetadataContentHistoryEntry​(com.atlassian.confluence.core.ContentEntityObject ceo,
                                           Date time,
                                           com.atlassian.confluence.user.ConfluenceUser user,
                                           String metadataFieldKey,
                                           String metadataFieldName,
                                           String oldValue,
                                           String newValue)
    • Method Detail

      • getTime

        public Date getTime()
        Getter for property 'time'.
        Returns:
        Value for property 'time'.
      • getUser

        public com.atlassian.confluence.user.ConfluenceUser getUser()
        Getter for property 'user'.
        Returns:
        Value for property 'user'.
      • getOldValue

        public String getOldValue()
        Getter for property 'oldValue'.
        Returns:
        Value for property 'oldValue'.
      • getNewValue

        public String getNewValue()
        Getter for property 'newValue'.
        Returns:
        Value for property 'newValue'.
      • getAction

        public String getAction()
        The action can be NEW, CREATE or CHANGE to show what happens in this event
        Returns:
        Value for property 'action'.
      • getMetadataFieldKey

        public String getMetadataFieldKey()
        Getter for property 'metadataFieldKey'.
        Returns:
        Value for property 'metadataFieldKey'.
      • getMetadataFieldName

        public String getMetadataFieldName()
        Getter for property 'metadataFieldName'.
        Returns:
        Value for property 'metadataFieldName'.
      • getCeo

        public com.atlassian.confluence.core.ContentEntityObject getCeo()
        Returns:
        the ContentEntityObject associated with this history entry