public class SystemSearchUIColumn extends AbstractSearchUIColumn implements SystemResultField, Contextualizable, LogEnabled, Configurable, Serviceable, Disposable
| Modifier and Type | Field and Description |
|---|---|
protected ContentHelper |
_contentHelper
The content helper.
|
protected ContentTypesHelper |
_contentTypeHelper
The content type helper.
|
private Set<String> |
_contentTypes
The content types
|
private Context |
_context |
protected ContentTypeExtensionPoint |
_cTypeEP
The content type extension point.
|
protected ThreadSafeComponentManager<Enumerator> |
_enumeratorManager
ComponentManager for
Enumerators. |
protected String |
_joinPaths
The join paths.
|
private Logger |
_logger |
private ServiceManager |
_manager |
protected AmetysObjectResolver |
_resolver
The Ametys object resolver.
|
protected SystemPropertyExtensionPoint |
_systemPropEP
The system property extension point.
|
protected SystemProperty |
_systemProperty
The system property.
|
| Constructor and Description |
|---|
SystemSearchUIColumn() |
| Modifier and Type | Method and Description |
|---|---|
private Object |
_getValue(Content content,
boolean full) |
private String |
_initializeEnumerator(SystemProperty.EnumeratorDefinition enumDef) |
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
void |
dispose() |
String |
getFieldPath()
Get the field path (separated by '/').
|
Object |
getFullValue(Content content,
Locale defaultLocale)
Get the value represented by this field in the given result content.
|
SearchField |
getSearchField()
Get the
SearchField representing this result field. |
String |
getSystemPropertyId()
Get the system property name
|
Object |
getValue(Content content,
Locale defaultLocale)
Get the value represented by this field in the given result content.
|
void |
service(ServiceManager manager) |
void |
setLogger(Logger logger)
Called at creation time to provide a
Logger. |
private boolean |
testMultiple(String contentTypeId) |
_configureI18nizableText, getContentTypeId, getConverter, getDefaultSorter, getRenderer, getWidth, isEditable, isHidden, isMultiple, isSortable, setContentTypeId, setConverter, setDefaultSorter, setEditable, setHidden, setMultiple, setRenderer, setSortable, setWidthgetDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetContentTypeId, getEnumerator, getType, isMultiplegetDescription, getLabel, getValidator, getWidget, getWidgetParametersprotected ThreadSafeComponentManager<Enumerator> _enumeratorManager
Enumerators.protected SystemPropertyExtensionPoint _systemPropEP
protected ContentTypeExtensionPoint _cTypeEP
protected ContentHelper _contentHelper
protected ContentTypesHelper _contentTypeHelper
protected AmetysObjectResolver _resolver
protected SystemProperty _systemProperty
protected String _joinPaths
private Set<String> _contentTypes
private ServiceManager _manager
public SystemSearchUIColumn()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void setLogger(Logger logger)
LogEnabledLogger.setLogger in interface LogEnabledlogger - a Logger for messages.public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void dispose()
dispose in interface Disposablepublic void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionprivate boolean testMultiple(String contentTypeId)
public String getFieldPath()
SystemResultFieldgetFieldPath in interface SystemResultFieldpublic String getSystemPropertyId()
getSystemPropertyId in interface SystemResultFieldpublic Object getValue(Content content, Locale defaultLocale)
ResultFieldgetValue in interface ResultFieldcontent - the result content.defaultLocale - the default locale for localized value if the content's language is nullpublic Object getFullValue(Content content, Locale defaultLocale)
ResultFieldgetFullValue in interface ResultFieldcontent - the result content.defaultLocale - the default locale for localized value if the content's language is nullpublic SearchField getSearchField()
ResultFieldSearchField representing this result field.getSearchField in interface ResultFieldgetSearchField in class AbstractSearchUIColumnSearchField representing this result field.private String _initializeEnumerator(SystemProperty.EnumeratorDefinition enumDef)