org.exoplatform.services.wcm.core.impl
Class WCMServiceImpl
java.lang.Object
org.exoplatform.services.wcm.core.impl.WCMServiceImpl
- All Implemented Interfaces:
- WCMService
public class WCMServiceImpl
- extends java.lang.Object
- implements 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WCMServiceImpl
public WCMServiceImpl()
getReferencedContent
public 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
- Description copied from interface:
WCMService
- This method returns a jcr Node based on the given identifier.
- Specified by:
getReferencedContent in interface WCMService
- Parameters:
sessionProvider - the session providerrepository - the repository nameworkspace - the workspace namenodeIdentifier - the node identifier
- Returns:
- a jcr Node
- Throws:
java.lang.Exception - the exception- See Also:
Node
isSharedPortal
public boolean isSharedPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
java.lang.String portalName)
throws java.lang.Exception
- Description copied from interface:
WCMService
- This method checks if the given portal is the default shared portal.
- Specified by:
isSharedPortal in interface WCMService
- Parameters:
sessionProvider - the session providerportalName - the portal name
- Returns:
- true if portal is shared portal
- Throws:
java.lang.Exception - the exception
Copyright © 2011 eXo Platform SAS. All Rights Reserved.