org.exoplatform.services.wcm.core
Interface WCMService

All Known Implementing Classes:
WCMServiceImpl

public interface WCMService

Created by The eXo Platform SAS.

Author:
Benjamin Paillereau benjamin.paillereau@exoplatform.com Apr 30, 2009

Method Summary
 javax.jcr.Node getReferencedContent(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String repository, java.lang.String workspace, java.lang.String nodeIdentifier)
          This method returns a jcr Node based on the given identifier.
 boolean isSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String portalName)
          This method checks if the given portal is the default shared portal.
 

Method Detail

getReferencedContent

javax.jcr.Node getReferencedContent(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                                    java.lang.String repository,
                                    java.lang.String workspace,
                                    java.lang.String nodeIdentifier)
                                    throws java.lang.Exception
This method returns a jcr Node based on the given identifier.

Parameters:
repository - the repository name
workspace - the workspace name
nodeIdentifier - the node identifier
sessionProvider - the session provider
Returns:
a jcr Node
Throws:
java.lang.Exception - the exception
See Also:
Node

isSharedPortal

boolean isSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                       java.lang.String portalName)
                       throws java.lang.Exception
This method checks if the given portal is the default shared portal.

Parameters:
portalName - the portal name
sessionProvider - the session provider
Returns:
true if portal is shared portal
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.