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

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

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

A builder which can be used to construct DocumentActionParameters instances.

See Also:
Serialized Form

Method Summary
 DocumentActionParameters build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static DocumentActionParameters.Builder create(String documentId, String principalId)
           
 String getAnnotation()
           
 DocumentContentUpdate getDocumentContentUpdate()
           
 String getDocumentId()
           
 DocumentUpdate getDocumentUpdate()
           
 String getPrincipalId()
           
 void setAnnotation(String annotation)
           
 void setDocumentContentUpdate(DocumentContentUpdate documentContentUpdate)
           
 void setDocumentId(String documentId)
           
 void setDocumentUpdate(DocumentUpdate documentUpdate)
           
 void setPrincipalId(String principalId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static DocumentActionParameters.Builder create(String documentId,
                                                      String principalId)

build

public DocumentActionParameters 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()

setDocumentId

public void setDocumentId(String documentId)

getPrincipalId

public String getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)

getAnnotation

public String getAnnotation()

setAnnotation

public void setAnnotation(String annotation)

getDocumentUpdate

public DocumentUpdate getDocumentUpdate()

setDocumentUpdate

public void setDocumentUpdate(DocumentUpdate documentUpdate)

getDocumentContentUpdate

public DocumentContentUpdate getDocumentContentUpdate()

setDocumentContentUpdate

public void setDocumentContentUpdate(DocumentContentUpdate documentContentUpdate)


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