Class ApogeeButtonClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.plugins.odfsync.apogee.ws.ApogeeClientSideElement
-
- org.ametys.plugins.odfsync.apogee.ws.ApogeeButtonClientSideElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class ApogeeButtonClientSideElement extends ApogeeClientSideElement
Client side element for Apogee export button
-
-
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 protected ApogeeStructureComponent
_apogeeStructureComponent
The Apogee structure componentprotected AmetysObjectResolver
_resolver
The Ametys object resolver-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description ApogeeButtonClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
exportProgram(String programId)
Export a program in Apogeevoid
service(ServiceManager manager)
-
Methods inherited from class org.ametys.plugins.odfsync.apogee.ws.ApogeeClientSideElement
getScripts
-
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, hasRight, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
_apogeeStructureComponent
protected ApogeeStructureComponent _apogeeStructureComponent
The Apogee structure component
-
-
Constructor Detail
-
ApogeeButtonClientSideElement
public ApogeeButtonClientSideElement()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classStaticFileImportsClientSideElement
- Throws:
ServiceException
-
exportProgram
public Map<String,Object> exportProgram(String programId)
Export a program in Apogee- Parameters:
programId
- the program id to export- Returns:
- the export results
-
-