Class TransactionalDocumentView

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Container, LifecycleElement, Helpable, org.springframework.core.Ordered

public class TransactionalDocumentView extends DocumentView
View type for Transactional documents.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • TransactionalDocumentView

      public TransactionalDocumentView()
  • Method Details

    • performFinalize

      public void performFinalize(Object model, LifecycleElement parent)
      The following is performed:
      • Adds to its document ready script the setupValidator js function for setting up the validator for this view
      The following is performed:
      • Adds to its document ready script the setupValidator js function for setting up the validator for this view
      The following finalization is performed:
      • Sets the headerText of the header Group if it is blank
      • Set the messageText of the summary Message if it is blank
      • Finalizes LayoutManager
      The following finalization is done here:
      • progressiveRender and conditionalRefresh variables are processed if set
      • If any of the style properties were given, sets the style string on the style property
      • Set the skipInTabOrder flag for nested components
      The last phase before the view is rendered

      Here final preparations can be made based on the updated view state.

      Locks the document if pessimistic locking is turned on.

      Specified by:
      performFinalize in interface LifecycleElement
      Overrides:
      performFinalize in class FormView
      Parameters:
      model - - top level object containing the data
      parent - - parent component
    • generatePessimisticLockMessages

      protected void generatePessimisticLockMessages(TransactionalDocumentFormBase form)
      Generates the messages that warn users that the document has been locked for editing by another user.
      Parameters:
      form - form instance containing the transactional document data
    • setupPessimisticLockingTimeout

      protected void setupPessimisticLockingTimeout(TransactionalDocumentFormBase form)
      Enables the session timeout warning if any pessimistic locks exist.
      Parameters:
      form - form instance containing the transactional document data
    • getPessimisticLockService

      protected PessimisticLockService getPessimisticLockService()
    • setPessimisticLockService

      protected void setPessimisticLockService(PessimisticLockService pessimisticLockService)