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.kew.rule.web;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.kuali.rice.kew.rule.web.RuleQuickLinksAction.DocumentTypeQuickLinksStructure;
22  import org.kuali.rice.kns.web.struts.form.KualiForm;
23  
24  /**
25   * A Struts ActionForm for the {@link RuleQuickLinksAction}.
26   * 
27   * @see RuleQuickLinksAction
28   *
29   * @author Kuali Rice Team (rice.collab@kuali.org)
30   */
31  public class RuleQuickLinksForm extends KualiForm {
32  
33      private static final long serialVersionUID = 3632283509506923869L;
34      private String rootDocTypeName;
35      protected boolean canInitiateDocumentTypeDocument = false;
36      private List<DocumentTypeQuickLinksStructure> documentTypeQuickLinksStructures = new ArrayList<DocumentTypeQuickLinksStructure>();
37      
38      public String getRootDocTypeName() {
39          return rootDocTypeName;
40      }
41      public void setRootDocTypeName(String rootDocTypeName) {
42          this.rootDocTypeName = rootDocTypeName;
43      }
44      public List<DocumentTypeQuickLinksStructure> getDocumentTypeQuickLinksStructures() {
45          return this.documentTypeQuickLinksStructures;
46      }
47  	public void setDocumentTypeQuickLinksStructures(
48  			List<DocumentTypeQuickLinksStructure> documentTypeQuickLinksStructures) {
49  		this.documentTypeQuickLinksStructures = documentTypeQuickLinksStructures;
50  	}
51  	public boolean isCanInitiateDocumentTypeDocument() {
52  		return this.canInitiateDocumentTypeDocument;
53  	}
54  	public void setCanInitiateDocumentTypeDocument(
55  			boolean canInitiateDocumentTypeDocument) {
56  		this.canInitiateDocumentTypeDocument = canInitiateDocumentTypeDocument;
57  	}
58      
59  
60  }