|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.preview.BasePreviewBean
org.alfresco.web.bean.preview.DocumentPreviewBean
public class DocumentPreviewBean
Backing bean for the Preview Document in Template action page
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.bean.preview.BasePreviewBean |
|---|
browseBean, imageResolver, navigator, template |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
isFinished, parameters |
| Constructor Summary | |
|---|---|
DocumentPreviewBean()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button |
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog |
java.lang.String |
getCurrentItemId()
|
Node |
getNode()
Returns the document this bean is currently representing |
java.lang.String |
getOutcome()
|
java.util.Map |
getTemplateModel()
Returns a model for use by a template on the Document Details page. |
void |
nextItem(javax.faces.event.ActionEvent event)
|
void |
previousItem(javax.faces.event.ActionEvent event)
|
| Methods inherited from class org.alfresco.web.bean.preview.BasePreviewBean |
|---|
getId, getName, getTemplate, getTemplateRef, setBrowseBean, setNavigator, setTemplate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentPreviewBean()
| Method Detail |
|---|
public Node getNode()
getNode in class BasePreviewBeanpublic java.util.Map getTemplateModel()
getTemplateModel in class BasePreviewBean
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.lang.String getCurrentItemId()
getCurrentItemId in interface NavigationSupportpublic java.lang.String getOutcome()
getOutcome in interface NavigationSupportpublic void nextItem(javax.faces.event.ActionEvent event)
nextItem in interface NavigationSupportpublic void previousItem(javax.faces.event.ActionEvent event)
previousItem in interface NavigationSupportpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||