All Implemented Interfaces:
Serializable, Comparable<ProjectChangeRecord>

public class ProjectChangeRecord extends PersistentRecord implements Comparable<ProjectChangeRecord>
See Also:
  • Field Details

  • Constructor Details

    • ProjectChangeRecord

      public ProjectChangeRecord()
  • Method Details

    • 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(String detail)
    • getProjectID

      public long getProjectID()
    • getEditCount

      public long getEditCount()
    • getEditType

      public String getEditType()
    • getUserName

      public String getUserName()
    • getCommitMessage

      public String getCommitMessage()
    • getEditDate

      public Date getEditDate()
    • getEditDetails

      public 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 Comparable<ProjectChangeRecord>