Package org.ametys.odf.clientsideelement
Class AddOrgUnitToCurrentClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.plugins.contentstree.ui.AddContentToCurrentSelectionClientSideElement
-
- org.ametys.odf.clientsideelement.AddOrgUnitToCurrentClientSideElement
-
- All Implemented Interfaces:
ClientSideElement,LogEnabled,PluginAware,Configurable,Serviceable
public class AddOrgUnitToCurrentClientSideElement extends AddContentToCurrentSelectionClientSideElement
Static client side element for adding content under the currently selected orgunit, or the root orgunit if there is no selection.
-
-
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 AddOrgUnitToCurrentClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRootOrgUnitId()Gets the id of the root OrgUnit.voidservice(ServiceManager smanager)-
Methods inherited from class org.ametys.plugins.contentstree.ui.AddContentToCurrentSelectionClientSideElement
getModelItemType
-
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
-
-
-
-
Constructor Detail
-
AddOrgUnitToCurrentClientSideElement
public AddOrgUnitToCurrentClientSideElement()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAddContentToCurrentSelectionClientSideElement- Throws:
ServiceException
-
getRootOrgUnitId
public String getRootOrgUnitId()
Gets the id of the root OrgUnit.- Returns:
- the root orgunit id
-
-