org.alfresco.web.bean.wcm
Class CompareToAnySnapshotDialog

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

public class CompareToAnySnapshotDialog
extends CompareSnapshotDialog

Class for compareToAnySnapshot dialog

See Also:
Serialized Form

Field Summary
static java.lang.String MSG_ERROR_VERSION_NOT_VALID
           
 
Fields inherited from class org.alfresco.web.bean.wcm.CompareSnapshotDialog
avmBrowseBean, finished, sandbox, store, storeRoot, version, webProjectRef, websiteRef
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
CompareToAnySnapshotDialog()
           
 
Method Summary
 void decrementVersion(javax.faces.event.ActionEvent event)
          Decrements version number
 java.util.List getComparedNodes()
           
protected  java.lang.String getDescription()
          Returns description message id for AVMCompare dialog
 java.lang.String getSandbox()
          Returns sandbox name
 java.util.List getStoresList()
           
 java.lang.String getUserSpecifiedSnapshot()
          Getter for user specified Store
 int getUserSpecifiedVersion()
          Getter for user specified version
 void incrementVersion(javax.faces.event.ActionEvent event)
          Increments version number
 void init(java.util.Map parameters)
          Initialises the dialog bean
 boolean isDecrementVersionButtonDisabled()
           
 boolean isIncrementVersionButtonDisabled()
           
 void refreshComparePanel(javax.faces.event.ActionEvent event)
          Action listener method that sets flag for starting compare
 void setUserSpecifiedSnapshot(java.lang.String userSpecifiedSnapshot)
          Setter for user specified snapshot
 void setUserSpecifiedVersion(int userSpecifiedVersion)
          Setter for user specified version
 
Methods inherited from class org.alfresco.web.bean.wcm.CompareSnapshotDialog
finishImpl, getAvmBrowseBean, getAvmService, getAvmSyncService, getCancelButtonLabel, getContainerDescription, getSandboxService, setAvmBrowseBean
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, 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
 

Field Detail

MSG_ERROR_VERSION_NOT_VALID

public static final java.lang.String MSG_ERROR_VERSION_NOT_VALID
See Also:
Constant Field Values
Constructor Detail

CompareToAnySnapshotDialog

public CompareToAnySnapshotDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class CompareSnapshotDialog
Parameters:
parameters - Map of parameters for the dialog

getComparedNodes

public java.util.List getComparedNodes()
Specified by:
getComparedNodes in class CompareSnapshotDialog

getStoresList

public java.util.List getStoresList()
Returns:
list of stores select items

refreshComparePanel

public void refreshComparePanel(javax.faces.event.ActionEvent event)
Action listener method that sets flag for starting compare

Parameters:
event - action event

getUserSpecifiedVersion

public int getUserSpecifiedVersion()
Getter for user specified version

Returns:
userSpecifiedVersion

setUserSpecifiedVersion

public void setUserSpecifiedVersion(int userSpecifiedVersion)
Setter for user specified version

Parameters:
userSpecifiedVersion - user specified version

getUserSpecifiedSnapshot

public java.lang.String getUserSpecifiedSnapshot()
Getter for user specified Store

Returns:
userSpecifiedStore user specified store

setUserSpecifiedSnapshot

public void setUserSpecifiedSnapshot(java.lang.String userSpecifiedSnapshot)
Setter for user specified snapshot

Parameters:
setUserSpecifiedSnapshot - user specified snapshot

getSandbox

public java.lang.String getSandbox()
Description copied from class: CompareSnapshotDialog
Returns sandbox name

Overrides:
getSandbox in class CompareSnapshotDialog
Returns:
sandbox name

getDescription

protected java.lang.String getDescription()
Description copied from class: CompareSnapshotDialog
Returns description message id for AVMCompare dialog

Specified by:
getDescription in class CompareSnapshotDialog
Returns:
description message id for dialog

isIncrementVersionButtonDisabled

public boolean isIncrementVersionButtonDisabled()
Returns:
true if increment button for version is disabled

isDecrementVersionButtonDisabled

public boolean isDecrementVersionButtonDisabled()
Returns:
true if decrement button for version is disabled

incrementVersion

public void incrementVersion(javax.faces.event.ActionEvent event)
Increments version number

Parameters:
event - action event

decrementVersion

public void decrementVersion(javax.faces.event.ActionEvent event)
Decrements version number

Parameters:
event - action event


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