Class HistoryEntry

    • Field Detail

      • revisionId

        protected java.lang.Long revisionId
        The autogenerated id of this event.
      • repoId

        protected java.lang.String repoId
        The repo ID of the embedded EppResource that this event mutated.

        Note that the embedded EPP resource is of a base type for which the repo ID field is @Transient, which is NOT persisted as part of the embedded entity. After a HistoryEntry is loaded from SQL, the postLoad() methods re-populates the field inside the EPP resource.

    • Constructor Detail

      • HistoryEntry

        public HistoryEntry()
    • Method Detail

      • getRevisionId

        public long getRevisionId()
      • getResource

        protected abstract EppResource getResource()
      • getResourceType

        public java.lang.Class<? extends EppResource> getResourceType()
      • getRepoId

        public java.lang.String getRepoId()
      • getXmlBytes

        public byte[] getXmlBytes()
      • getModificationTime

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

        public java.lang.String getRegistrarId()
      • getTrid

        @Nullable
        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()
      • getResourceAtPointInTime

        public abstract java.util.Optional<? extends EppResource> getResourceAtPointInTime()
      • processResourcePostLoad

        protected void processResourcePostLoad()
      • postLoad

        protected void postLoad()