public class TextPropertyValueConditionHandler extends PropertyValueHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static java.lang.String |
UI_PARAM_OPERATION |
static java.lang.String |
UI_PARAM_QNAME |
PROP_CONTAINS_TEXTCONDITION_PAGES_LOCATION, PROP_CONDITION_NOT| Constructor and Description |
|---|
TextPropertyValueConditionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
displayOperation(java.lang.String operation) |
java.lang.String |
generateSummary(javax.faces.context.FacesContext context,
IWizardBean wizard,
java.util.Map conditionProps)
Generates a summary string for this handler.
|
protected java.lang.String |
getConditionName() |
java.lang.String |
getJSPPath()
By default, a JSP with the same name as the handler will
be loaded from a default location.
|
protected java.lang.String |
getSummaryStringTemplate(java.lang.Boolean not) |
void |
prepareForEdit(java.util.Map conditionProps,
java.util.Map repoProps)
Called at the start of the edit wizard.
|
void |
prepareForSave(java.util.Map conditionParams,
java.util.Map repoProps)
Called at the end of the wizard.
|
prepareForEditWithCorrectType, prepareForSaveWithCorrectTypegetJSPPath, getNamespaceService, isAllowMultiple, setupUIDefaultspublic static final java.lang.String NAME
public static final java.lang.String UI_PARAM_OPERATION
public static final java.lang.String UI_PARAM_QNAME
public java.lang.String getJSPPath()
IHandlergetJSPPath in interface IHandlergetJSPPath in class PropertyValueHandlerprotected java.lang.String getConditionName()
public void prepareForSave(java.util.Map conditionParams,
java.util.Map repoProps)
IHandlerprepareForSave in interface IHandlerprepareForSave in class PropertyValueHandlerconditionParams - The current properties maprepoProps - The repository properties map to preparepublic void prepareForEdit(java.util.Map conditionProps,
java.util.Map repoProps)
IHandlerprepareForEdit in interface IHandlerprepareForEdit in class PropertyValueHandlerconditionProps - The current properties maprepoProps - The properties currently in the repositorypublic java.lang.String generateSummary(javax.faces.context.FacesContext context,
IWizardBean wizard,
java.util.Map conditionProps)
IHandlergenerateSummary in interface IHandlergenerateSummary in class PropertyValueHandlercontext - Faces contextwizard - The current wizardconditionProps - The properties mapprotected java.lang.String displayOperation(java.lang.String operation)
protected java.lang.String getSummaryStringTemplate(java.lang.Boolean not)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.