Class ProjectChangeRecord

    • Constructor Detail

      • ProjectChangeRecord

        public ProjectChangeRecord()
    • Method Detail

      • getMeta

        public RecordMeta<?> getMeta()
        Description copied from class: SRecordInstance
        This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-

         SRecord getMeta() {
           return meta;
         };
         

        The actual meta variable is thus not Serialized, but it would not be anyway as it is usually static.

        Specified by:
        getMeta in class PersistentRecord
      • addEditDetail

        public void addEditDetail​(java.lang.String detail)
      • getProjectID

        public long getProjectID()
      • getEditCount

        public long getEditCount()
      • getEditType

        public java.lang.String getEditType()
      • getUserName

        public java.lang.String getUserName()
      • getCommitMessage

        public java.lang.String getCommitMessage()
      • getEditDate

        public java.util.Date getEditDate()
      • getEditDetails

        public java.lang.String getEditDetails()
      • compareTo

        public int compareTo​(@Nonnull
                             ProjectChangeRecord o)
        Sort order is edit count, edit date, edit type, user name. Used in the rollback dialog.
        Specified by:
        compareTo in interface java.lang.Comparable<ProjectChangeRecord>