Class ChangeLogType

java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.changeLog.ChangeLogType
All Implemented Interfaces:
HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, Serializable, org.hibernate.classic.Lifecycle

public class ChangeLogType extends GrouperAPI implements Hib3GrouperVersioned
type of changeLog
See Also:
  • Field Details

  • Constructor Details

    • ChangeLogType

      public ChangeLogType()
      empty constructor
    • ChangeLogType

      public ChangeLogType(String changeLogCategory1, String actionName1, ChangeLogLabel... enumStrings)
      construct with more params
      Parameters:
      changeLogCategory1 -
      actionName1 -
      enumStrings - up to 8 label strings
    • ChangeLogType

      public ChangeLogType(String changeLogCategory1, String actionName1, String... labelStrings)
      construct with more params
      Parameters:
      changeLogCategory1 -
      actionName1 -
      labelStrings - up to 8 label strings
  • Method Details

    • equalsDeep

      public boolean equalsDeep(ChangeLogType changeLogType)
      see if one changeLog type is the same as another (not looking at last update, id, etc)
      Parameters:
      changeLogType -
      Returns:
      true if equals, false if not
    • labels

      public Set<String> labels()
      labels for this type
      Returns:
      the labels
    • retrieveChangeLogEntryFieldForLabel

      public String retrieveChangeLogEntryFieldForLabel(String label)
      get the field in changeLog entry for this label
      Parameters:
      label -
      Returns:
      the field
    • copyArgFieldIntoThis

      public void copyArgFieldIntoThis(ChangeLogType changeLogType)
      copy the argument into this
      Parameters:
      changeLogType -
    • toStringDeep

      public String toStringDeep()
      the string repre
      Returns:
      string
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • getId

      public String getId()
      uuid of row
      Returns:
      id
    • setId

      public void setId(String id1)
      uuid of row
      Parameters:
      id1 -
    • getChangeLogCategory

      public String getChangeLogCategory()
      category of changeLog
      Returns:
      changeLog type
    • setChangeLogCategory

      public void setChangeLogCategory(String changeLogCategory1)
      category of changeLog
      Parameters:
      changeLogCategory1 -
    • getActionName

      public String getActionName()
      action within the changeLog category
      Returns:
      the action name
    • setActionName

      public void setActionName(String actionName)
      action within the changeLog category
      Parameters:
      actionName -
    • getLastUpdated

      public Timestamp getLastUpdated()
      when last updated
      Returns:
      timestamp
    • getLastUpdatedDb

      public Long getLastUpdatedDb()
      when last updated
      Returns:
      timestamp
    • setLastUpdated

      public void setLastUpdated(Timestamp lastUpdated1)
      when last updated
      Parameters:
      lastUpdated1 -
    • setLastUpdatedDb

      public void setLastUpdatedDb(Long lastUpdated1)
      when last updated
      Parameters:
      lastUpdated1 -
    • getCreatedOn

      public Timestamp getCreatedOn()
      when created
      Returns:
      timestamp
    • getCreatedOnDb

      public Long getCreatedOnDb()
      when created
      Returns:
      timestamp
    • setCreatedOn

      public void setCreatedOn(Timestamp createdOn1)
      when created
      Parameters:
      createdOn1 -
    • setCreatedOnDb

      public void setCreatedOnDb(Long createdOn1)
      when created
      Parameters:
      createdOn1 -
    • onPreSave

      public void onPreSave(HibernateSession hibernateSession)
      Description copied from interface: HibGrouperLifecycle
      before a save (insert) occurs
      Specified by:
      onPreSave in interface HibGrouperLifecycle
      Overrides:
      onPreSave in class GrouperAPI
      See Also:
    • onPreUpdate

      public void onPreUpdate(HibernateSession hibernateSession)
      Description copied from interface: HibGrouperLifecycle
      before an update occurs
      Specified by:
      onPreUpdate in interface HibGrouperLifecycle
      Overrides:
      onPreUpdate in class GrouperAPI
      See Also:
    • getLabelString01

      public String getLabelString01()
      label for string01
      Returns:
      label
    • setLabelString01

      public void setLabelString01(String labelString01a)
      label for string01
      Parameters:
      labelString01a -
    • getLabelString02

      public String getLabelString02()
      label for string02
      Returns:
      label
    • setLabelString02

      public void setLabelString02(String labelString02a)
      label for string02
      Parameters:
      labelString02a -
    • getLabelString03

      public String getLabelString03()
      label for string03
      Returns:
      label
    • setLabelString03

      public void setLabelString03(String labelString03a)
      label for string03
      Parameters:
      labelString03a -
    • getLabelString04

      public String getLabelString04()
      label for string04
      Returns:
      label
    • setLabelString04

      public void setLabelString04(String labelString04a)
      label for string04
      Parameters:
      labelString04a -
    • getLabelString05

      public String getLabelString05()
      label for string05
      Returns:
      label
    • setLabelString05

      public void setLabelString05(String labelString05a)
      label for string05
      Parameters:
      labelString05a -
    • getContextId

      public String getContextId()
      context id ties multiple db changes
      Returns:
      id
    • setContextId

      public void setContextId(String contextId1)
      context id ties multiple db changes
      Parameters:
      contextId1 -
    • truncate

      public void truncate()
      make sure this object will fit in the DB
    • getLabelString06

      public String getLabelString06()
      label for the string06 field
      Returns:
      label
    • setLabelString06

      public void setLabelString06(String labelString06a)
      label for the string06 field
      Parameters:
      labelString06a -
    • getLabelString07

      public String getLabelString07()
      label for the string07 field
      Returns:
      label
    • setLabelString07

      public void setLabelString07(String labelString07a)
      label for the string07 field
      Parameters:
      labelString07a -
    • getLabelString08

      public String getLabelString08()
      label for the string08 field
      Returns:
      label
    • setLabelString08

      public void setLabelString08(String labelString08a)
      label for the string08 field
      Parameters:
      labelString08a -
    • clone

      public GrouperAPI clone()
      Description copied from class: GrouperAPI
      deep clone the fields in this object
      Specified by:
      clone in interface GrouperCloneable
      Specified by:
      clone in class GrouperAPI
      Returns:
      the clone of the object
      See Also:
    • getLabelString09

      public String getLabelString09()
      label string 9
      Returns:
      label string 9
    • setLabelString09

      public void setLabelString09(String _labelString09)
      label string 9
      Parameters:
      _labelString09 -
    • getLabelString10

      public String getLabelString10()
      label string 10
      Returns:
      label string 10
    • setLabelString10

      public void setLabelString10(String _labelString10)
      label string 10
      Parameters:
      _labelString10 -
    • getLabelString11

      public String getLabelString11()
      label string 11
      Returns:
      label string 11
    • setLabelString11

      public void setLabelString11(String _labelString11)
      label string 11
      Parameters:
      _labelString11 -
    • getLabelString12

      public String getLabelString12()
      label string 12
      Returns:
      label string 12
    • setLabelString12

      public void setLabelString12(String _labelString12)
      label string 12
      Parameters:
      _labelString12 -
    • equalsCategoryAndAction

      public boolean equalsCategoryAndAction(ChangeLogTypeIdentifier changeLogTypeIdentifier)
      see if this identifier matches the change log type by category and action
      Parameters:
      changeLogTypeIdentifier -
      Returns:
      true if matches