org.kuali.kfs.module.cam.document.validation.impl
Class AssetGlobalPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.coa.document.validation.impl.MaintenancePreRulesBase
org.kuali.kfs.module.cam.document.validation.impl.AssetGlobalPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class AssetGlobalPreRules
- extends MaintenancePreRulesBase
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession |
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
buttonClicked, event, form, question |
Methods inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
abortRulesCheck, askOrAnalyzeYesNoQuestion, processPrompts |
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
AssetGlobalPreRules
public AssetGlobalPreRules()
doCustomPreRules
protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
- Sets up a convenience object and few other Asset attributes
- Overrides:
doCustomPreRules
in class MaintenancePreRulesBase
- Returns:
- true if rules pass
- See Also:
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
hasDifferentObjectSubTypes
public boolean hasDifferentObjectSubTypes(org.kuali.rice.kns.document.MaintenanceDocument document)
- Validate all object sub type codes are from the same group.
- Parameters:
assetGlobal
- newLine
-
- Returns:
isOkHavingDifferentObjectSubTypes
protected boolean isOkHavingDifferentObjectSubTypes()
getAssetService
protected AssetService getAssetService()
getParameterService
protected org.kuali.rice.kns.service.ParameterService getParameterService()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.