Class HistoryEntry

    • Field Detail

      • id

        public java.lang.Long id
        The autogenerated id of this event. Note that, this field is marked as Transient in the SQL schema, this is because the child class of HistoryEntry, e.g. DomainHistory, uses a composite primary key which the id is part of, and Hibernate requires that all the Id fields must be put in the exact same class.
      • parent

        protected com.googlecode.objectify.Key<? extends EppResource> parent
        The resource this event mutated.
      • domainTransactionRecords

        protected java.util.Set<DomainTransactionRecord> domainTransactionRecords
        Logging field for transaction reporting.

        This will be empty for any HistoryEntry generated before this field was added. This will also be empty if the HistoryEntry refers to an EPP mutation that does not affect domain transaction counts (such as contact or host mutations).

    • Constructor Detail

      • HistoryEntry

        public HistoryEntry()
    • Method Detail

      • getId

        public long getId()
      • getParent

        public com.googlecode.objectify.Key<? extends EppResource> getParent()
      • getPeriod

        public Period getPeriod()
      • getXmlBytes

        public byte[] getXmlBytes()
      • getModificationTime

        public org.joda.time.DateTime getModificationTime()
      • getClientId

        public java.lang.String getClientId()
      • getOtherClientId

        public java.lang.String getOtherClientId()
      • getTrid

        public Trid getTrid()
        Returns the TRID, which may be null if the entry was not created by a normal flow.
      • getBySuperuser

        public boolean getBySuperuser()
      • getReason

        public java.lang.String getReason()
      • getRequestedByRegistrar

        public java.lang.Boolean getRequestedByRegistrar()
      • toChildHistoryEntity

        public HistoryEntry toChildHistoryEntity()
      • createVKey

        public static VKey<? extends HistoryEntry> createVKey​(com.googlecode.objectify.Key<HistoryEntry> key)
        Creates a VKey instance from a Key instance.