View Javadoc

1   /*
2    * Copyright 2005-2008 The Kuali Foundation
3    * 
4    * 
5    * Licensed under the Educational Community License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    * 
9    * http://www.opensource.org/licenses/ecl2.php
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.kuali.rice.kew.rule.web;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  import org.kuali.rice.kew.rule.web.RuleQuickLinksAction.DocumentTypeQuickLinksStructure;
23  import org.kuali.rice.kns.web.struts.form.KualiForm;
24  
25  /**
26   * A Struts ActionForm for the {@link RuleQuickLinksAction}.
27   * 
28   * @see RuleQuickLinksAction
29   *
30   * @author Kuali Rice Team (rice.collab@kuali.org)
31   */
32  public class RuleQuickLinksForm extends KualiForm {
33  
34      private static final long serialVersionUID = 3632283509506923869L;
35      private String rootDocTypeName;
36      protected boolean canInitiateDocumentTypeDocument = false;
37      private List<DocumentTypeQuickLinksStructure> documentTypeQuickLinksStructures = new ArrayList<DocumentTypeQuickLinksStructure>();
38      
39      public String getRootDocTypeName() {
40          return rootDocTypeName;
41      }
42      public void setRootDocTypeName(String rootDocTypeName) {
43          this.rootDocTypeName = rootDocTypeName;
44      }
45      public List<DocumentTypeQuickLinksStructure> getDocumentTypeQuickLinksStructures() {
46          return this.documentTypeQuickLinksStructures;
47      }
48  	public void setDocumentTypeQuickLinksStructures(
49  			List<DocumentTypeQuickLinksStructure> documentTypeQuickLinksStructures) {
50  		this.documentTypeQuickLinksStructures = documentTypeQuickLinksStructures;
51  	}
52  	public boolean isCanInitiateDocumentTypeDocument() {
53  		return this.canInitiateDocumentTypeDocument;
54  	}
55  	public void setCanInitiateDocumentTypeDocument(
56  			boolean canInitiateDocumentTypeDocument) {
57  		this.canInitiateDocumentTypeDocument = canInitiateDocumentTypeDocument;
58  	}
59      
60  
61  }