View Javadoc

1   /**
2    * Copyright 2005-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.document;
17  
18  
19  /**
20   * @author Kuali Rice Team (rice.collab@kuali.org)
21   */
22  public interface DocumentPresentationController {
23  
24      public boolean canInitiate(String documentTypeName);
25  
26      public boolean canEdit(Document document);
27  
28      public boolean canAnnotate(Document document);
29  
30      public boolean canReload(Document document);
31  
32      public boolean canClose(Document document);
33  
34      public boolean canSave(Document document);
35  
36      public boolean canRoute(Document document);
37  
38      public boolean canCancel(Document document);
39  
40      public boolean canCopy(Document document);
41  
42      public boolean canPerformRouteReport(Document document);
43  
44      public boolean canAddAdhocRequests(Document document);
45  
46      public boolean canBlanketApprove(Document document);
47  
48      public boolean canApprove(Document document);
49  
50      public boolean canDisapprove(Document document);
51  
52      public boolean canSendAdhocRequests(Document document);
53  
54      public boolean canSendNoteFyi(Document document);
55  
56      public boolean canEditDocumentOverview(Document document);
57  
58      public boolean canFyi(Document document);
59  
60      public boolean canAcknowledge(Document document);
61  
62  }