public class SearchReferencingContentsWithSameValuesClientSideElement extends StaticClientSideElement
ClientSideElement
for search tool on contents with the same referencing values for a given metadata.ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_cTypeEP |
private ContentTypesHelper |
_cTypeHelper |
private AmetysObjectResolver |
_resolver |
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
SearchReferencingContentsWithSameValuesClientSideElement() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getSearchContext(String initialContentId,
String metadataPath,
List<String> refIds)
Get the search context
|
void |
service(ServiceManager smanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
private ContentTypesHelper _cTypeHelper
private AmetysObjectResolver _resolver
private ContentTypeExtensionPoint _cTypeEP
public SearchReferencingContentsWithSameValuesClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> getSearchContext(String initialContentId, String metadataPath, List<String> refIds)
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