public static final class DocumentSearchCriteriaConfiguration.Builder extends Object implements Serializable, ModelBuilder, DocumentSearchCriteriaConfigurationContract
DocumentSearchCriteriaConfiguration
instances. Enforces the
constraints of the DocumentSearchCriteriaConfigurationContract
.Modifier and Type | Method and Description |
---|---|
DocumentSearchCriteriaConfiguration |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static DocumentSearchCriteriaConfiguration.Builder |
create()
Creates new empty builder instance.
|
static DocumentSearchCriteriaConfiguration.Builder |
create(DocumentSearchCriteriaConfigurationContract contract)
Creates a new builder instance initialized with copies of the properties from the given contract.
|
List<AttributeFields> |
getSearchAttributeFields()
Returns the additional attribute fields that should be included as part of the document search criteria on the
document search user interface.
|
void |
setSearchAttributeFields(List<AttributeFields> searchAttributeFields)
Sets the search attribute fields on this builder to the given list of attribute fields.
|
public static DocumentSearchCriteriaConfiguration.Builder create()
public static DocumentSearchCriteriaConfiguration.Builder create(DocumentSearchCriteriaConfigurationContract contract)
contract
- the contract from which to copy propertiesIllegalArgumentException
- if the given contract is nullpublic DocumentSearchCriteriaConfiguration build()
ModelBuilder
build
in interface ModelBuilder
public List<AttributeFields> getSearchAttributeFields()
DocumentSearchCriteriaConfigurationContract
getSearchAttributeFields
in interface DocumentSearchCriteriaConfigurationContract
public void setSearchAttributeFields(List<AttributeFields> searchAttributeFields)
searchAttributeFields
- the list of search attribute fields to setCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.