org.kuali.rice.krad.web.form
Class DocumentFormBase

java.lang.Object
  extended by org.kuali.rice.krad.web.form.UifFormBase
      extended by org.kuali.rice.krad.web.form.DocumentFormBase
All Implemented Interfaces:
Serializable, ViewModel
Direct Known Subclasses:
MaintenanceForm

public class DocumentFormBase
extends UifFormBase

Base form for all DocumentView screens

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  Document document
           
 
Fields inherited from class org.kuali.rice.krad.web.form.UifFormBase
actionParameters, attachmentFile, clientStateForSyncing, defaultsApplied, focusId, formHistory, formKey, formPostUrl, growlScript, jumpToId, jumpToName, methodToCall, newCollectionLines, pageId, postedView, readOnlyFieldsList, renderFullView, requestRedirect, returnFormKey, returnLocation, selectedCollectionLines, skipViewInit, updateComponentId, validateDirty, view, viewId, viewName, viewRequestParameters, viewTypeName
 
Constructor Summary
DocumentFormBase()
           
 
Method Summary
 String getAnnotation()
           
 String getCommand()
           
protected  String getDefaultDocumentTypeName()
           
 String getDocId()
           
 String getDocTypeName()
           
 Document getDocument()
           
 String getDocumentCreateDate()
          Retrieves the create date for the forms document and formats for presentation
 String getDocumentInitiatorNetworkId()
          Retrieves the principal name (network id) for the document's initiator
 WorkflowDocument getWorkflowDocument()
          Retrieves the WorkflowDocument instance from the forms document instance
protected  void instantiateDocument()
           
 void setAnnotation(String annotation)
           
 void setCommand(String command)
           
 void setDocId(String docId)
           
 void setDocTypeName(String docTypeName)
           
 void setDocument(Document document)
           
 
Methods inherited from class org.kuali.rice.krad.web.form.UifFormBase
generateFormKey, getActionEvent, getActionParamaterValue, getActionParameters, getActionParametersAsProperties, getAttachmentFile, getClientStateForSyncing, getFocusId, getFormHistory, getFormKey, getFormPostUrl, getGrowlScript, getJumpToId, getJumpToName, getMethodToCall, getNewCollectionLines, getPageId, getPostedView, getReadOnlyFieldsList, getReturnFormKey, getReturnLocation, getSelectedCollectionLines, getUpdateComponentId, getView, getViewId, getViewName, getViewRequestParameters, getViewService, getViewTypeName, isDefaultsApplied, isRenderFullView, isRequestRedirect, isSkipViewInit, isValidateDirty, postBind, postRender, setActionParameters, setAttachmentFile, setDefaultsApplied, setFocusId, setFormHistory, setFormKey, setFormPostUrl, setGrowlScript, setJumpToId, setJumpToName, setMethodToCall, setNewCollectionLines, setPageId, setPostedView, setReadOnlyFieldsList, setRenderFullView, setRequestRedirect, setReturnFormKey, setReturnLocation, setSelectedCollectionLines, setSkipViewInit, setUpdateComponentId, setValidateDirty, setView, setViewId, setViewName, setViewRequestParameters, setViewTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

protected Document document
Constructor Detail

DocumentFormBase

public DocumentFormBase()
Method Detail

getAnnotation

public String getAnnotation()

setAnnotation

public void setAnnotation(String annotation)

getDocument

public Document getDocument()

setDocument

public void setDocument(Document document)

getDocTypeName

public String getDocTypeName()

setDocTypeName

public void setDocTypeName(String docTypeName)

getCommand

public String getCommand()

setCommand

public void setCommand(String command)

getDocId

public String getDocId()

setDocId

public void setDocId(String docId)

getDefaultDocumentTypeName

protected String getDefaultDocumentTypeName()

instantiateDocument

protected void instantiateDocument()

getDocumentInitiatorNetworkId

public String getDocumentInitiatorNetworkId()
Retrieves the principal name (network id) for the document's initiator

Returns:
String initiator name

getDocumentCreateDate

public String getDocumentCreateDate()
Retrieves the create date for the forms document and formats for presentation

Returns:
String formatted document create date

getWorkflowDocument

public WorkflowDocument getWorkflowDocument()
Retrieves the WorkflowDocument instance from the forms document instance

Returns:
WorkflowDocument for the forms document


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