001: /*
002: * Copyright 2005-2006 The Kuali Foundation.
003: *
004: *
005: * Licensed under the Educational Community License, Version 1.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.opensource.org/licenses/ecl1.php
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package edu.iu.uis.eden.export;
018:
019: import java.util.ArrayList;
020: import java.util.List;
021:
022: import org.kuali.workflow.workgroup.WorkgroupType;
023:
024: import edu.iu.uis.eden.edl.EDocLiteStyle;
025:
026: /**
027: * A set of data to be exported to a KEW XML file.
028: *
029: * @author ewestfal
030: */
031: public class ExportDataSet {
032:
033: private ExportFormat format;
034:
035: private List applicationConstants = new ArrayList();
036: private List documentTypes = new ArrayList();
037: private List workgroups = new ArrayList();
038: private List users = new ArrayList();
039: private List ruleAttributes = new ArrayList();
040: private List ruleTemplates = new ArrayList();
041: private List rules = new ArrayList();
042: private List help = new ArrayList();
043: private List edocLites = new ArrayList();
044: private List<EDocLiteStyle> styles = new ArrayList<EDocLiteStyle>();
045: private List<WorkgroupType> workgroupTypes = new ArrayList<WorkgroupType>();
046:
047: public ExportDataSet(ExportFormat format) {
048: this .format = format;
049: }
050:
051: public ExportFormat getFormat() {
052: return format;
053: }
054:
055: public List getApplicationConstants() {
056: return applicationConstants;
057: }
058:
059: public List getDocumentTypes() {
060: return documentTypes;
061: }
062:
063: public List getHelp() {
064: return help;
065: }
066:
067: public List<EDocLiteStyle> getStyles() {
068: return styles;
069: }
070:
071: public List getRuleAttributes() {
072: return ruleAttributes;
073: }
074:
075: public List getRules() {
076: return rules;
077: }
078:
079: public List getRuleTemplates() {
080: return ruleTemplates;
081: }
082:
083: public List getUsers() {
084: return users;
085: }
086:
087: public List getWorkgroups() {
088: return workgroups;
089: }
090:
091: public List getEdocLites() {
092: return edocLites;
093: }
094:
095: public void setEdocLites(List edocLites) {
096: this .edocLites = edocLites;
097: }
098:
099: public List<WorkgroupType> getWorkgroupTypes() {
100: return workgroupTypes;
101: }
102: }
|