View Javadoc

1   package org.kuali.ole.license.maintenance;
2   
3   import org.kuali.rice.kew.api.WorkflowDocument;
4   import org.kuali.rice.krad.document.Document;
5   import org.kuali.rice.krad.maintenance.MaintenanceViewPresentationControllerBase;
6   
7   /**
8    * Presentation Controller class for the License Request Document
9    */
10  public class OleLicenseMaintenanceViewPresentationControllerBase extends MaintenanceViewPresentationControllerBase {
11      /**
12       * Overrided the method to check for save permission even the document is in enroute state
13       * @param document
14       * * @return boolean
15       */
16  
17      @Override
18      public boolean canSave(Document document) {
19          return getDocumentPresentationController().canSave(document);
20      }
21  
22  
23  }