Interface PageResourceProvider
-
- All Superinterfaces:
ResourceProvider
public interface PageResourceProvider extends ResourceProvider
This interface provide access to the resources contained in the extension archive- Since:
- 7.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBonitaThemeCSSURL()The URL of the CSS used as Bonita Theme.java.lang.StringgetFullPageName()The page name with the process definition ID as prefix (format = p%PROCESS_DEF_ID_%pageName).org.bonitasoft.engine.page.PagegetPage(org.bonitasoft.engine.api.PageAPI pageAPI)The deployedPagefor this extension.java.io.FilegetPageDirectory()The folder where the extension is deployed.java.lang.StringgetPageName()The page name.-
Methods inherited from interface org.bonitasoft.web.extension.ResourceProvider
getResourceAsFile, getResourceAsStream, getResourceBundle, getResourceURL
-
-
-
-
Method Detail
-
getBonitaThemeCSSURL
java.lang.String getBonitaThemeCSSURL()
The URL of the CSS used as Bonita Theme.
-
getPageDirectory
java.io.File getPageDirectory()
The folder where the extension is deployed.
-
getPageName
java.lang.String getPageName()
The page name. Set in the page.properties of the extension.
-
getFullPageName
java.lang.String getFullPageName()
The page name with the process definition ID as prefix (format = p%PROCESS_DEF_ID_%pageName).
-
getPage
org.bonitasoft.engine.page.Page getPage(org.bonitasoft.engine.api.PageAPI pageAPI) throws org.bonitasoft.engine.page.PageNotFoundExceptionThe deployedPagefor this extension.- Throws:
org.bonitasoft.engine.page.PageNotFoundException
-
-