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
Enumerator s. |
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 String |
_initializeEnumerator(SystemProperty.EnumeratorDefinition enumDef) |
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
void |
dispose() |
Object |
getFullValue(Content content)
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
|
protected Content |
getTargetContent(Content sourceContent)
Get the content from which to get the system property.
|
protected List<Content> |
getTargetContents(Content sourceContent)
Get the contents from which to get the system property.
|
Object |
getValue(Content content)
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, setWidth
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
getContentTypeId, getEnumerator, getType, isMultiple
getDescription, getLabel, getValidator, getWidget, getWidgetParameters
protected ThreadSafeComponentManager<Enumerator> _enumeratorManager
Enumerator
s.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 Contextualizable
ContextException
public void setLogger(Logger logger)
LogEnabled
Logger
.setLogger
in interface LogEnabled
logger
- a Logger
for messages.public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void dispose()
dispose
in interface Disposable
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
private boolean testMultiple(String contentTypeId)
public String getSystemPropertyId()
getSystemPropertyId
in interface SystemResultField
public Object getValue(Content content)
ResultField
getValue
in interface ResultField
content
- the result content.public Object getFullValue(Content content)
ResultField
getFullValue
in interface ResultField
content
- the result content.protected Content getTargetContent(Content sourceContent)
sourceContent
- The source content.protected List<Content> getTargetContents(Content sourceContent)
sourceContent
- The source content.public SearchField getSearchField()
ResultField
SearchField
representing this result field.getSearchField
in interface ResultField
getSearchField
in class AbstractSearchUIColumn
SearchField
representing this result field.private String _initializeEnumerator(SystemProperty.EnumeratorDefinition enumDef)