public abstract class ApplicationsManagerService extends JahiaService
settingsBean| Constructor and Description |
|---|
ApplicationsManagerService() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
addDefinition(ApplicationBean app)
Add a new Application Definition.
|
abstract EntryPointInstance |
createEntryPointInstance(EntryPointDefinition entryPointDefinition,
String path)
Creates an instance of an application entry point definition.
|
abstract List<EntryPointDefinition> |
getAppEntryPointDefinitions(ApplicationBean appBean)
Returns the entry point definitions corresponding to the application,
or an empty list if there was a problem retrieving them.
|
abstract ApplicationBean |
getApplication(String appID)
return an Application Definition get directly from db
|
abstract ApplicationBean |
getApplicationByContext(String context)
return an Application Definition looking at its context.
|
abstract WebAppContext |
getApplicationContext(ApplicationBean appBean)
Get an ApplicationContext for a given context
|
abstract WebAppContext |
getApplicationContext(String id)
Get an ApplicationContext for a given application id
|
abstract List<ApplicationBean> |
getApplications()
return all application Definitions
|
abstract EntryPointInstance |
getEntryPointInstance(JCRPortletNode node)
Get the corresponding an entrypoint obejct
|
abstract EntryPointInstance |
getEntryPointInstance(String epInstanceID,
String workspaceName)
Retrieves an EntryPointInstance object from the persistance system by
using it's ID as a search key
|
abstract org.apache.pluto.container.PortletWindow |
getPortletWindow(EntryPointInstance entryPointInstance,
String windowID,
JahiaUser jahiaUser,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.ServletContext servletContext,
String workspaceName) |
abstract List<javax.portlet.PortletMode> |
getSupportedPortletModes()
Returns the list of portlet modes that are supported by Jahia
|
abstract List<javax.portlet.WindowState> |
getSupportedWindowStates()
Returns the list of window states that are supported by Jahia
|
abstract void |
removeApplication(String appID)
Removes an application from the persistant storage area and from registry.
|
abstract void |
removeEntryPointInstance(String epInstanceID)
Removes an entry point instance from the persistance system.
|
abstract boolean |
saveDefinition(ApplicationBean app)
Save the Application Definition.
|
abstract boolean |
setVisible(String appID,
boolean visible)
set an application Visible to users
|
getSettingsBean, setSettingsBean, start, stoppublic abstract ApplicationBean getApplication(String appID) throws JahiaException
appID - the appIDJahiaExceptionpublic abstract ApplicationBean getApplicationByContext(String context) throws JahiaException
context - , the contextJahiaExceptionpublic abstract List<ApplicationBean> getApplications() throws JahiaException
JahiaExceptionpublic abstract boolean setVisible(String appID, boolean visible) throws JahiaException
appID - the application identificationvisible - statusJahiaExceptionpublic abstract boolean addDefinition(ApplicationBean app) throws JahiaException
app - the app DefinitionJahiaExceptionpublic abstract boolean saveDefinition(ApplicationBean app) throws JahiaException
app - the app DefinitionJahiaExceptionpublic abstract void removeApplication(String appID) throws JahiaException
appID - identifier of the application to remove from the persistant
storage areaJahiaException - if there was an error while removing the application
data from persistant storage areapublic abstract WebAppContext getApplicationContext(String id) throws JahiaException
id - , the application idJahiaExceptionpublic abstract WebAppContext getApplicationContext(ApplicationBean appBean) throws JahiaException
appBean - , the application beanJahiaExceptionpublic abstract EntryPointInstance createEntryPointInstance(EntryPointDefinition entryPointDefinition, String path) throws JahiaException
entryPointDefinition - EntryPointDefinitionJahiaExceptionpublic abstract List<EntryPointDefinition> getAppEntryPointDefinitions(ApplicationBean appBean)
appBean - ApplicationBean the application for which to retrieve
the entry point definitionspublic abstract EntryPointInstance getEntryPointInstance(String epInstanceID, String workspaceName) throws JahiaException
epInstanceID - int the unique identifier for the EntryPointInstance
object in the persistence systemworkspaceName - the name of the workspace in which to look for the entrypoint instance.JahiaException - thrown if there was an error communicating with
the persistence system.public abstract EntryPointInstance getEntryPointInstance(JCRPortletNode node) throws javax.jcr.RepositoryException
node - javax.jcr.RepositoryExceptionpublic abstract void removeEntryPointInstance(String epInstanceID) throws JahiaException
epInstanceID - int the unique identifier for the entry point
instanceJahiaException - thrown if there was an error communicating with
the persistence system.public abstract org.apache.pluto.container.PortletWindow getPortletWindow(EntryPointInstance entryPointInstance, String windowID, JahiaUser jahiaUser, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.ServletContext servletContext, String workspaceName) throws JahiaException
JahiaExceptionpublic abstract List<javax.portlet.PortletMode> getSupportedPortletModes()
public abstract List<javax.portlet.WindowState> getSupportedWindowStates()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.