org.kuali.rice.kew.api.action
Class RoutingReportCriteria.Builder

java.lang.Object
  extended by 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

Method Summary
 RoutingReportCriteria build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static RoutingReportCriteria.Builder create(RoutingReportCriteriaContract contract)
           
static RoutingReportCriteria.Builder createByDocumentId(String documentId)
           
static RoutingReportCriteria.Builder createByDocumentIdAndTargetNodeName(String documentId, String targetNodeName)
           
static RoutingReportCriteria.Builder createByDocumentTypeName(String documentTypeName)
           
 List<RoutingReportActionToTake.Builder> getActionsToTake()
           
 String getDocumentId()
           
 String getDocumentTypeName()
           
 List<String> getNodeNames()
           
 String getRoutingPrincipalId()
           
 List<String> getRuleTemplateNames()
           
 String getTargetNodeName()
           
 List<String> getTargetPrincipalIds()
           
 String getXmlContent()
           
 boolean isActivateRequests()
           
 boolean isFlattenNodes()
           
 void setActionsToTake(List<RoutingReportActionToTake.Builder> actionsToTake)
           
 void setActivateRequests(boolean activateRequests)
           
 void setDocumentId(String documentId)
           
 void setDocumentTypeName(String documentTypeName)
           
 void setFlattenNodes(boolean flattenNodes)
           
 void setNodeNames(List<String> nodeNames)
           
 void setRoutingPrincipalId(String routingPrincipalId)
           
 void setRuleTemplateNames(List<String> ruleTemplateNames)
           
 void setTargetNodeName(String targetNodeName)
           
 void setTargetPrincipalIds(List<String> targetPrincipalIds)
           
 void setXmlContent(String xmlContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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-2011 The Kuali Foundation. All Rights Reserved.