mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54 lines
1.2 KiB
Java
54 lines
1.2 KiB
Java
package org.alfresco.web.bean.dialog;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* Interface that defines the contract for a dialog backing bean
|
|
*
|
|
* @author gavinc
|
|
*/
|
|
public interface IDialogBean
|
|
{
|
|
/**
|
|
* Initialises the dialog bean
|
|
*
|
|
* @param parameters Map of parameters for the dialog
|
|
*/
|
|
public void init(Map<String, String> parameters);
|
|
|
|
/**
|
|
* Method handler called when the cancel button of the dialog is pressed
|
|
*
|
|
* @return The outcome to return
|
|
*/
|
|
public String cancel();
|
|
|
|
/**
|
|
* Method handler called when the finish button of the dialog is pressed
|
|
*
|
|
* @return The outcome to return
|
|
*/
|
|
public String finish();
|
|
|
|
/**
|
|
* Returns the label to use for the cancel button
|
|
*
|
|
* @return The cancel button label
|
|
*/
|
|
public String getCancelButtonLabel();
|
|
|
|
/**
|
|
* Returns the label to use for the finish button
|
|
*
|
|
* @return The finish button label
|
|
*/
|
|
public String getFinishButtonLabel();
|
|
|
|
/**
|
|
* Determines whether the finish button on the dialog should be disabled
|
|
*
|
|
* @return true if the button should be disabled
|
|
*/
|
|
public boolean getFinishButtonDisabled();
|
|
}
|