org.kuali.rice.kew.api.action
Class RoutingReportCriteria.Builder
java.lang.Object
org.kuali.rice.kew.api.action.RoutingReportCriteria.Builder
- All Implemented Interfaces:
- Serializable, ModelBuilder, RoutingReportCriteriaContract
- Enclosing class:
- RoutingReportCriteria
public static final class RoutingReportCriteria.Builder
- extends Object
- implements Serializable, ModelBuilder, RoutingReportCriteriaContract
A builder which can be used to construct RoutingReportCriteria
instances. Enforces the constraints of
the RoutingReportCriteriaContract
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createByDocumentTypeName
public static RoutingReportCriteria.Builder createByDocumentTypeName(String documentTypeName)
createByDocumentId
public static RoutingReportCriteria.Builder createByDocumentId(String documentId)
createByDocumentIdAndTargetNodeName
public static RoutingReportCriteria.Builder createByDocumentIdAndTargetNodeName(String documentId,
String targetNodeName)
create
public static RoutingReportCriteria.Builder create(RoutingReportCriteriaContract contract)
build
public RoutingReportCriteria build()
- Description copied from interface:
ModelBuilder
- Returns an instance of the object being built by this builder based
on the current state of the builder. It should be possible to
invoke this method more than once on the same builder. It should
never return null;
- Specified by:
build
in interface ModelBuilder
- Returns:
- an instance of the object being built by this builder,
should never return null
getDocumentId
public String getDocumentId()
- Specified by:
getDocumentId
in interface RoutingReportCriteriaContract
getTargetNodeName
public String getTargetNodeName()
- Specified by:
getTargetNodeName
in interface RoutingReportCriteriaContract
getTargetPrincipalIds
public List<String> getTargetPrincipalIds()
- Specified by:
getTargetPrincipalIds
in interface RoutingReportCriteriaContract
getRoutingPrincipalId
public String getRoutingPrincipalId()
- Specified by:
getRoutingPrincipalId
in interface RoutingReportCriteriaContract
getDocumentTypeName
public String getDocumentTypeName()
- Specified by:
getDocumentTypeName
in interface RoutingReportCriteriaContract
getXmlContent
public String getXmlContent()
- Specified by:
getXmlContent
in interface RoutingReportCriteriaContract
getRuleTemplateNames
public List<String> getRuleTemplateNames()
- Specified by:
getRuleTemplateNames
in interface RoutingReportCriteriaContract
getNodeNames
public List<String> getNodeNames()
- Specified by:
getNodeNames
in interface RoutingReportCriteriaContract
getActionsToTake
public List<RoutingReportActionToTake.Builder> getActionsToTake()
- Specified by:
getActionsToTake
in interface RoutingReportCriteriaContract
isActivateRequests
public boolean isActivateRequests()
- Specified by:
isActivateRequests
in interface RoutingReportCriteriaContract
isFlattenNodes
public boolean isFlattenNodes()
- Specified by:
isFlattenNodes
in interface RoutingReportCriteriaContract
setDocumentId
public void setDocumentId(String documentId)
setTargetNodeName
public void setTargetNodeName(String targetNodeName)
setTargetPrincipalIds
public void setTargetPrincipalIds(List<String> targetPrincipalIds)
setRoutingPrincipalId
public void setRoutingPrincipalId(String routingPrincipalId)
setDocumentTypeName
public void setDocumentTypeName(String documentTypeName)
setXmlContent
public void setXmlContent(String xmlContent)
setRuleTemplateNames
public void setRuleTemplateNames(List<String> ruleTemplateNames)
setNodeNames
public void setNodeNames(List<String> nodeNames)
setActionsToTake
public void setActionsToTake(List<RoutingReportActionToTake.Builder> actionsToTake)
setActivateRequests
public void setActivateRequests(boolean activateRequests)
setFlattenNodes
public void setFlattenNodes(boolean flattenNodes)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.