org.kuali.kfs.coa.service.impl
Class OffsetDefinitionInactivationBlockingDetectionServiceImpl
java.lang.Object
org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl
org.kuali.kfs.coa.service.impl.OffsetDefinitionInactivationBlockingDetectionServiceImpl
- All Implemented Interfaces:
- org.kuali.rice.kns.service.InactivationBlockingDetectionService
public class OffsetDefinitionInactivationBlockingDetectionServiceImpl
- extends org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl
This class is used when the offset definition represents the object that is blocking other records from being inactivated.
Normally, only active BO's with the proper primary key values are allowed to inactivate other business objects. However,
OffsetDefinitions do not have an active indicator. An offset definition that references another BO is allowed to block the inactivation
of that BO, without regard to active status, because the OD bo does not have an active status on it.
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl |
businessObjectMetaDataService, businessObjectService |
Method Summary |
boolean |
hasABlockingRecord(org.kuali.rice.kns.bo.BusinessObject blockedBo,
org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata inactivationBlockingMetadata)
Overriding to say that any record of the same PK is blocking.. |
Collection<org.kuali.rice.kns.bo.BusinessObject> |
listAllBlockerRecords(org.kuali.rice.kns.bo.BusinessObject blockedBo,
org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata inactivationBlockingMetadata)
Overriding to let blocking records through |
Methods inherited from class org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl |
buildInactivationBlockerQueryMap, setBusinessObjectMetaDataService, setBusinessObjectService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.log4j.Logger LOG
OffsetDefinitionInactivationBlockingDetectionServiceImpl
public OffsetDefinitionInactivationBlockingDetectionServiceImpl()
listAllBlockerRecords
public Collection<org.kuali.rice.kns.bo.BusinessObject> listAllBlockerRecords(org.kuali.rice.kns.bo.BusinessObject blockedBo,
org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata inactivationBlockingMetadata)
- Overriding to let blocking records through
- Specified by:
listAllBlockerRecords
in interface org.kuali.rice.kns.service.InactivationBlockingDetectionService
- Overrides:
listAllBlockerRecords
in class org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl
- See Also:
InactivationBlockingDetectionServiceImpl.listAllBlockerRecords(org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata)
hasABlockingRecord
public boolean hasABlockingRecord(org.kuali.rice.kns.bo.BusinessObject blockedBo,
org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata inactivationBlockingMetadata)
- Overriding to say that any record of the same PK is blocking..
- Specified by:
hasABlockingRecord
in interface org.kuali.rice.kns.service.InactivationBlockingDetectionService
- Overrides:
hasABlockingRecord
in class org.kuali.rice.kns.service.impl.InactivationBlockingDetectionServiceImpl
- See Also:
InactivationBlockingDetectionServiceImpl.hasABlockingRecord(org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.datadictionary.InactivationBlockingMetadata)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.