Class SearchReferencingContentsWithSameValuesClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.cms.content.referencetable.search.SearchReferencingContentsWithSameValuesClientSideElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class SearchReferencingContentsWithSameValuesClientSideElement extends StaticClientSideElement
ClientSideElement
for search tool on contents with the same referencing values for a given metadata.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
Fields Modifier and Type Field Description private ContentTypeExtensionPoint
_cTypeEP
private ContentTypesHelper
_cTypeHelper
private AmetysObjectResolver
_resolver
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description SearchReferencingContentsWithSameValuesClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getSearchContext(String initialContentId, String metadataPath, List<String> refIds)
Get the search contextvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
-
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_cTypeHelper
private ContentTypesHelper _cTypeHelper
-
_resolver
private AmetysObjectResolver _resolver
-
_cTypeEP
private ContentTypeExtensionPoint _cTypeEP
-
-
Constructor Detail
-
SearchReferencingContentsWithSameValuesClientSideElement
public SearchReferencingContentsWithSameValuesClientSideElement()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classStaticFileImportsClientSideElement
- Throws:
ServiceException
-
getSearchContext
public Map<String,Object> getSearchContext(String initialContentId, String metadataPath, List<String> refIds)
Get the search context- Parameters:
initialContentId
- The id of initial content (from which the search was launched)metadataPath
- The path of the metadatarefIds
- The current values for this content and metadata- Returns:
- The search context
-
-