Uses of Interface
org.kuali.rice.krad.document.Document
Packages that use Document
Package
Description
-
Uses of Document in org.kuali.rice.krad.datadictionary
Fields in org.kuali.rice.krad.datadictionary with type parameters of type DocumentMethods in org.kuali.rice.krad.datadictionary that return types with arguments of type DocumentModifier and TypeMethodDescriptionDocumentEntry.getBaseDocumentClass()The optionalDocumentsuperclass associated with the documentDocumentEntry.getDocumentClass()TheDocumentsubclass associated with the documentMaintenanceDocumentEntry.getStandardDocumentBaseClass()TransactionalDocumentEntry.getStandardDocumentBaseClass()Returns the default base class for aTransactionalDocument.Method parameters in org.kuali.rice.krad.datadictionary with type arguments of type DocumentModifier and TypeMethodDescriptionvoidDocumentEntry.setBaseDocumentClass(Class<? extends Document> baseDocumentClass) The optional baseDocumentClass element is the name of the java base class associated with the document.voidDocumentEntry.setDocumentClass(Class<? extends Document> documentClass) Setter for document class associated with the document -
Uses of Document in org.kuali.rice.krad.document
Subinterfaces of Document in org.kuali.rice.krad.documentModifier and TypeInterfaceDescriptioninterfaceInterface for all documents that have transactional behavior.Classes in org.kuali.rice.krad.document that implement DocumentModifier and TypeClassDescriptionclassclassBase class for transactional documentsMethods in org.kuali.rice.krad.document with parameters of type DocumentModifier and TypeMethodDescriptionprotected voidDocumentAuthorizerBase.addStandardAttributes(Document document, Map<String, String> attributes) protected voidDocumentViewAuthorizerBase.addStandardAttributes(Document document, Map<String, String> attributes) protected org.kuali.rice.krad.exception.DocumentAuthorizationExceptionDocumentControllerServiceImpl.buildAuthorizationException(String action, Document document) Convenience method for building document authorization exceptions.booleanDocumentAuthorizer.canAcknowledge(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canAcknowledge(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canAcknowledge(Document document) booleanDocumentPresentationControllerBase.canAcknowledge(Document document) booleanDocumentViewAuthorizerBase.canAcknowledge(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canAcknowledge(Document document) booleanDocumentPresentationController.canAddAdhocRequests(Document document) booleanDocumentPresentationControllerBase.canAddAdhocRequests(Document document) booleanDocumentViewPresentationControllerBase.canAddAdhocRequests(Document document) booleanDocumentAuthorizer.canAddNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canAddNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) final booleanDocumentViewAuthorizerBase.canAddNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizer.canAnnotate(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canAnnotate(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canAnnotate(Document document) booleanDocumentPresentationControllerBase.canAnnotate(Document document) booleanDocumentViewAuthorizerBase.canAnnotate(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canAnnotate(Document document) booleanDocumentAuthorizer.canApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canApprove(Document document) booleanDocumentPresentationControllerBase.canApprove(Document document) booleanDocumentViewAuthorizerBase.canApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canApprove(Document document) protected booleanDocumentPresentationControllerBase.canApproveOrDisapprove(Document document) Returns whether a super user approve or disapprove action can be taken on thedocument.booleanDocumentAuthorizer.canBlanketApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canBlanketApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canBlanketApprove(Document document) booleanDocumentPresentationControllerBase.canBlanketApprove(Document document) booleanDocumentViewAuthorizerBase.canBlanketApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canBlanketApprove(Document document) booleanTransactionalDocumentAuthorizerBase.canBlanketApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDetermines if the user has permission to cancel the documentbooleanbooleanbooleanbooleanDocumentViewAuthorizerBase.canCancel(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to cancel the documentbooleanbooleanTransactionalDocumentAuthorizerBase.canCancel(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to cancel the documentbooleanbooleanbooleanbooleanbooleanbooleanbooleanTransactionalDocumentAuthorizerBase.canClose(Document document, org.kuali.rice.kim.api.identity.Person user) booleanA document should only show its close button if it is a transactional document, since closing releases its pessimistic locks.booleanDocumentPresentationController.canComplete(Document document) booleanDocumentPresentationControllerBase.canComplete(Document document) booleanDocumentViewPresentationControllerBase.canComplete(Document document) booleanDetermines if the user has permission to copy the documentbooleanbooleanbooleanbooleanDetermines if the user has permission to copy the documentbooleanbooleanDocumentAuthorizer.canDeleteNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canDeleteNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) final booleanDocumentViewAuthorizerBase.canDeleteNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizer.canDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canDisapprove(Document document) booleanDocumentPresentationControllerBase.canDisapprove(Document document) booleanDocumentViewAuthorizerBase.canDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canDisapprove(Document document) booleanDetermines if the document can be edited; if false is returned, then all fields are in a read only statebooleanbooleanbooleanbooleanDetermines if the document can be edited; if false is returned, then all fields are in a read only statebooleanbooleanDocumentAuthorizer.canEditDocumentOverview(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canEditDocumentOverview(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canEditDocumentOverview(Document document) booleanDocumentPresentationControllerBase.canEditDocumentOverview(Document document) booleanDocumentViewAuthorizerBase.canEditDocumentOverview(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canEditDocumentOverview(Document document) protected booleanTransactionalDocumentAuthorizerBase.canEstablishPessimisticLock(Document document, org.kuali.rice.kim.api.identity.Person user) Returns whetherusercan establish a pessimistic lock on the document.booleanbooleanbooleanbooleanbooleanbooleanbooleanChecks if a user has the permissions to open a documentbooleanfinal booleanChecks if a user has the permissions to open a documentbooleanDocumentAuthorizer.canPerformRouteReport(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canPerformRouteReport(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canPerformRouteReport(Document document) booleanDocumentPresentationControllerBase.canPerformRouteReport(Document document) booleanDocumentViewAuthorizerBase.canPerformRouteReport(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canPerformRouteReport(Document document) booleanbooleanbooleanbooleanbooleanDocumentViewAuthorizerBase.canRecall(Document document, org.kuali.rice.kim.api.identity.Person user) booleanbooleanDocumentAuthorizer.canReceiveAdHoc(Document document, org.kuali.rice.kim.api.identity.Person user, String actionRequestCode) booleanDocumentAuthorizerBase.canReceiveAdHoc(Document document, org.kuali.rice.kim.api.identity.Person user, String actionRequestCode) final booleanDocumentViewAuthorizerBase.canReceiveAdHoc(Document document, org.kuali.rice.kim.api.identity.Person user, String actionRequestCode) booleanbooleanbooleanbooleanbooleanDocumentViewAuthorizerBase.canReload(Document document, org.kuali.rice.kim.api.identity.Person user) booleanbooleanDetermines if the user has permission to route the documentbooleanbooleanbooleanbooleanDetermines if the user has permission to route the documentbooleanbooleanTransactionalDocumentAuthorizerBase.canRoute(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to route the documentbooleanbooleanbooleanbooleanbooleanbooleanbooleanTransactionalDocumentAuthorizerBase.canSave(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canSendAdhocRequests(Document document) booleanDocumentPresentationControllerBase.canSendAdhocRequests(Document document) booleanDocumentViewPresentationControllerBase.canSendAdhocRequests(Document document) booleanDocumentAuthorizer.canSendAdHocRequests(Document document, String actionRequestCd, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canSendAdHocRequests(Document document, String actionRequestCd, org.kuali.rice.kim.api.identity.Person user) final booleanDocumentViewAuthorizerBase.canSendAdHocRequests(Document document, String actionRequestCd, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizer.canSendAnyTypeAdHocRequests(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canSendAnyTypeAdHocRequests(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewAuthorizerBase.canSendAnyTypeAdHocRequests(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizer.canSendNoteFyi(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canSendNoteFyi(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canSendNoteFyi(Document document) booleanDocumentPresentationControllerBase.canSendNoteFyi(Document document) booleanDocumentViewAuthorizerBase.canSendNoteFyi(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewPresentationControllerBase.canSendNoteFyi(Document document) booleanDocumentAuthorizer.canSuperUserApprove(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to approve a document as a super user.booleanDocumentAuthorizerBase.canSuperUserApprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canSuperUserApprove(Document document) Determines if the document state should allow a super user approving the document.booleanDocumentPresentationControllerBase.canSuperUserApprove(Document document) Determines if the document state should allow a super user approving the document.booleanDocumentViewAuthorizerBase.canSuperUserApprove(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to approve a document as a super user.booleanDocumentViewPresentationControllerBase.canSuperUserApprove(Document document) Determines if the document state should allow a super user approving the document.booleanDocumentAuthorizer.canSuperUserDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to disapprove a document as a super user.booleanDocumentAuthorizerBase.canSuperUserDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canSuperUserDisapprove(Document document) Determines if the document state should allow a super user disapproving the document.booleanDocumentPresentationControllerBase.canSuperUserDisapprove(Document document) Determines if the document state should allow a super user disapproving the document.booleanDocumentViewAuthorizerBase.canSuperUserDisapprove(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to disapprove a document as a super user.booleanDocumentViewPresentationControllerBase.canSuperUserDisapprove(Document document) Determines if the document state should allow a super user disapproving the document.booleanDocumentAuthorizer.canSuperUserTakeAction(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to take a super user action.booleanDocumentAuthorizerBase.canSuperUserTakeAction(Document document, org.kuali.rice.kim.api.identity.Person user) booleanDocumentPresentationController.canSuperUserTakeAction(Document document) Determines if the document state should allow a super user taking an action.booleanDocumentPresentationControllerBase.canSuperUserTakeAction(Document document) Determines if the document state should allow a super user taking an action.booleanDocumentViewAuthorizerBase.canSuperUserTakeAction(Document document, org.kuali.rice.kim.api.identity.Person user) Determines if the user has permission to take a super user action.booleanDocumentViewPresentationControllerBase.canSuperUserTakeAction(Document document) Determines if the document state should allow a super user taking an action.protected booleanDocumentPresentationControllerBase.canTakeAction(Document document) Returns whether a super user action can be taken on thedocument.booleanDocumentAuthorizer.canTakeRequestedAction(Document document, String actionRequestCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canTakeRequestedAction(Document document, String actionRequestCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentViewAuthorizerBase.canTakeRequestedAction(Document document, String actionRequestCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizer.canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) Deprecated.booleanDocumentAuthorizer.canViewNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) booleanDocumentAuthorizerBase.canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) Deprecated.booleanDocumentAuthorizerBase.canViewNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) final booleanDocumentViewAuthorizerBase.canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user) Deprecated.final booleanDocumentViewAuthorizerBase.canViewNoteAttachment(Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user) protected DocumentRequestAuthorizationCacheDocumentAuthorizerBase.getDocumentRequestAuthorizationCache(Document document) protected DocumentRequestAuthorizationCacheDocumentPresentationControllerBase.getDocumentRequestAuthorizationCache(Document document) protected DocumentRequestAuthorizationCacheDocumentViewAuthorizerBase.getDocumentRequestAuthorizationCache(Document document) protected DocumentRequestAuthorizationCacheDocumentViewPresentationControllerBase.getDocumentRequestAuthorizationCache(Document document) protected org.kuali.rice.krad.bo.AttachmentDocumentControllerServiceImpl.getNewNoteAttachment(DocumentFormBase form, Document document, org.kuali.rice.krad.bo.Note newNote) Builds an attachment for the file (if any) associated with the add note instance.protected booleanDocumentPresentationControllerBase.hasActionRequests(Document document) Returns whether thedocumenthas any APPROVE or COMPLETE action requests.voidDocumentViewAuthorizerBase.initializeDocumentAuthorizerIfNecessary(Document document) If the document authorizer is null, gets the authorizer from the document dictionary service for the given document's class.protected booleanDocumentAuthorizerBase.isDocumentInitiator(Document document, org.kuali.rice.kim.api.identity.Person user) protected booleanDocumentViewAuthorizerBase.isDocumentInitiator(Document document, org.kuali.rice.kim.api.identity.Person user) protected booleanTransactionalDocumentAuthorizerBase.isUsingPessimisticLocking(Document document) Returns whether thedocumentis using pessimistic locking.protected voidDocumentControllerServiceImpl.saveNewNote(DocumentFormBase form, Document document, org.kuali.rice.krad.bo.Note newNote) Saves a new note instance to the data store if the document state allows it.protected voidDocumentControllerServiceImpl.setNewNoteProperties(DocumentFormBase form, Document document, org.kuali.rice.krad.bo.Note newNote) Defaults properties (posted timestamp, object id, author) on the note instance that will be added. -
Uses of Document in org.kuali.rice.krad.maintenance
Subinterfaces of Document in org.kuali.rice.krad.maintenanceModifier and TypeInterfaceDescriptioninterfaceCommon interface for all maintenance documents.Classes in org.kuali.rice.krad.maintenance that implement DocumentModifier and TypeClassDescriptionclassDocument class for all maintenance documents which wraps the maintenance object in aMaintainablethat is also used for various callbacksMethods in org.kuali.rice.krad.maintenance with parameters of type DocumentModifier and TypeMethodDescriptionbooleanMaintenanceViewPresentationControllerBase.canBlanketApprove(Document document) boolean -
Uses of Document in org.kuali.rice.krad.rules
Methods in org.kuali.rice.krad.rules with parameters of type DocumentModifier and TypeMethodDescriptionprotected booleanDocumentRuleBase.hasAdHocRouteCompletion(Document document, org.kuali.rice.krad.bo.AdHocRouteRecipient adHocRouteRecipient) KULRICE-8760: check whether there is any other complete adhoc request on the given documentbooleanDocumentRuleBase.isAddHocRoutePersonValid(Document document, org.kuali.rice.krad.bo.AdHocRoutePerson person) Verifies that the adHocRoutePerson's fields are valid - it does required and format checks.booleanDocumentRuleBase.isAddHocRouteWorkgroupValid(Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup workgroup) Verifies that the adHocRouteWorkgroup's fields are valid - it does required and format checks.protected booleanDocumentRuleBase.isAdHocRouteCompletionToInitiator(Document document, org.kuali.rice.kim.api.identity.Person person, String actionRequestCode) KULRICE-7419: Adhoc route completion validation rule (should not route to initiator for completion) determine whether the document initiator is the same as the adhoc recipient for completionprotected booleanDocumentRuleBase.isAdHocRouteRecipientsValid(Document document) Checks the adhoc route recipient list to ensure there are recipients or else throws an error that at least one recipient is required.booleanDocumentRuleBase.isDocumentAttributesValid(Document document, boolean validateRequired) Validates the document attributes against the data dictionary.booleanDocumentRuleBase.isDocumentOverviewValid(Document document) Verifies that the document's overview fields are valid - it does required and format checks.booleanDocumentRuleBase.processAddAdHocRoutePerson(Document document, org.kuali.rice.krad.bo.AdHocRoutePerson adHocRoutePerson) booleanDocumentRuleBase.processAddAdHocRouteWorkgroup(Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup adHocRouteWorkgroup) booleanDocumentRuleBase.processAddNote(Document document, org.kuali.rice.krad.bo.Note note) Runs all business rules needed prior to adding a document note.booleanDocumentRuleBase.processCompleteDocument(Document document) Business rules check will include all save action rules and any custom rules required by the document specific rule implementationprotected booleanDocumentRuleBase.processCustomAddAdHocRoutePersonBusinessRules(Document document, org.kuali.rice.krad.bo.AdHocRoutePerson person) This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "add ad hoc route person" event.protected booleanDocumentRuleBase.processCustomAddAdHocRouteWorkgroupBusinessRules(Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup workgroup) This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "add ad hoc route workgroup" event.protected booleanDocumentRuleBase.processCustomAddNoteBusinessRules(Document document, org.kuali.rice.krad.bo.Note note) This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "add document note" event.protected booleanDocumentRuleBase.processCustomCompleteDocumentBusinessRules(Document document) Hook method for deriving business rule classes to provide custom validations required during completion actionprotected booleanDocumentRuleBase.processCustomRouteDocumentBusinessRules(Document document) This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "route document" event.protected booleanDocumentRuleBase.processCustomSaveDocumentBusinessRules(Document document) This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "save document" event.protected booleanDocumentRuleBase.processCustomSendAdHocRequests(Document document) booleanDocumentRuleBase.processRouteDocument(Document document) Runs all business rules needed prior to routing.booleanMaintenanceDocumentRule.processRouteDocument(Document document) Runs all business rules needed prior to routing.booleanMaintenanceDocumentRuleBase.processRouteDocument(Document document) booleanDocumentRuleBase.processSaveDocument(Document document) Runs all business rules needed prior to saving.booleanMaintenanceDocumentRule.processSaveDocument(Document document) Runs all business rules needed prior to saving.booleanMaintenanceDocumentRuleBase.processSaveDocument(Document document) booleanDocumentRuleBase.processSendAdHocRequests(Document document) protected booleanMaintenanceDocumentRuleBase.validateDocumentStructure(Document document) This method makes sure the document itself is valid, and has the necessary fields populated to be routable. -
Uses of Document in org.kuali.rice.krad.rules.rule
Methods in org.kuali.rice.krad.rules.rule with parameters of type DocumentModifier and TypeMethodDescriptionbooleanAddAdHocRoutePersonRule.processAddAdHocRoutePerson(Document document, org.kuali.rice.krad.bo.AdHocRoutePerson adHocRoutePerson) This method is responsible for housing business rules that need to be checked before a document adHocRoutePerson is added to a document.booleanAddAdHocRouteWorkgroupRule.processAddAdHocRouteWorkgroup(Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup adHocRouteWorkgroup) This method is responsible for housing business rules that need to be checked before a document adHocRouteWorkgroup is added to a document.booleanAddNoteRule.processAddNote(Document document, org.kuali.rice.krad.bo.Note note) This method is responsible for housing business rules that need to be checked before a note is added to a document.booleanCompleteDocumentRule.processCompleteDocument(Document document) booleanRouteDocumentRule.processRouteDocument(Document document) booleanDocumentAuditRule.processRunAuditBusinessRules(Document document) booleanSaveDocumentRule.processSaveDocument(Document document) booleanSendAdHocRequestsRule.processSendAdHocRequests(Document document) -
Uses of Document in org.kuali.rice.krad.rules.rule.event
Fields in org.kuali.rice.krad.rules.rule.event declared as DocumentMethods in org.kuali.rice.krad.rules.rule.event that return DocumentModifier and TypeMethodDescriptionDocumentEvent.getDocument()final DocumentDocumentEventBase.getDocument()Methods in org.kuali.rice.krad.rules.rule.event with parameters of type DocumentModifier and TypeMethodDescriptionprotected static StringDocumentEventBase.getDocumentId(Document document) Provides null-safe access to the documentNumber of the given document.Constructors in org.kuali.rice.krad.rules.rule.event with parameters of type DocumentModifierConstructorDescriptionAddAdHocRoutePersonEvent(String errorPathPrefix, Document document, org.kuali.rice.krad.bo.AdHocRoutePerson adHocRoutePerson) Constructs an AddAdHocRoutePersonEvent with the specified errorPathPrefix, document, and adHocRoutePersonAddAdHocRoutePersonEvent(Document document, org.kuali.rice.krad.bo.AdHocRoutePerson adHocRoutePerson) Constructs an AddAdHocRoutePersonEvent with the given documentAddAdHocRouteWorkgroupEvent(String errorPathPrefix, Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup adHocRouteWorkgroup) Constructs an AddAdHocRouteWorkgroupEvent with the specified errorPathPrefix, document, and adHocRouteWorkgroupAddAdHocRouteWorkgroupEvent(Document document, org.kuali.rice.krad.bo.AdHocRouteWorkgroup adHocRouteWorkgroup) Constructs an AddAdHocRouteWorkgroupEvent with the given documentprotectedAddCollectionLineEvent(String eventType, String errorPathPrefix, Document document, String collectionName, Object addLine) Constructs an event for a document adding a line to the collection with the namecollectionNamewith a specificerrorPathPrefixandeventType.AddCollectionLineEvent(String errorPathPrefix, Document document, String collectionName, Object addLine) Constructs an event for a document adding a line to the collection with the namecollectionNamewith a specificerrorPathPrefix.AddCollectionLineEvent(Document document, String collectionName, Object addLine) Constructs an event for a document adding a line to the collection with the namecollectionName.AddNoteEvent(String errorPathPrefix, Document document, org.kuali.rice.krad.bo.Note note) Constructs an AddNoteEvent with the specified errorPathPrefix and documentAddNoteEvent(Document document, org.kuali.rice.krad.bo.Note note) Constructs an AddNoteEvent with the given documentprotectedApproveDocumentEvent(String eventType, String errorPathPrefix, Document document) Constructs a ApproveDocumentEvent, allowing the eventType to be passed in so that subclasses can specify a more accurate message.ApproveDocumentEvent(String errorPathPrefix, Document document) Constructs an ApproveDocumentEvent with the specified errorPathPrefix and documentApproveDocumentEvent(Document document) Constructs an ApproveDocumentEvent with the given documentBlanketApproveDocumentEvent(String errorPathPrefix, Document document) Constructs an BlanketApproveDocumentEvent with the specified errorPathPrefix and documentBlanketApproveDocumentEvent(Document document) Constructs a BlanketApproveDocumentEvent with the given documentCompleteDocumentEvent(String errorPathPrefix, Document document) Constructs a RouteDocumentEvent with the specified errorPathPrefix and documentCompleteDocumentEvent(Document document) Constructs a RouteDocumentEvent with the given documentDocumentAuditEvent(String errorPathPrefix, Document document) Constructs a RunAuditEvent with the given errorPathPrefix and document.DocumentAuditEvent(Document document) Constructs a RunAuditEvent with the given document.DocumentEventBase(String description, String errorPathPrefix, Document document) Constructs a KualiEvent with the given description and errorPathPrefix for the given document.RouteDocumentEvent(String errorPathPrefix, Document document) Constructs a RouteDocumentEvent with the specified errorPathPrefix and documentRouteDocumentEvent(Document document) Constructs a RouteDocumentEvent with the given documentSaveDocumentEvent(String description, String errorPathPrefix, Document document) SaveDocumentEvent(String errorPathPrefix, Document document) Constructs a SaveDocumentEvent with the specified errorPathPrefix and documentSaveDocumentEvent(Document document) Constructs a SaveDocumentEvent with the given documentSaveOnlyDocumentEvent(String description, String errorPathPrefix, Document document) SaveOnlyDocumentEvent(String errorPathPrefix, Document document) Constructs a SaveOnlyDocumentEvent with the specified errorPathPrefix and documentSaveOnlyDocumentEvent(Document document) Constructs a SaveDocumentEvent with the given documentSendAdHocRequestsEvent(String description, String errorPathPrefix, Document document) SendAdHocRequestsEvent(String errorPathPrefix, Document document) SendAdHocRequestsEvent(Document document) -
Uses of Document in org.kuali.rice.krad.service
Methods in org.kuali.rice.krad.service with type parameters of type DocumentModifier and TypeMethodDescription<T extends Document>
TLegacyDataAdapter.findByDocumentHeaderId(Class<T> documentClass, String id) Deprecated.Finds the Document for the specified class with the given id.LegacyDataAdapter.findByDocumentHeaderIds(Class<T> documentClass, List<String> ids) Deprecated.Finds the Documents for the specified class with the given list of ids.Methods in org.kuali.rice.krad.service that return DocumentModifier and TypeMethodDescriptionDocumentService.acknowledgeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.acknowledgeDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Acknowledge the document, optionally providing an annotation for the acknowledgement which will show up in the route log of the document, and optionally providing a list of ad hoc recipients for the document.DocumentService.approveDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.approveDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRoutingRecipients) Save and then approve the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the document.DocumentService.blanketApproveDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.blanketApproveDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Blanket approve the document which will save the document, approve the document, and stand in for an approve for all typically generated approval actions requested for this document.DocumentService.cancelDocument(Document document, String annotation) Cancel the document, without saving, optionally providing an annotation for the disapproval which will show up in the route log of the document for the action taken.DocumentService.clearDocumentFyi(Document document, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.clearDocumentFyi(Document document, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Clear the fyi requests for the document, optionally providing a list of ad hoc recipients for the document, which should be restricted to action requested of fyi as all other actions requested will be discarded.DocumentService.completeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.completeDocument(Document document, String annotation, List adHocRecipients) Save and then complete the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the documentDocumentService.disapproveDocument(Document document, String annotation) Disapprove the document, without saving, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.getByDocumentHeaderId(String documentHeaderId) get a document based on the document header id which is the primary key for all document typesDocumentService.getByDocumentHeaderIdSessionless(String documentHeaderId) get a document based on the document header id which is the primary key for all document types.DocumentService.getNewDocument(Class<? extends Document> documentClass) get a new blank document instance having the given Document classDocumentService.getNewDocument(String documentTypeName) get a new blank document instance based on the document type nameDocumentService.getNewDocument(String documentTypeName, String initiatorPrincipalNm) get a new blank document instance based on the document type name.DocumentService.recallDocument(Document document, String annotation, boolean cancel) Recall the document, optionally providing an annotation for the recall which will show up in the route log of the document for the action taken.DocumentService.routeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.routeDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRoutingRecipients) Save and then route the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the document.DocumentService.saveDocument(Document document) This is a helper method that performs the same as theDocumentService.saveDocument(Document, Class)method.DocumentService.saveDocument(Document document, Class<? extends DocumentEvent> kualiDocumentEventClass) Saves the passed-in document.DocumentService.saveDocument(Document document, DocumentEvent docEvent) This method saves the given document using the document event passed in.DocumentService.sendAdHocRequests(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Send ad hoc requests for the given document to the specified node name, optionally providing an annotation which will show up in the route log of the document.DocumentService.sendAdHocRequests(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Send ad hoc requests for the given document, optionally providing an annotation which will show up in the route log of the document.DocumentService.sendNoteRouteNotification(Document document, org.kuali.rice.krad.bo.Note note, org.kuali.rice.kim.api.identity.Person sender) Builds an workflow notification request for the note and sends it to note recipient.DocumentService.superUserApproveDocument(Document document, String annotation) Save and then approve the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserCancelDocument(Document document, String annotation) Save and then cancel the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserDisapproveDocument(Document document, String annotation) Save and then disapprove the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserDisapproveDocumentWithoutSaving(Document document, String annotation) Disapprove the document as super user, without saving, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.updateDocument(Document document) This method is to allow for documents to be updated.DocumentService.validateAndPersistDocument(Document document, DocumentEvent event) Helper method used to save and validate a documentMethods in org.kuali.rice.krad.service that return types with arguments of type DocumentModifier and TypeMethodDescriptionDataDictionaryService.getDocumentClassByTypeName(String documentTypeName) Returns the document class declared in the dd for the given document type name.DocumentService.getDocumentsByListOfDocumentHeaderIds(Class<? extends Document> documentClass, List<String> documentHeaderIds) This method retrieves a list of fully-populated documents given a list of document header id values.DataDictionaryService.getValidDocumentClassByTypeName(String documentTypeName) Returns the document class declared in the dd for the given document type name.Methods in org.kuali.rice.krad.service with parameters of type DocumentModifier and TypeMethodDescriptionDocumentService.acknowledgeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.acknowledgeDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Acknowledge the document, optionally providing an annotation for the acknowledgement which will show up in the route log of the document, and optionally providing a list of ad hoc recipients for the document.voidThis method populates the givenDocumentwith theAdHocRoutePersons andAdHocRouteWorkgroups that are associated with it.DocumentService.approveDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.approveDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRoutingRecipients) Save and then approve the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the document.DocumentService.blanketApproveDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.blanketApproveDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Blanket approve the document which will save the document, approve the document, and stand in for an approve for all typically generated approval actions requested for this document.DocumentService.cancelDocument(Document document, String annotation) Cancel the document, without saving, optionally providing an annotation for the disapproval which will show up in the route log of the document for the action taken.DocumentService.clearDocumentFyi(Document document, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.clearDocumentFyi(Document document, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Clear the fyi requests for the document, optionally providing a list of ad hoc recipients for the document, which should be restricted to action requested of fyi as all other actions requested will be discarded.DocumentService.completeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.completeDocument(Document document, String annotation, List adHocRecipients) Save and then complete the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the documentorg.kuali.rice.krad.bo.NoteDocumentService.createNoteFromDocument(Document document, String text) This method creates a note from the given document and note text.DocumentService.disapproveDocument(Document document, String annotation) Disapprove the document, without saving, optionally providing an annotation which will show up in the route log of the document for the action taken.PessimisticLockService.establishLocks(Document document, Map editMode, org.kuali.rice.kim.api.identity.Person user) Deprecated.booleanPessimisticLockService.establishPessimisticLocks(Document document, org.kuali.rice.kim.api.identity.Person user, boolean canEdit) Establishes pessimistic locks foruseron thedocumentbased whether theusercan edit the document.voidPessimisticLockService.establishWorkflowPessimisticLocking(Document document) KualiRuleService.generateAdHocRoutePersonEvents(Document document) Builds a list containing ad hoc route person events appropriate for the context.KualiRuleService.generateAdHocRouteWorkgroupEvents(Document document) Builds a list containing ad hoc route workgroup events appropriate for the context.DocumentDictionaryService.getAllowsCopy(Document document) Returns whether or not this document's data dictionary file has flagged it to allow document copiesClass<? extends BusinessRule> DocumentDictionaryService.getBusinessRulesClass(Document document) Retrieves the configured business rule class configured for the document entry that is associated with the document type of the given document instanceKualiRuleService.getBusinessRulesInstance(Document document, Class<? extends BusinessRule> ruleInterface) Allows code in actions or business objects to directly access rule methods in the class.DocumentDictionaryService.getDefaultExistenceChecks(Document document) Retrieves the collection of ReferenceDefinition objects defined as DefaultExistenceChecks for the document instancePessimisticLockService.getDocumentActions(Document document, org.kuali.rice.kim.api.identity.Person user, Set<String> documentActions) Deprecated.KRAD has integrated this functionality intoTransactionalDocumentAuthorizerBaseDocumentDictionaryService.getDocumentAuthorizer(Document document) Retrieves theDocumentAuthorizerconfigured on the document entry for the document type associated with the document instanceDocumentDictionaryService.getDocumentPresentationController(Document document) Retrieves theDocumentPresentationControllerconfigured on the document entry for the document type associated with the document instancevoidDocumentService.prepareWorkflowDocument(Document document) Sets the title and app document id in the workflow documentDocumentService.recallDocument(Document document, String annotation, boolean cancel) Recall the document, optionally providing an annotation for the recall which will show up in the route log of the document for the action taken.voidPessimisticLockService.releaseWorkflowPessimisticLocking(Document document) voidDocumentAdHocService.replaceAdHocsForDocument(Document doc) This method replaces the current ad-hoc recipients for a given document.DocumentService.routeDocument(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRouteRecipients) DocumentService.routeDocument(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRoutingRecipients) Save and then route the document, optionally providing an annotation which will show up in the route log of the document for the action taken, and optionally providing a list of ad hoc recipients for the document.DocumentService.saveDocument(Document document) This is a helper method that performs the same as theDocumentService.saveDocument(Document, Class)method.DocumentService.saveDocument(Document document, Class<? extends DocumentEvent> kualiDocumentEventClass) Saves the passed-in document.DocumentService.saveDocument(Document document, DocumentEvent docEvent) This method saves the given document using the document event passed in.booleanDocumentService.saveDocumentNotes(Document document) Saves the notes associated with the given document if they are in a state where they can be saved.DocumentService.sendAdHocRequests(Document document, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Send ad hoc requests for the given document to the specified node name, optionally providing an annotation which will show up in the route log of the document.DocumentService.sendAdHocRequests(Document document, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) Send ad hoc requests for the given document, optionally providing an annotation which will show up in the route log of the document.DocumentService.sendNoteRouteNotification(Document document, org.kuali.rice.krad.bo.Note note, org.kuali.rice.kim.api.identity.Person sender) Builds an workflow notification request for the note and sends it to note recipient.DocumentSerializerService.serializeDocumentToXmlForRouting(Document document) Serializes a document into XML for the workflow engineDocumentService.superUserApproveDocument(Document document, String annotation) Save and then approve the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserCancelDocument(Document document, String annotation) Save and then cancel the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserDisapproveDocument(Document document, String annotation) Save and then disapprove the document as a super user, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.superUserDisapproveDocumentWithoutSaving(Document document, String annotation) Disapprove the document as super user, without saving, optionally providing an annotation which will show up in the route log of the document for the action taken.DocumentService.updateDocument(Document document) This method is to allow for documents to be updated.DocumentService.validateAndPersistDocument(Document document, DocumentEvent event) Helper method used to save and validate a documentvoidDictionaryValidationService.validateDocument(Document document) Validates the contents of a document (i.e. attributes within a document) against the data dictionary.voidDictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(Document document, int maxDepth, boolean validateRequired) Validates the contents of a document and recursively validates any of its updatable referencesvoidDictionaryValidationService.validateDocumentAndUpdatableReferencesRecursively(Document document, int maxDepth, boolean validateRequired, boolean chompLastLetterSFromCollectionName) Validates the contents of a document and recursively validates any of its updatable referencesvoidDictionaryValidationService.validateDocumentAttribute(Document document, String attributeName, String errorPrefix) Validates the specified attribute of the given document against the data dictionary.Method parameters in org.kuali.rice.krad.service with type arguments of type DocumentModifier and TypeMethodDescriptionDocumentDictionaryService.getDocumentEntryByClass(Class<? extends Document> documentClass) Retrieves the document entry that is associated with the given document classDocumentService.getDocumentsByListOfDocumentHeaderIds(Class<? extends Document> documentClass, List<String> documentHeaderIds) This method retrieves a list of fully-populated documents given a list of document header id values.DocumentDictionaryService.getDocumentTypeByClass(Class<? extends Document> documentClass) Retrieves the document type configured on the document entry associated with the given document classDocumentService.getNewDocument(Class<? extends Document> documentClass) get a new blank document instance having the given Document class -
Uses of Document in org.kuali.rice.krad.uif.view
Methods in org.kuali.rice.krad.uif.view that return types with arguments of type DocumentMethod parameters in org.kuali.rice.krad.uif.view with type arguments of type DocumentModifier and TypeMethodDescriptionvoidDocumentView.setDocumentClass(Class<? extends Document> documentClass) Sets the document class -
Uses of Document in org.kuali.rice.krad.util
Methods in org.kuali.rice.krad.util with parameters of type DocumentModifier and TypeMethodDescriptionstatic booleanRouteToCompletionUtil.checkIfAtleastOneAdHocCompleteRequestExist(Document document) Checks if there is atleast one Ad-Hoc Completion request for the document and based on that returns a boolean value. -
Uses of Document in org.kuali.rice.krad.util.documentserializer
Methods in org.kuali.rice.krad.util.documentserializer with parameters of type DocumentModifier and TypeMethodDescriptionvoidAlwaysFalsePropertySerializabilityEvaluator.initializeEvaluatorForDocument(Document document) voidAlwaysTruePropertySerializibilityEvaluator.initializeEvaluatorForDocument(Document document) Does nothing, since we know everything's serializablevoidBusinessObjectPropertySerializibilityEvaluator.initializeEvaluatorForDocument(Document document) Reads the data dictionary to determine which properties of the document should be serialized.voidPropertySerializabilityEvaluator.initializeEvaluatorForDocument(Document document) Initializes the evaluator so that calls toPropertySerializabilityEvaluator.isPropertySerializable(SerializationState, Object, String, Object)andPropertySerializabilityEvaluator.determinePropertyType(Object)will function properlyvoidPropertySerializabilityEvaluatorBase.initializeEvaluatorForDocument(Document document) -
Uses of Document in org.kuali.rice.krad.web.form
Fields in org.kuali.rice.krad.web.form declared as DocumentMethods in org.kuali.rice.krad.web.form that return DocumentMethods in org.kuali.rice.krad.web.form with parameters of type Document -
Uses of Document in org.kuali.rice.krad.workflow
Methods in org.kuali.rice.krad.workflow that return DocumentMethods in org.kuali.rice.krad.workflow with parameters of type DocumentModifier and TypeMethodDescriptionvoidKualiDocumentXmlMaterializer.setDocument(Document document)
calculatePessimisticLockEditModesto get the edit modes based on the current locks