public static final class DocumentUpdate.Builder extends Object implements Serializable, ModelBuilder
DocumentUpdate
instances.Modifier and Type | Method and Description |
---|---|
DocumentUpdate |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static DocumentUpdate.Builder |
create() |
static DocumentUpdate.Builder |
create(Document document) |
String |
getApplicationDocumentId() |
String |
getApplicationDocumentStatus() |
String |
getTitle() |
Map<String,String> |
getVariables() |
String |
getVariableValue(String name) |
void |
setApplicationDocumentId(String applicationDocumentId) |
void |
setApplicationDocumentStatus(String applicationDocumentStatus) |
void |
setTitle(String title)
Sets the document title - will be truncated to
KewApiConstants.TITLE_MAX_LENGTH length. |
void |
setVariable(String name,
String value) |
void |
setVariables(Map<String,String> variables) |
public static DocumentUpdate.Builder create()
public static DocumentUpdate.Builder create(Document document)
public DocumentUpdate build()
ModelBuilder
build
in interface ModelBuilder
public void setTitle(String title)
KewApiConstants.TITLE_MAX_LENGTH
length.public String getApplicationDocumentId()
public void setApplicationDocumentId(String applicationDocumentId)
public String getApplicationDocumentStatus()
public void setApplicationDocumentStatus(String applicationDocumentStatus)
public void setVariables(Map<String,String> variables)
public Map<String,String> getVariables()
public String getVariableValue(String name)
public void setVariable(String name, String value)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.