public class WorkflowStepSystemProperty extends AbstractSystemProperty
SystemProperty which represents the current workflow step ID of a content.SystemProperty.EnumeratorDefinition| Modifier and Type | Field and Description |
|---|---|
protected WorkflowHelper |
_workflowHelper
The workflow helper
|
protected WorkflowProvider |
_workflowProvider
The workflow provider
|
_description, _i18nUtils, _id, _label, _pluginName, _resolver, _userHelper| Constructor and Description |
|---|
WorkflowStepSystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
private com.opensymphony.workflow.loader.StepDescriptor |
_getStepDescriptor(WorkflowAwareContent content,
int stepId) |
Integer |
getColumnWidth()
Get the column width.
|
String |
getConverter()
Get the property column converter.
|
SystemProperty.EnumeratorDefinition |
getEnumeratorDefinition(Configuration configuration)
Get the definition of an enumerator.
|
Object |
getJsonValue(Content content,
boolean full)
Get the jsonified value
|
Query |
getQuery(Object value,
Query.Operator operator,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
String |
getRenderer()
Get the renderer.
|
SearchField |
getSearchField()
Get the
SearchField representing this system property. |
MetadataType |
getType()
Get the property type.
|
Object |
getValue(Content content)
Get the typed raw value for this field in the given result content.
|
boolean |
isMultiple()
Get the multiple status of the property.
|
boolean |
isSortable()
Get if the property can be sorted on.
|
void |
saxValue(ContentHandler handler,
Content content)
SAX the value
|
void |
service(ServiceManager manager) |
_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, setPluginInfogetLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypeId, getWidget, getWidgetParameters, isDisplayable, isFacetable, isSearchableprotected WorkflowProvider _workflowProvider
protected WorkflowHelper _workflowHelper
public WorkflowStepSystemProperty()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSystemPropertyServiceExceptionpublic MetadataType getType()
SystemPropertypublic boolean isMultiple()
SystemPropertytrue if the property can have multiple values, false otherwise.public boolean isSortable()
SystemPropertytrue if the property can be sorted on, false otherwise.public Query getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
SystemPropertyQuery associated to the given value.value - the user-submitted value for this property.operator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).language - The current search language.contextualParameters - the search contextual parameters.Query associated to the given value.public SearchField getSearchField()
SystemPropertySearchField representing this system property.public String getRenderer()
SystemPropertypublic String getConverter()
SystemPropertypublic Integer getColumnWidth()
SystemPropertypublic Object getValue(Content content)
SystemPropertyMetadataType.STRING must return String or String[] if multipleMetadataType.DATE or MetadataType.DATETIME must return Date or Date[] if multipleMetadataType.LONG must return Long or Long[] if multipleMetadataType.DOUBLE must return Double or Double[] if multipleMetadataType.CONTENT must return String or String[] if multipleMetadataType.GEOCODE must return Map<String, Double>MetadataType.USER must return UserIdentity or UserIdentity[] if multipleMetadataType.MULTILINGUAL_STRING must return MultilingualStringcontent - The result contentpublic Object getJsonValue(Content content, boolean full)
SystemPropertycontent - the result contentfull - true to get full value.public void saxValue(ContentHandler handler, Content content) throws SAXException
SystemPropertysaxValue in interface SystemPropertysaxValue in class AbstractSystemPropertyhandler - The content handler to sax intocontent - The contentSAXException - If an error occurred while saxingprivate com.opensymphony.workflow.loader.StepDescriptor _getStepDescriptor(WorkflowAwareContent content, int stepId)
public SystemProperty.EnumeratorDefinition getEnumeratorDefinition(Configuration configuration)
SystemPropertyconfiguration - The enumerator configuration.