public interface InactivationBlockingDetectionService
Modifier and Type | Method and Description |
---|---|
Collection<?> |
detectAllBlockingRecords(Object dataObject,
InactivationBlockingMetadata inactivationBlockingMetadata)
Detects all records in the relationship defined in the given metadata that prevents inactivation of the given
data object.
|
boolean |
detectBlockingRecord(Object dataObject,
InactivationBlockingMetadata inactivationBlockingMetadata)
Detects if there is ANY record in the relationship defined in the given metadata that prevents inactivation of
the given data object.
|
boolean |
hasABlockingRecord(BusinessObject blockedBo,
InactivationBlockingMetadata inactivationBlockingMetadata)
|
Collection<BusinessObject> |
listAllBlockerRecords(BusinessObject blockedBo,
InactivationBlockingMetadata inactivationBlockingMetadata)
|
@Deprecated boolean hasABlockingRecord(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
detectBlockingRecord(Object, org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
blockedBo
- a BO that is potentially inactivation blockedinactivationBlockingMetadata
- boolean detectBlockingRecord(Object dataObject, InactivationBlockingMetadata inactivationBlockingMetadata)
dataObject
- data object to check for inactivation blockinginactivationBlockingMetadata
- metadata to use for the inactivation blocking checkIllegalArgumentException
- if either dataObject or inactivationBlockingMetadata is null@Deprecated Collection<BusinessObject> listAllBlockerRecords(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
detectAllBlockingRecords(Object, org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
blockedBo
- a BO that is potentially inactivation blockedinactivationBlockingMetadata
- Collection<?> detectAllBlockingRecords(Object dataObject, InactivationBlockingMetadata inactivationBlockingMetadata)
dataObject
- data object to check for inactivation blockinginactivationBlockingMetadata
- metadata to use for the inactivation blocking checkIllegalArgumentException
- if either dataObject or inactivationBlockingMetadata is nullCopyright © 2005–2015 The Kuali Foundation. All rights reserved.