Uses of Interface
org.kuali.rice.krad.rules.rule.event.DocumentEvent
Packages that use DocumentEvent
Package
Description
-
Uses of DocumentEvent in org.kuali.rice.krad.document
Methods in org.kuali.rice.krad.document that return types with arguments of type DocumentEventModifier and TypeMethodDescriptionDocument.generateSaveEvents()Generate any necessary events required during the save event generationDocumentBase.generateSaveEvents()Methods in org.kuali.rice.krad.document with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidDocumentControllerService.performWorkflowAction(DocumentFormBase form, UifConstants.WorkflowAction action, DocumentEvent documentEvent) Invokes theDocumentServiceto carry out a request workflow action and adds a success message, if requested a check for sensitive data is also performed.voidDocumentControllerServiceImpl.performWorkflowAction(DocumentFormBase form, UifConstants.WorkflowAction action, DocumentEvent documentEvent) Invokes theDocumentServiceto carry out a request workflow action and adds a success message, if requested a check for sensitive data is also performed.voidDocument.postProcessSave(DocumentEvent event) Do any work on the document after the save.voidDocumentBase.postProcessSave(DocumentEvent event) voidDocument.prepareForSave(DocumentEvent event) Do any work on the document that requires the DocumentEvent before the save.voidDocumentBase.prepareForSave(DocumentEvent event) Override this method with implementation specific prepareForSave logicvoidDocument.validateBusinessRules(DocumentEvent event) Sends document off to the rules engine to verify business rules.voidDocumentBase.validateBusinessRules(DocumentEvent event) -
Uses of DocumentEvent in org.kuali.rice.krad.maintenance
Methods in org.kuali.rice.krad.maintenance with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidMaintenanceDocumentBase.postProcessSave(DocumentEvent event) this needs to happen after the document itself is saved, to preserve consistency of the ver_nbr and in the case of initial save, because this can't be saved until the document is saved initiallyvoidMaintenanceDocumentBase.prepareForSave(DocumentEvent event) voidMaintenanceDocumentBase.validateBusinessRules(DocumentEvent event) Explicitly NOT calling super here. -
Uses of DocumentEvent in org.kuali.rice.krad.rules.rule.event
Classes in org.kuali.rice.krad.rules.rule.event that implement DocumentEventModifier and TypeClassDescriptionfinal classThis class represents the add AdHocRoutePerson event that is part of an eDoc in Kuali.final classThis class represents the add AdHocRouteWorkgroup event that is part of an eDoc in Kuali.classDefines the add collection line event fired when a user adds a line in a collection in a document.final classThis class represents the add note event that is part of an eDoc in Kuali.classThis class represents the approve event that is part of an eDoc in Kuali.final classThis class represents the blanketApprove event that is part of an eDoc in Kuali.classComplete document eventclassEvent class for document auditclassAbstract superclass for document-related events.final classThis class represents the route event that is part of an eDoc in Kuali.classRule event generated for a save of a document instance.classThis class represents the save event that is part of an eDoc in Kuali.class -
Uses of DocumentEvent in org.kuali.rice.krad.service
Methods in org.kuali.rice.krad.service with parameters of type DocumentEventModifier and TypeMethodDescriptionbooleanKualiRuleService.applyRules(DocumentEvent event) Retrieves and instantiates the businessRulesClass associated with the event's document type (if any), and calls the appropriate process* method of that businessRule for handling the given event type.DocumentService.saveDocument(Document document, DocumentEvent docEvent) This method saves the given document using the document event passed in.DocumentService.validateAndPersistDocument(Document document, DocumentEvent event) Helper method used to save and validate a documentMethod parameters in org.kuali.rice.krad.service with type arguments of type DocumentEventModifier and TypeMethodDescriptionDocumentService.saveDocument(Document document, Class<? extends DocumentEvent> kualiDocumentEventClass) Saves the passed-in document.