|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.document.DocumentUpdate.Builder
public static final class DocumentUpdate.Builder
A builder which can be used to construct DocumentUpdate
instances.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentUpdate.Builder create()
public static DocumentUpdate.Builder create(Document document)
public DocumentUpdate build()
ModelBuilder
build
in interface ModelBuilder
public String getTitle()
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |