org.exoplatform.services.wcm.portal
Interface LivePortalManagerService

All Known Implementing Classes:
LivePortalManagerServiceImpl

public interface LivePortalManagerService

The Interface LivePortalManagerService.


Method Summary
 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, java.lang.String portalName)
          Gets the live portal by name.
 javax.jcr.Node getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String repository, java.lang.String portalName)
          Gets the live portal on specific repository.
 javax.jcr.Node getLivePortalByChild(javax.jcr.Node childNode)
           
 java.util.List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Gets the all live portals on current repository.
 java.util.List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String repository)
          Gets the live portals on specific repository.
 java.util.Collection<java.lang.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, java.lang.String repository)
          Gets the live shared portal on specific repository.
 java.lang.String getPortalNameByPath(java.lang.String portalPath)
          Gets the all live portals path.
 java.lang.String getPortalPathByName(java.lang.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.
 

Method Detail

getLiveSharedPortal

javax.jcr.Node getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                                   throws java.lang.Exception
Gets the live shared portal on current repository.

Parameters:
sessionProvider - the session provider
Returns:
the live shared portal
Throws:
java.lang.Exception - the exception

getPortalNameByPath

java.lang.String getPortalNameByPath(java.lang.String portalPath)
                                     throws java.lang.Exception
Gets the all live portals path.

Returns:
the live portals path
Throws:
java.lang.Exception - the exception

getPortalPathByName

java.lang.String getPortalPathByName(java.lang.String portalName)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getLivePortalsPath

java.util.Collection<java.lang.String> getLivePortalsPath()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

getLivePortals

java.util.List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                                              throws java.lang.Exception
Gets the all live portals on current repository.

Parameters:
sessionProvider - the session provider
Returns:
the live portals
Throws:
java.lang.Exception - the exception

getLivePortal

javax.jcr.Node getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                             java.lang.String portalName)
                             throws java.lang.Exception
Gets the live portal by name.

Parameters:
portalName - the portal name
sessionProvider - the session provider
Returns:
the live portal
Throws:
java.lang.Exception - the exception

getLiveSharedPortal

javax.jcr.Node getLiveSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                                   java.lang.String repository)
                                   throws java.lang.Exception
Gets the live shared portal on specific repository.

Parameters:
repository - the repository
sessionProvider - the session provider
Returns:
the live shared portal
Throws:
java.lang.Exception - the exception

getLivePortalByChild

javax.jcr.Node getLivePortalByChild(javax.jcr.Node childNode)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getLivePortals

java.util.List<javax.jcr.Node> getLivePortals(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                                              java.lang.String repository)
                                              throws java.lang.Exception
Gets the live portals on specific repository.

Parameters:
repository - the repository
sessionProvider - the session provider
Returns:
the live portals
Throws:
java.lang.Exception - the exception

getLivePortal

javax.jcr.Node getLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                             java.lang.String repository,
                             java.lang.String portalName)
                             throws java.lang.Exception
Gets the live portal on specific repository.

Parameters:
repository - the repository
portalName - the portal name
sessionProvider - the session provider
Returns:
the live portal
Throws:
java.lang.Exception - the exception

addLivePortal

void addLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                   org.exoplatform.portal.config.model.PortalConfig portalConfig)
                   throws java.lang.Exception
Adds the live portal on current repository.

Parameters:
portalConfig - the portal config
sessionProvider - the session provider
Throws:
java.lang.Exception - the exception

removeLivePortal

void removeLivePortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                      org.exoplatform.portal.config.model.PortalConfig portalConfig)
                      throws java.lang.Exception
Removes the live portal on current repository.

Parameters:
portalConfig - the portal config
sessionProvider - the session provider
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.