| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.rice.kew.dto; |
| 18 | |
|
| 19 | |
import java.io.Serializable; |
| 20 | |
|
| 21 | |
|
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
public class ReportCriteriaDTO implements Serializable { |
| 27 | |
|
| 28 | |
private static final long serialVersionUID = 4390002636101531058L; |
| 29 | |
|
| 30 | |
private Long routeHeaderId; |
| 31 | |
private String targetNodeName; |
| 32 | |
|
| 33 | |
private String[] targetPrincipalIds; |
| 34 | |
private String routingPrincipalId; |
| 35 | |
private String documentTypeName; |
| 36 | |
private String xmlContent; |
| 37 | |
private String[] ruleTemplateNames; |
| 38 | |
private String[] nodeNames; |
| 39 | |
private ReportActionToTakeDTO[] actionsToTake; |
| 40 | 0 | private Boolean activateRequests = null; |
| 41 | 0 | private boolean flattenNodes = false; |
| 42 | |
|
| 43 | 0 | public ReportCriteriaDTO() {} |
| 44 | |
|
| 45 | |
public ReportCriteriaDTO(Long routeHeaderId) { |
| 46 | 0 | this(routeHeaderId, null); |
| 47 | 0 | } |
| 48 | |
|
| 49 | 0 | public ReportCriteriaDTO(Long routeHeaderId, String targetNodeName) { |
| 50 | 0 | this.routeHeaderId = routeHeaderId; |
| 51 | 0 | this.targetNodeName = targetNodeName; |
| 52 | 0 | } |
| 53 | |
|
| 54 | 0 | public ReportCriteriaDTO(String documentTypeName) { |
| 55 | 0 | this.documentTypeName = documentTypeName; |
| 56 | 0 | } |
| 57 | |
|
| 58 | |
public Boolean getActivateRequests() { |
| 59 | 0 | return this.activateRequests; |
| 60 | |
} |
| 61 | |
|
| 62 | |
public void setActivateRequests(Boolean activateRequests) { |
| 63 | 0 | this.activateRequests = activateRequests; |
| 64 | 0 | } |
| 65 | |
|
| 66 | |
public Long getRouteHeaderId() { |
| 67 | 0 | return routeHeaderId; |
| 68 | |
} |
| 69 | |
|
| 70 | |
public void setRouteHeaderId(Long routeHeaderId) { |
| 71 | 0 | this.routeHeaderId = routeHeaderId; |
| 72 | 0 | } |
| 73 | |
|
| 74 | |
public String getTargetNodeName() { |
| 75 | 0 | return targetNodeName; |
| 76 | |
} |
| 77 | |
|
| 78 | |
public void setTargetNodeName(String targetNodeName) { |
| 79 | 0 | this.targetNodeName = targetNodeName; |
| 80 | 0 | } |
| 81 | |
|
| 82 | |
public String toString() { |
| 83 | 0 | return super.toString()+"[routeHeaderId="+routeHeaderId+ |
| 84 | |
",targetNodeName="+targetNodeName+"]"; |
| 85 | |
} |
| 86 | |
|
| 87 | |
public String getDocumentTypeName() { |
| 88 | 0 | return documentTypeName; |
| 89 | |
} |
| 90 | |
|
| 91 | |
public void setDocumentTypeName(String documentTypeName) { |
| 92 | 0 | this.documentTypeName = documentTypeName; |
| 93 | 0 | } |
| 94 | |
|
| 95 | |
public String[] getRuleTemplateNames() { |
| 96 | 0 | return ruleTemplateNames; |
| 97 | |
} |
| 98 | |
|
| 99 | |
public void setRuleTemplateNames(String[] ruleTemplateNames) { |
| 100 | 0 | this.ruleTemplateNames = ruleTemplateNames; |
| 101 | 0 | } |
| 102 | |
|
| 103 | |
public String[] getTargetPrincipalIds() { |
| 104 | 0 | return targetPrincipalIds; |
| 105 | |
} |
| 106 | |
|
| 107 | |
public void setTargetPrincipalIds(String[] targetPrincipalIds) { |
| 108 | 0 | this.targetPrincipalIds = targetPrincipalIds; |
| 109 | 0 | } |
| 110 | |
|
| 111 | |
public String getXmlContent() { |
| 112 | 0 | return xmlContent; |
| 113 | |
} |
| 114 | |
|
| 115 | |
public void setXmlContent(String xmlContent) { |
| 116 | 0 | this.xmlContent = xmlContent; |
| 117 | 0 | } |
| 118 | |
|
| 119 | |
public String[] getNodeNames() { |
| 120 | 0 | return nodeNames; |
| 121 | |
} |
| 122 | |
|
| 123 | |
public void setNodeNames(String[] nodeNames) { |
| 124 | 0 | this.nodeNames = nodeNames; |
| 125 | 0 | } |
| 126 | |
|
| 127 | |
public ReportActionToTakeDTO[] getActionsToTake() { |
| 128 | 0 | return actionsToTake; |
| 129 | |
} |
| 130 | |
|
| 131 | |
public void setActionsToTake(ReportActionToTakeDTO[] actionsToTake) { |
| 132 | 0 | this.actionsToTake = actionsToTake; |
| 133 | 0 | } |
| 134 | |
|
| 135 | |
public String getRoutingPrincipalId() { |
| 136 | 0 | return routingPrincipalId; |
| 137 | |
} |
| 138 | |
|
| 139 | |
public void setRoutingPrincipalId(String routingPrincipalId) { |
| 140 | 0 | this.routingPrincipalId = routingPrincipalId; |
| 141 | 0 | } |
| 142 | |
|
| 143 | |
public boolean isFlattenNodes() { |
| 144 | 0 | return this.flattenNodes; |
| 145 | |
} |
| 146 | |
|
| 147 | |
public void setFlattenNodes(boolean flattenNodes) { |
| 148 | 0 | this.flattenNodes = flattenNodes; |
| 149 | 0 | } |
| 150 | |
|
| 151 | |
} |