Package org.ametys.core.ui
Class StaticClientSideRelation
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.core.ui.StaticClientSideRelation
-
- All Implemented Interfaces:
ClientSideElement
,ClientSideRelation
,LogEnabled
,PluginAware
,Configurable
,Serviceable
- Direct Known Subclasses:
SetContentAttributeClientSideElement
public class StaticClientSideRelation extends StaticClientSideElement implements ClientSideRelation
Default implementation of the ClientSideRelation that expects the configuration to define the supported relations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description StaticClientSideRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
List<String>
getSourceRelationType()
Return the type of source relation supported by this Client Side RelationList<String>
getTargetRelationType()
Return the type of target relation supported by this Client Side Relation-
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, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ametys.core.ui.ClientSideElement
getDependencies, getId, getPluginName, getRights, getScripts, getScripts
-
-
-
-
Constructor Detail
-
StaticClientSideRelation
public StaticClientSideRelation()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classStaticFileImportsClientSideElement
- Throws:
ConfigurationException
-
getSourceRelationType
public List<String> getSourceRelationType()
Description copied from interface:ClientSideRelation
Return the type of source relation supported by this Client Side Relation- Specified by:
getSourceRelationType
in interfaceClientSideRelation
- Returns:
- the type of source relation supported by this Client Side Relation
-
getTargetRelationType
public List<String> getTargetRelationType()
Description copied from interface:ClientSideRelation
Return the type of target relation supported by this Client Side Relation- Specified by:
getTargetRelationType
in interfaceClientSideRelation
- Returns:
- the type of target relation supported by this Client Side Relation
-
-