org.alfresco.web.bean
Class AboutBean

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.AboutBean
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class AboutBean
extends BaseDialogBean

Simple backing bean used by the about page to display the version.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
AboutBean()
           
 
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 getContainerDescription()
          Returns the description to be used for the dialog
protected  java.lang.String getDefaultCancelOutcome()
          Returns the default cancel outcome
 java.lang.String getEdition()
          Retrieves the edition of the repository.
 java.lang.String getVersion()
          Retrieves the version of the repository.
 void setDescriptorService(org.alfresco.service.descriptor.DescriptorService descriptorService)
          Sets the DescriptorService.
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerSubTitle, getContainerTitle, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AboutBean

public AboutBean()
Method Detail

getVersion

public java.lang.String getVersion()
Retrieves the version of the repository.

Returns:
The version string

getEdition

public java.lang.String getEdition()
Retrieves the edition of the repository.

Returns:
The edition

setDescriptorService

public void setDescriptorService(org.alfresco.service.descriptor.DescriptorService descriptorService)
Sets the DescriptorService.

Parameters:
descriptorService - The DescriptorService

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getContainerDescription

public java.lang.String getContainerDescription()
Description copied from interface: IDialogBean
Returns the description to be used for the dialog

If this returns null the DialogManager will lookup the description via the dialog configuration

Specified by:
getContainerDescription in interface IDialogBean
Overrides:
getContainerDescription in class BaseDialogBean
Returns:
The title or null if the title is to be acquired via configuration

getCancelButtonLabel

public java.lang.String getCancelButtonLabel()
Description copied from interface: IDialogBean
Returns the label to use for the cancel button

Specified by:
getCancelButtonLabel in interface IDialogBean
Overrides:
getCancelButtonLabel in class BaseDialogBean
Returns:
The cancel button label

getDefaultCancelOutcome

protected java.lang.String getDefaultCancelOutcome()
Description copied from class: BaseDialogBean
Returns the default cancel outcome

Overrides:
getDefaultCancelOutcome in class BaseDialogBean
Returns:
Default close outcome, dialog:close by default


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.