public class OdfXSLTHelper extends OdfXSLTHelper
Modifier and Type | Field and Description |
---|---|
private static OdfPageHandler |
_odfPageHandler |
_ametysObjectResolver, _odfRefTableHelper
Constructor and Description |
---|
OdfXSLTHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
odfPDFUrl(String contentId,
String siteName)
Get the PDF url of a program or a subprogram
|
static String |
odfRootPage(String siteName,
String language)
Get the ODF root page, for a specific site, language.
|
static String |
odfRootPage(String siteName,
String language,
String catalog)
Get the ODF root page, for a specific site, language and catalog.
|
static String |
parentProgramId()
Get the id of parent program from the current page
|
void |
service(ServiceManager smanager) |
degreeLabel, degreeLabel, getCode, getEntryId, getParentProgram, getParentProgramStructure, getProgram, getProgramStructure, getSubProgramStructure, getSubProgramStructure, getTableRefItems
private static OdfPageHandler _odfPageHandler
public OdfXSLTHelper()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class OdfXSLTHelper
ServiceException
public static String odfRootPage(String siteName, String language)
siteName
- the desired site name.language
- the sitemap language to search in.public static String odfRootPage(String siteName, String language, String catalog)
siteName
- the desired site name.language
- the sitemap language to search in.catalog
- The ODF catalogpublic static String odfPDFUrl(String contentId, String siteName)
contentId
- The content idsiteName
- The site nameProgram
or SubProgram
public static String parentProgramId()