org.kuali.kfs.module.purap.document.validation.event
Class AttributedPurchasingAccountsPayableItemEventBase

java.lang.Object
  extended by org.kuali.rice.kns.rule.event.KualiDocumentEventBase
      extended by org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
          extended by org.kuali.kfs.module.purap.document.validation.event.AttributedPurchasingAccountsPayableItemEventBase
All Implemented Interfaces:
AttributedPurchasingAccountsPayableItemEvent, AttributedDocumentEvent, org.kuali.rice.kns.rule.event.KualiDocumentEvent
Direct Known Subclasses:
AttributedAddPurchasingAccountsPayableItemEvent, AttributedImportPurchasingAccountsPayableItemEvent

public abstract class AttributedPurchasingAccountsPayableItemEventBase
extends AttributedDocumentEventBase
implements AttributedPurchasingAccountsPayableItemEvent

Event Base class for Purchasing Accounts Payable Item contains the base methods for item events


Field Summary
 
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
AttributedPurchasingAccountsPayableItemEventBase(String description, String errorPathPrefix, org.kuali.rice.kns.document.Document document, PurApItem item)
          Copies the item and calls the super constructor
 
Method Summary
 PurApItem getItem()
          gets an item for the item events
 void validate()
           
 
Methods inherited from class org.kuali.kfs.sys.document.validation.event.AttributedDocumentEventBase
getAttribute, getIterationSubject, getRuleInterfaceClass, invokeRuleMethod, setAttribute, setIterationSubject
 
Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent
getAttribute, getIterationSubject, setAttribute, setIterationSubject
 
Methods inherited from interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
generateEvents, getDescription, getDocument, getErrorPathPrefix, getName, getRuleInterfaceClass, invokeRuleMethod
 

Constructor Detail

AttributedPurchasingAccountsPayableItemEventBase

public AttributedPurchasingAccountsPayableItemEventBase(String description,
                                                        String errorPathPrefix,
                                                        org.kuali.rice.kns.document.Document document,
                                                        PurApItem item)
Copies the item and calls the super constructor

Parameters:
description - the description of the event
errorPathPrefix - the error path
document - the document the event is being called on
item - the item that is having the event called on
Method Detail

getItem

public PurApItem getItem()
Description copied from interface: AttributedPurchasingAccountsPayableItemEvent
gets an item for the item events

Specified by:
getItem in interface AttributedPurchasingAccountsPayableItemEvent
Returns:
an item
See Also:
org.kuali.kfs.module.purap.document.validation.event.PurchasingAccountsPayableItemEvent#getItem()

validate

public void validate()
Specified by:
validate in interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
Overrides:
validate in class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
See Also:
KualiDocumentEvent.validate()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.