Package org.kuali.rice.krad.bo
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 TypeMethodDescriptionGets the date for which the record is being compared to in determining active/inactiveGets the date for which the record become activeGets the date for which the record become inactivevoidsetActiveAsOfDate(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 usedvoidsetActiveFromDate(Timestamp from) Sets the date for which record will be activevoidSets the date for which record will be active toMethods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActiveMethods inherited from interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
setActive
-
Method Details
-
setActiveFromDate
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
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
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
-