Package org.kuali.rice.kns.util
Class InactiveRecordsHidingUtils
java.lang.Object
org.kuali.rice.kns.util.InactiveRecordsHidingUtils
Deprecated.
Only used in KNS classes, use KRAD.
Inquiry screens and maintenance documents may render a collection of BOs on a screen. These
BOs may implement
MutableInactivatable, which means that the BO has an active
flag of true or false. Some screens may give the user the ability to not render (i.e. hide) inactive
collection elements. This class has several utilities to control that behavior.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatCollectionName(String collectionName) Deprecated.static booleangetShowInactiveRecords(Map<String, Boolean> inactiveRecordDisplay, String collectionName) Deprecated.Returns whether a collection has been set to show inactive records.static voidsetShowInactiveRecords(Map<String, Boolean> inactiveRecordDisplay, String collectionName, boolean showInactive) Deprecated.Sets whether a method should show inactive records
-
Method Details
-
getShowInactiveRecords
public static boolean getShowInactiveRecords(Map<String, Boolean> inactiveRecordDisplay, String collectionName) Deprecated.Returns whether a collection has been set to show inactive records. Note that if a collection has not been set to show inactive inactive records, then this method will return false.- Parameters:
inactiveRecordDisplay- a Map used to keep state between invocations of this method andsetShowInactiveRecords(Map, String, boolean)collectionName- the name of the collection- Returns:
-
setShowInactiveRecords
public static void setShowInactiveRecords(Map<String, Boolean> inactiveRecordDisplay, String collectionName, boolean showInactive) Deprecated.Sets whether a method should show inactive records- Parameters:
inactiveRecordDisplay- a Map used to keep state between invocations of this method andgetShowInactiveRecords(Map, String)collectionName- the name of the collectionshowInactive- whether to show inactive records
-
formatCollectionName
Deprecated.
-