@Transactional public class InactivationBlockingDetectionServiceImpl extends Object implements InactivationBlockingDetectionService
Modifier and Type | Field and Description |
---|---|
protected DataObjectMetaDataService |
dataObjectMetaDataService |
protected LegacyDataAdapter |
legacyDataAdapter |
Constructor and Description |
---|
InactivationBlockingDetectionServiceImpl() |
protected DataObjectMetaDataService dataObjectMetaDataService
protected LegacyDataAdapter legacyDataAdapter
public InactivationBlockingDetectionServiceImpl()
@Deprecated public Collection<BusinessObject> listAllBlockerRecords(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
MutableInactivatable
might not have the active field, for example
instances of InactivatableFromTo
listAllBlockerRecords
in interface InactivationBlockingDetectionService
blockedBo
- a BO that is potentially inactivation blockedInactivationBlockingDetectionService.listAllBlockerRecords(org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
,
MutableInactivatable
@Deprecated public boolean hasABlockingRecord(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
MutableInactivatable
might not have the active field, for example
instances of InactivatableFromTo
hasABlockingRecord
in interface InactivationBlockingDetectionService
blockedBo
- a BO that is potentially inactivation blockedInactivationBlockingDetectionService.hasABlockingRecord(org.kuali.rice.krad.bo.BusinessObject,
org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
,
MutableInactivatable
@Deprecated protected Map<String,String> buildInactivationBlockerQueryMap(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
public boolean detectBlockingRecord(Object dataObject, InactivationBlockingMetadata inactivationBlockingMetadata)
hasABlockingRecord(org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
if the given data object is a legacy object. Calls new code to make the equivalent check if the given object is
non-legacy.detectBlockingRecord
in interface InactivationBlockingDetectionService
dataObject
- data object to check for inactivation blockinginactivationBlockingMetadata
- metadata to use for the inactivation blocking checkpublic Collection<?> detectAllBlockingRecords(Object dataObject, InactivationBlockingMetadata inactivationBlockingMetadata)
listAllBlockerRecords(org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.datadictionary.InactivationBlockingMetadata)
if the given data object is a legacy object. Calls new code to make the equivalent check if the given object is
non-legacy.detectAllBlockingRecords
in interface InactivationBlockingDetectionService
dataObject
- data object to check for inactivation blockinginactivationBlockingMetadata
- metadata to use for the inactivation blocking checkprotected QueryByCriteria buildInactivationBlockerCriteria(Object blockedObject, InactivationBlockingMetadata inactivationBlockingMetadata)
public void setDataObjectMetaDataService(DataObjectMetaDataService dataObjectMetaDataService)
public void setLegacyDataAdapter(LegacyDataAdapter legacyDataAdapter)
public DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.