Class PegaseSCCMappingHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.odfsync.generic.scc.AbstractMappingHelper
org.ametys.plugins.odfsync.pegase.scc.PegaseSCCMappingHelper
- All Implemented Interfaces:
FileReloader,LogEnabled,PluginAware,Initializable,Component,Configurable,Serviceable
Helper for the Pégase SCC (COF).
-
Field Summary
FieldsModifier and TypeFieldDescriptionMappings Pégase codes - Ametys codeprotected StringThe base uristatic final StringRoleFields inherited from class org.ametys.plugins.odfsync.generic.scc.AbstractMappingHelper
_cacheManager, _fileReloaderUtils, _implementationName, _srcResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) getAmetysType(String pegaseType) Get the Ametys type from the Pégase typeprotected I18nizableTextGet the cache description.protected I18nizableTextGet the cache label.Methods inherited from class org.ametys.plugins.odfsync.generic.scc.AbstractMappingHelper
_readMapping, getId, initialize, service, setPluginInfo, updateFileMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Role -
_baseUri
The base uri -
_ametysTypeForPegaseOFType
Mappings Pégase codes - Ametys code
-
-
Constructor Details
-
PegaseSCCMappingHelper
public PegaseSCCMappingHelper()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classAbstractMappingHelper- Throws:
ConfigurationException
-
getAmetysType
Get the Ametys type from the Pégase type- Parameters:
pegaseType- The Pégase type- Returns:
- The Ametys type
-
getCacheLabel
Description copied from class:AbstractMappingHelperGet the cache label.- Specified by:
getCacheLabelin classAbstractMappingHelper- Returns:
- the cache label
-
getCacheDescription
Description copied from class:AbstractMappingHelperGet the cache description.- Specified by:
getCacheDescriptionin classAbstractMappingHelper- Returns:
- the cache description
-