org.kuali.rice.kns.service.impl
Class InactivationBlockingDetectionServiceImpl
java.lang.Object
  
org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl
- All Implemented Interfaces: 
 - InactivationBlockingDetectionService
 
@Transactional
public class InactivationBlockingDetectionServiceImpl
- extends Object
- implements InactivationBlockingDetectionService
  
Performs checking of inactivation blocking
- Author:
 
  - Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
businessObjectMetaDataService
protected BusinessObjectMetaDataService businessObjectMetaDataService
businessObjectService
protected BusinessObjectService businessObjectService
InactivationBlockingDetectionServiceImpl
public InactivationBlockingDetectionServiceImpl()
listAllBlockerRecords
public 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. This is because some implementations of 
Inactivateable might not have the active field, for example
 instances of InactivateableFromTo
- Specified by:
 listAllBlockerRecords in interface InactivationBlockingDetectionService
 
- Parameters:
 blockedBo - a BO that is potentially inactivation blocked
- Returns:
 - true iff there was a record that blocks the blockedBo using the metadata in inactivationBlockingMetadata
 - See Also:
 org.kuali.rice.kns.service.InactivationBlockingDetectionService#listAllBlockerRecords(org.kuali.rice.kns.datadictionary.InactivationBlockingDefinition), 
Inactivateable
 
 
hasABlockingRecord
public 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. This is because some implementations of 
Inactivateable might not have the active field, for example
 instances of InactivateableFromTo
- Specified by:
 hasABlockingRecord in interface InactivationBlockingDetectionService
 
- Parameters:
 blockedBo - a BO that is potentially inactivation blocked
- Returns:
 - true iff there was a record that blocks the blockedBo using the metadata in inactivationBlockingMetadata
 - See Also:
 InactivationBlockingDetectionService.hasABlockingRecord(org.kuali.rice.kns.bo.BusinessObject,
      org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata), 
Inactivateable
 
 
buildInactivationBlockerQueryMap
protected Map<String,String> buildInactivationBlockerQueryMap(BusinessObject blockedBo,
                                                              InactivationBlockingMetadata inactivationBlockingMetadata)
 
 
setBusinessObjectMetaDataService
public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService)
 
 
setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)
 
 
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.