org.kuali.rice.kew.api.rule
Class RuleReportCriteria.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.rule.RuleReportCriteria.Builder
All Implemented Interfaces:
Serializable, ModelBuilder, RuleReportCriteriaContract
Enclosing class:
RuleReportCriteria

public static final class RuleReportCriteria.Builder
extends Object
implements Serializable, ModelBuilder, RuleReportCriteriaContract

A builder which can be used to construct RuleReportCriteria instances. Enforces the constraints of the RuleReportCriteriaContract.

See Also:
Serialized Form

Method Summary
 RuleReportCriteria build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static RuleReportCriteria.Builder create()
           
static RuleReportCriteria.Builder create(RuleReportCriteriaContract contract)
           
 List<String> getActionRequestCodes()
           
 String getDocumentTypeName()
           
 String getResponsibleGroupId()
           
 String getResponsiblePrincipalId()
           
 String getResponsibleRoleName()
           
 String getRuleDescription()
           
 Map<String,String> getRuleExtensions()
           
 String getRuleTemplateName()
           
 boolean isActive()
           
 boolean isConsiderGroupMembership()
           
 boolean isIncludeDelegations()
           
 void setActionRequestCodes(List<String> actionRequestCodes)
           
 void setActive(boolean active)
           
 void setConsiderGroupMembership(boolean considerGroupMembership)
           
 void setDocumentTypeName(String documentTypeName)
           
 void setIncludeDelegations(boolean includeDelegations)
           
 void setResponsibleGroupId(String responsibleGroupId)
           
 void setResponsiblePrincipalId(String responsiblePrincipalId)
           
 void setResponsibleRoleName(String responsibleRoleName)
           
 void setRuleDescription(String ruleDescription)
           
 void setRuleExtensions(Map<String,String> ruleExtensions)
           
 void setRuleTemplateName(String ruleTemplateName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static RuleReportCriteria.Builder create()

create

public static RuleReportCriteria.Builder create(RuleReportCriteriaContract contract)

build

public RuleReportCriteria 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

getRuleDescription

public String getRuleDescription()
Specified by:
getRuleDescription in interface RuleReportCriteriaContract

getDocumentTypeName

public String getDocumentTypeName()
Specified by:
getDocumentTypeName in interface RuleReportCriteriaContract

getRuleTemplateName

public String getRuleTemplateName()
Specified by:
getRuleTemplateName in interface RuleReportCriteriaContract

getActionRequestCodes

public List<String> getActionRequestCodes()
Specified by:
getActionRequestCodes in interface RuleReportCriteriaContract

getResponsiblePrincipalId

public String getResponsiblePrincipalId()
Specified by:
getResponsiblePrincipalId in interface RuleReportCriteriaContract

getResponsibleGroupId

public String getResponsibleGroupId()
Specified by:
getResponsibleGroupId in interface RuleReportCriteriaContract

getResponsibleRoleName

public String getResponsibleRoleName()
Specified by:
getResponsibleRoleName in interface RuleReportCriteriaContract

getRuleExtensions

public Map<String,String> getRuleExtensions()
Specified by:
getRuleExtensions in interface RuleReportCriteriaContract

isActive

public boolean isActive()
Specified by:
isActive in interface RuleReportCriteriaContract

isConsiderGroupMembership

public boolean isConsiderGroupMembership()
Specified by:
isConsiderGroupMembership in interface RuleReportCriteriaContract

isIncludeDelegations

public boolean isIncludeDelegations()
Specified by:
isIncludeDelegations in interface RuleReportCriteriaContract

setRuleDescription

public void setRuleDescription(String ruleDescription)

setDocumentTypeName

public void setDocumentTypeName(String documentTypeName)

setRuleTemplateName

public void setRuleTemplateName(String ruleTemplateName)

setActionRequestCodes

public void setActionRequestCodes(List<String> actionRequestCodes)

setResponsiblePrincipalId

public void setResponsiblePrincipalId(String responsiblePrincipalId)

setResponsibleGroupId

public void setResponsibleGroupId(String responsibleGroupId)

setResponsibleRoleName

public void setResponsibleRoleName(String responsibleRoleName)

setRuleExtensions

public void setRuleExtensions(Map<String,String> ruleExtensions)

setActive

public void setActive(boolean active)

setConsiderGroupMembership

public void setConsiderGroupMembership(boolean considerGroupMembership)

setIncludeDelegations

public void setIncludeDelegations(boolean includeDelegations)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.