Package org.ametys.odf.cdmfr
Class AbstractCDMfrExtension
java.lang.Object
org.ametys.odf.cdmfr.AbstractCDMfrExtension
- All Implemented Interfaces:
CDMfrExtension
- Direct Known Subclasses:
AmetysCDMfrExtension
,GenericCDMfrExtension
Helper class containing useful methods to implements CDM-fr extension.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
_getFileAbsoluteUrl
(Content content, File file, String dataPath) Computes an external URL for retrieving files after export.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.odf.cdmfr.CDMfrExtension
abstractProgram2CDM, container2CDM, course2CDM, orgunit2CDM, person2CDM, program2CDM, subProgram2CDM
-
Constructor Details
-
AbstractCDMfrExtension
public AbstractCDMfrExtension()
-
-
Method Details
-
_getFileAbsoluteUrl
Computes an external URL for retrieving files after export.- Parameters:
content
- the current exported contentfile
- the file being exporteddataPath
- the data path of the file- Returns:
- an URL for retrieving the file
-