Package org.ametys.web.search.systemprop
Class WorkflowStepSystemProperty
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.search.systemprop.AbstractSystemProperty
-
- org.ametys.cms.search.systemprop.WorkflowStepSystemProperty
-
- org.ametys.web.search.systemprop.WorkflowStepSystemProperty
-
- All Implemented Interfaces:
SystemProperty,LogEnabled,PluginAware,Configurable,Serviceable
public class WorkflowStepSystemProperty extends WorkflowStepSystemProperty
Web-specific workflow step system property, which returns null when in the live workspace.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.search.model.SystemProperty
SystemProperty.EnumeratorDefinition
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkspaceSelector_workspaceSelectorThe workspace selector.-
Fields inherited from class org.ametys.cms.search.systemprop.WorkflowStepSystemProperty
_workflowHelper, _workflowProvider
-
Fields inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_description, _i18nUtils, _id, _label, _pluginName, _resolver, _userHelper, _userManager
-
-
Constructor Summary
Constructors Constructor Description WorkflowStepSystemProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetValue(Content content)Get the typed raw value for this field in the given result content.voidservice(ServiceManager manager)-
Methods inherited from class org.ametys.cms.search.systemprop.WorkflowStepSystemProperty
getColumnWidth, getConverter, getEnumeratorDefinition, getJsonValue, getQuery, getRenderer, getSearchField, getType, isMultiple, isSortable, saxValue
-
Methods inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_indexBooleanValue, _indexBooleanValues, _indexDateValue, _indexDateValues, _indexDoubleValue, _indexDoubleValues, _indexGeocodeValue, _indexLongValue, _indexLongValues, _indexStringValue, _indexStringValues, _indexUserValue, _indexUserValues, _parseI18nizableText, configure, getDescription, getId, getLabel, getSchemaDefinitions, getSortValue, index, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, setPluginInfo
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.cms.search.model.SystemProperty
getContentTypeId, getWidget, getWidgetParameters, isDisplayable, isFacetable, isSearchable
-
-
-
-
Field Detail
-
_workspaceSelector
protected WorkspaceSelector _workspaceSelector
The workspace selector.
-
-
Constructor Detail
-
WorkflowStepSystemProperty
public WorkflowStepSystemProperty()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classWorkflowStepSystemProperty- Throws:
ServiceException
-
getValue
public Object getValue(Content content)
Description copied from interface:SystemPropertyGet the typed raw value for this field in the given result content. The returned object depends on this field's type:
-MetadataType.STRINGmust return String or String[] if multiple
-MetadataType.DATEorMetadataType.DATETIMEmust return Date or Date[] if multiple
-MetadataType.LONGmust return Long or Long[] if multiple
-MetadataType.DOUBLEmust return Double or Double[] if multiple
-MetadataType.CONTENTmust return String or String[] if multiple
-MetadataType.GEOCODEmust return Map<String, Double>
-MetadataType.USERmust return UserIdentity or UserIdentity[] if multiple
-MetadataType.MULTILINGUAL_STRINGmust returnMultilingualString
Others types are not supported.- Specified by:
getValuein interfaceSystemProperty- Overrides:
getValuein classWorkflowStepSystemProperty- Parameters:
content- The result content- Returns:
- The typed value, cast to the appropriate object according its type.
-
-