|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.container.ContainerBase org.kuali.rice.krad.uif.view.View org.kuali.rice.krad.uif.view.FormView org.kuali.rice.krad.uif.view.DocumentView
public class DocumentView
View type for KRAD documents
Provides commons configuration and default behavior applicable to documents in the KRAD module.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.uif.view.View |
---|
applyDirtyCheck, viewIndex |
Fields inherited from class org.kuali.rice.krad.uif.component.ComponentBase |
---|
templateOptions |
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
componentCode |
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
DocumentView()
|
Method Summary | |
---|---|
Class<? extends KeyValuesFinder> |
getAttachmentTypesValuesFinderClass()
Gets attachment types values finder classs |
Class<? extends Document> |
getDocumentClass()
Gets the document class |
protected DocumentEntry |
getDocumentEntryForView()
Retrieves the associated DocumentEntry for the document view |
boolean |
isAllowsNoteAttachments()
Gets boolean that indicates if the document view allows note attachments |
boolean |
isAllowsNoteFYI()
Gets boolean that indicates if the document view allows note FYI |
boolean |
isDisplayTopicFieldInNotes()
Gets boolean that indicates if the document view displays the topic field in notes |
void |
performInitialization(Object model)
The following initialization is performed: Retrieve the document entry Set up the document view authorizer and presentation controller The following initialization is performed: If a single paged view, set items in page group and put the page in the items list If ViewSessionPolicy.enableTimeoutWarning is enabled add the session timeout dialogs to the
views list of dialog groups
The following initialization is performed:
Sorts the containers list of components
Initializes the instructional field if necessary
Initializes LayoutManager
Initializes the component |
void |
setAllowsNoteAttachments(boolean allowsNoteAttachments)
Sets boolean that indicates if the document view allows note attachments |
void |
setAllowsNoteFYI(boolean allowsNoteFYI)
Sets boolean that indicates if the document view allows note FYI |
void |
setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass)
Sets attachment types values finder classs |
void |
setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
Sets boolean that indicates if the document view displays the topic field in notes |
void |
setDocumentClass(Class<? extends Document> documentClass)
Sets the document class |
Methods inherited from class org.kuali.rice.krad.uif.view.FormView |
---|
getAdditionalHiddenValues, getFormPostUrl, isRenderForm, isValidateClientSide, isValidateServerSide, performFinalize, setAdditionalHiddenValues, setFormPostUrl, setRenderForm, setValidateClientSide, setValidateServerSide |
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase |
---|
getAdditionalTemplates, getDefaultItemPosition, getFooter, getHeader, getHeaderText, getHelp, getHelpTitle, getInstructionalMessage, getInstructionalText, getLayoutManager, getValidationMessages, isProcessRemoteFieldHolders, setDefaultItemPosition, setFooter, setHeader, setHeaderText, setHelp, setInstructionalMessage, setInstructionalText, setLayoutManager, setRenderFooter, setRenderHeader, setTooltipOfComponent, setValidationMessages |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, dataDictionaryPostProcessing, getComponentCode, setComponentCode, unwrap |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
dataDictionaryPostProcessing, getComponentCode |
Methods inherited from interface org.kuali.rice.krad.uif.util.LifecycleElement |
---|
checkMutable, getId, getPhasePathMapping, getViewPath, getViewStatus, isFinal, isInitialized, isModelApplied, isMutable, pushAllToContext, pushObjectToContext, setId, setPhasePathMapping, setViewPath, setViewStatus, skipLifecycle |
Methods inherited from interface org.kuali.rice.krad.datadictionary.Copyable |
---|
copy, preventModification, unwrap |
Constructor Detail |
---|
public DocumentView()
Method Detail |
---|
public void performInitialization(Object model)
ViewSessionPolicy.enableTimeoutWarning
is enabled add the session timeout dialogs to the
views list of dialog groupsWhere components can set defaults and setup other necessary state. The initialize method should only be called once per component lifecycle and is invoked within the initialize phase of the view lifecylce.
performInitialization
in interface LifecycleElement
performInitialization
in class View
model
- - object instance containing the view dataComponentDefaultInitializeTask
protected DocumentEntry getDocumentEntryForView()
DocumentEntry
for the document view
public Class<? extends Document> getDocumentClass()
public void setDocumentClass(Class<? extends Document> documentClass)
documentClass
- public boolean isAllowsNoteAttachments()
public void setAllowsNoteAttachments(boolean allowsNoteAttachments)
allowsNoteAttachments
- public boolean isAllowsNoteFYI()
public void setAllowsNoteFYI(boolean allowsNoteFYI)
allowsNoteFYI
- public boolean isDisplayTopicFieldInNotes()
public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
displayTopicFieldInNotes
- public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass()
public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass)
attachmentTypesValuesFinderClass
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |