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.clientapp.vo;
018:
019: import java.io.Serializable;
020:
021: /**
022: * Transport object for representing the criteria for a routing report.
023: *
024: * @author ewestfal
025: *
026: * @workflow.webservice-object
027: */
028: public class ReportCriteriaVO implements Serializable {
029:
030: private static final long serialVersionUID = 4390002636101531058L;
031:
032: private Long routeHeaderId;
033: private String targetNodeName;
034:
035: private UserIdVO[] targetUsers;
036: private UserIdVO routingUser;
037: private String documentTypeName;
038: private String xmlContent;
039: private String[] ruleTemplateNames;
040: private String[] nodeNames;
041: private ReportActionToTakeVO[] actionsToTake;
042:
043: public ReportCriteriaVO() {
044: }
045:
046: public ReportCriteriaVO(Long routeHeaderId) {
047: this (routeHeaderId, null);
048: }
049:
050: public ReportCriteriaVO(Long routeHeaderId, String targetNodeName) {
051: this .routeHeaderId = routeHeaderId;
052: this .targetNodeName = targetNodeName;
053: }
054:
055: public ReportCriteriaVO(String documentTypeName) {
056: this .documentTypeName = documentTypeName;
057: }
058:
059: public Long getRouteHeaderId() {
060: return routeHeaderId;
061: }
062:
063: public void setRouteHeaderId(Long routeHeaderId) {
064: this .routeHeaderId = routeHeaderId;
065: }
066:
067: public String getTargetNodeName() {
068: return targetNodeName;
069: }
070:
071: public void setTargetNodeName(String targetNodeName) {
072: this .targetNodeName = targetNodeName;
073: }
074:
075: public String toString() {
076: return super .toString() + "[routeHeaderId=" + routeHeaderId
077: + ",targetNodeName=" + targetNodeName + "]";
078: }
079:
080: public String getDocumentTypeName() {
081: return documentTypeName;
082: }
083:
084: public void setDocumentTypeName(String documentTypeName) {
085: this .documentTypeName = documentTypeName;
086: }
087:
088: public String[] getRuleTemplateNames() {
089: return ruleTemplateNames;
090: }
091:
092: public void setRuleTemplateNames(String[] ruleTemplateNames) {
093: this .ruleTemplateNames = ruleTemplateNames;
094: }
095:
096: public UserIdVO[] getTargetUsers() {
097: return targetUsers;
098: }
099:
100: public void setTargetUsers(UserIdVO[] targetUsers) {
101: this .targetUsers = targetUsers;
102: }
103:
104: public String getXmlContent() {
105: return xmlContent;
106: }
107:
108: public void setXmlContent(String xmlContent) {
109: this .xmlContent = xmlContent;
110: }
111:
112: public String[] getNodeNames() {
113: return nodeNames;
114: }
115:
116: public void setNodeNames(String[] nodeNames) {
117: this .nodeNames = nodeNames;
118: }
119:
120: public ReportActionToTakeVO[] getActionsToTake() {
121: return actionsToTake;
122: }
123:
124: public void setActionsToTake(ReportActionToTakeVO[] actionsToTake) {
125: this .actionsToTake = actionsToTake;
126: }
127:
128: public UserIdVO getRoutingUser() {
129: return routingUser;
130: }
131:
132: public void setRoutingUser(UserIdVO routingUser) {
133: this.routingUser = routingUser;
134: }
135:
136: }
|