public class TextPropertyValueConditionHandler extends PropertyValueHandler
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static String |
UI_PARAM_OPERATION |
static String |
UI_PARAM_QNAME |
PROP_CONTAINS_TEXT
CONDITION_PAGES_LOCATION, PROP_CONDITION_NOT
Constructor and Description |
---|
TextPropertyValueConditionHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
displayOperation(String operation) |
String |
generateSummary(FacesContext context,
IWizardBean wizard,
Map<String,Serializable> conditionProps)
Generates a summary string for this handler.
|
protected String |
getConditionName() |
String |
getJSPPath()
By default, a JSP with the same name as the handler will
be loaded from a default location.
|
protected String |
getSummaryStringTemplate(Boolean not) |
void |
prepareForEdit(Map<String,Serializable> conditionProps,
Map<String,Serializable> repoProps)
Called at the start of the edit wizard.
|
void |
prepareForSave(Map<String,Serializable> conditionParams,
Map<String,Serializable> repoProps)
Called at the end of the wizard.
|
prepareForEditWithCorrectType, prepareForSaveWithCorrectType
getJSPPath, getNamespaceService, isAllowMultiple, setupUIDefaults
public static final String NAME
public static final String UI_PARAM_OPERATION
public static final String UI_PARAM_QNAME
public String getJSPPath()
IHandler
getJSPPath
in interface IHandler
getJSPPath
in class PropertyValueHandler
protected String getConditionName()
public void prepareForSave(Map<String,Serializable> conditionParams, Map<String,Serializable> repoProps)
IHandler
prepareForSave
in interface IHandler
prepareForSave
in class PropertyValueHandler
conditionParams
- The current properties maprepoProps
- The repository properties map to preparepublic void prepareForEdit(Map<String,Serializable> conditionProps, Map<String,Serializable> repoProps)
IHandler
prepareForEdit
in interface IHandler
prepareForEdit
in class PropertyValueHandler
conditionProps
- The current properties maprepoProps
- The properties currently in the repositorypublic String generateSummary(FacesContext context, IWizardBean wizard, Map<String,Serializable> conditionProps)
IHandler
generateSummary
in interface IHandler
generateSummary
in class PropertyValueHandler
context
- Faces contextwizard
- The current wizardconditionProps
- The properties mapCopyright © 2005–2017 Alfresco Software. All rights reserved.