public class LivePortalManagerServiceImpl extends Object implements LivePortalManagerService, org.picocontainer.Startable
| Constructor and Description |
|---|
LivePortalManagerServiceImpl(WebSchemaConfigService webSchemaConfigService,
WCMConfigurationService wcmConfigurationService,
org.exoplatform.services.jcr.RepositoryService repositoryService)
Instantiates a new live portal manager service impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
org.exoplatform.portal.config.model.PortalConfig portalConfig)
Adds the live portal on current repository.
|
javax.jcr.Node |
getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String portalName)
Gets the live portal by name.
|
javax.jcr.Node |
getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String repository,
String portalName)
Gets the live portal on specific repository.
|
javax.jcr.Node |
getLivePortalByChild(javax.jcr.Node childNode) |
List<javax.jcr.Node> |
getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
Gets the all live portals on current repository.
|
List<javax.jcr.Node> |
getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String repository)
Gets the live portals on specific repository.
|
Collection<String> |
getLivePortalsPath() |
javax.jcr.Node |
getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
Gets the live shared portal on current repository.
|
javax.jcr.Node |
getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String repository)
Gets the live shared portal on specific repository.
|
String |
getPortalNameByPath(String portalPath)
Gets the all live portals path.
|
String |
getPortalPathByName(String portalName) |
void |
removeLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
org.exoplatform.portal.config.model.PortalConfig portalConfig)
Removes the live portal on current repository.
|
void |
start() |
void |
stop() |
public LivePortalManagerServiceImpl(WebSchemaConfigService webSchemaConfigService, WCMConfigurationService wcmConfigurationService, org.exoplatform.services.jcr.RepositoryService repositoryService)
webSchemaConfigService - the web schema config servicewcmConfigurationService - the wcm config servicerepositoryService - the repository servicepublic final javax.jcr.Node getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String portalName)
throws Exception
LivePortalManagerServicegetLivePortal in interface LivePortalManagerServicesessionProvider - the session providerportalName - the portal nameException - the exceptionpublic final List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider) throws Exception
LivePortalManagerServicegetLivePortals in interface LivePortalManagerServicesessionProvider - the session providerException - the exceptionpublic final javax.jcr.Node getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
throws Exception
LivePortalManagerServicegetLiveSharedPortal in interface LivePortalManagerServicesessionProvider - the session providerException - the exceptionpublic final javax.jcr.Node getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String repository,
String portalName)
throws Exception
LivePortalManagerServicegetLivePortal in interface LivePortalManagerServicesessionProvider - the session providerrepository - the repositoryportalName - the portal nameException - the exceptionpublic final List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, String repository) throws Exception
LivePortalManagerServicegetLivePortals in interface LivePortalManagerServicesessionProvider - the session providerrepository - the repositoryException - the exceptionpublic final javax.jcr.Node getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
String repository)
throws Exception
LivePortalManagerServicegetLiveSharedPortal in interface LivePortalManagerServicesessionProvider - the session providerrepository - the repositoryException - the exceptionpublic final void addLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
org.exoplatform.portal.config.model.PortalConfig portalConfig)
throws Exception
LivePortalManagerServiceaddLivePortal in interface LivePortalManagerServicesessionProvider - the session providerportalConfig - the portal configException - the exceptionpublic void removeLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
org.exoplatform.portal.config.model.PortalConfig portalConfig)
throws Exception
LivePortalManagerServiceremoveLivePortal in interface LivePortalManagerServicesessionProvider - the session providerportalConfig - the portal configException - the exceptionpublic Collection<String> getLivePortalsPath() throws Exception
getLivePortalsPath in interface LivePortalManagerServiceExceptionpublic String getPortalNameByPath(String portalPath) throws Exception
LivePortalManagerServicegetPortalNameByPath in interface LivePortalManagerServiceException - the exceptionpublic javax.jcr.Node getLivePortalByChild(javax.jcr.Node childNode)
throws Exception
getLivePortalByChild in interface LivePortalManagerServiceExceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic String getPortalPathByName(String portalName) throws Exception
getPortalPathByName in interface LivePortalManagerServiceExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.