Interface InactivatableFromTo

All Superinterfaces:
org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.active.MutableInactivatable

public interface InactivatableFromTo extends org.kuali.rice.core.api.mo.common.active.MutableInactivatable
Business objects that have effective dating (from to dates) should implement this interface. This translates the effective dates in terms of active/inactive status so the features built for MutableInactivatable in the frameworks can be taken advantage of
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the date for which the record is being compared to in determining active/inactive
    Gets the date for which the record become active
    Gets the date for which the record become inactive
    void
    setActiveAsOfDate(Timestamp activeAsOfDate)
    Sets the date for which the record should be compared to in determining active/inactive, if not set then the current date will be used
    void
    Sets the date for which record will be active
    void
    Sets the date for which record will be active to

    Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable

    isActive

    Methods inherited from interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable

    setActive
  • Method Details

    • setActiveFromDate

      void setActiveFromDate(Timestamp from)
      Sets the date for which record will be active
      Parameters:
      from - - Timestamp value to set
    • getActiveFromDate

      Timestamp getActiveFromDate()
      Gets the date for which the record become active
      Returns:
      Timestamp
    • setActiveToDate

      void setActiveToDate(Timestamp to)
      Sets the date for which record will be active to
      Parameters:
      from - - Timestamp value to set
    • getActiveToDate

      Timestamp getActiveToDate()
      Gets the date for which the record become inactive
      Returns:
      Timestamp
    • getActiveAsOfDate

      Timestamp getActiveAsOfDate()
      Gets the date for which the record is being compared to in determining active/inactive
      Returns:
      Timestamp
    • setActiveAsOfDate

      void setActiveAsOfDate(Timestamp activeAsOfDate)
      Sets the date for which the record should be compared to in determining active/inactive, if not set then the current date will be used
      Parameters:
      activeAsOfDate - - Timestamp value to set