View Javadoc

1   /*
2    * Copyright 2005-2007 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.export;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  import org.kuali.rice.kew.doctype.bo.DocumentType;
23  import org.kuali.rice.kew.edl.bo.EDocLiteAssociation;
24  import org.kuali.rice.kew.edl.bo.EDocLiteStyle;
25  import org.kuali.rice.kew.help.HelpEntry;
26  import org.kuali.rice.kew.rule.RuleBaseValues;
27  import org.kuali.rice.kew.rule.RuleDelegation;
28  import org.kuali.rice.kew.rule.bo.RuleAttribute;
29  import org.kuali.rice.kew.rule.bo.RuleTemplate;
30  import org.kuali.rice.kim.bo.Group;
31  
32  
33  /**
34   * A set of data to be exported to a KEW XML file.
35   *
36   * @author Kuali Rice Team (rice.collab@kuali.org)
37   */
38  public class ExportDataSet {
39  
40      private List<DocumentType> documentTypes = new ArrayList<DocumentType>();
41      private List<Group> groups = new ArrayList<Group>();
42      private List<RuleAttribute> ruleAttributes = new ArrayList<RuleAttribute>();
43      private List<RuleTemplate> ruleTemplates = new ArrayList<RuleTemplate>();
44      private List<RuleBaseValues> rules = new ArrayList<RuleBaseValues>();
45      private List<RuleDelegation> ruleDelegations = new ArrayList<RuleDelegation>();
46      private List<HelpEntry> help = new ArrayList<HelpEntry>();
47      private List<EDocLiteAssociation> edocLites = new ArrayList<EDocLiteAssociation>();
48      private List<EDocLiteStyle> styles = new ArrayList<EDocLiteStyle>();
49  
50      public List<DocumentType> getDocumentTypes() {
51          return documentTypes;
52      }
53      public List<HelpEntry> getHelp() {
54          return help;
55      }
56      public List<EDocLiteStyle> getStyles() {
57          return styles;
58      }
59      public List<RuleAttribute> getRuleAttributes() {
60          return ruleAttributes;
61      }
62      public List<RuleBaseValues> getRules() {
63          return rules;
64      }
65      public List<RuleTemplate> getRuleTemplates() {
66          return ruleTemplates;
67      }
68  	public List<EDocLiteAssociation> getEdocLites() {
69  		return edocLites;
70  	}
71  	public List<Group> getGroups() {
72  		return this.groups;
73  	}
74  	public void setGroups(List<Group> groups) {
75  		this.groups = groups;
76  	}
77  	public List<RuleDelegation> getRuleDelegations() {
78  		return this.ruleDelegations;
79  	}
80  
81  }