@Transactional public class InactivationBlockingDetectionServiceImpl extends Object implements InactivationBlockingDetectionService
Modifier and Type | Field and Description |
---|---|
protected BusinessObjectService |
businessObjectService |
protected DataObjectMetaDataService |
dataObjectMetaDataService |
Constructor and Description |
---|
InactivationBlockingDetectionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
buildInactivationBlockerQueryMap(BusinessObject blockedBo,
InactivationBlockingMetadata inactivationBlockingMetadata) |
boolean |
hasABlockingRecord(BusinessObject blockedBo,
InactivationBlockingMetadata inactivationBlockingMetadata)
Note we are checking the active getting after retrieving potential blocking records instead of setting criteria on the
active field.
|
Collection<BusinessObject> |
listAllBlockerRecords(BusinessObject blockedBo,
InactivationBlockingMetadata inactivationBlockingMetadata)
Note we are checking the active getting after retrieving potential blocking records instead of setting criteria on the
active field.
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService) |
void |
setDataObjectMetaDataService(DataObjectMetaDataService dataObjectMetaDataService) |
protected DataObjectMetaDataService dataObjectMetaDataService
protected BusinessObjectService businessObjectService
public InactivationBlockingDetectionServiceImpl()
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 blockedorg.kuali.rice.krad.service.InactivationBlockingDetectionService#listAllBlockerRecords(org.kuali.rice.krad.datadictionary.InactivationBlockingDefinition)
,
MutableInactivatable
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
protected Map<String,String> buildInactivationBlockerQueryMap(BusinessObject blockedBo, InactivationBlockingMetadata inactivationBlockingMetadata)
public void setDataObjectMetaDataService(DataObjectMetaDataService dataObjectMetaDataService)
public void setBusinessObjectService(BusinessObjectService businessObjectService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.