org.exoplatform.services.wcm.webcontent
Class WebContentSchemaHandler
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.wcm.core.BaseWebSchemaHandler
org.exoplatform.services.wcm.webcontent.WebContentSchemaHandler
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin, WebSchemaHandler
public class WebContentSchemaHandler
- extends BaseWebSchemaHandler
Created by The eXo Platform SAS
- Author:
- : Hoa.Pham
hoa.pham@exoplatform.com
May 28, 2008
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContentSchemaHandler
public WebContentSchemaHandler()
getHandlerNodeType
protected java.lang.String getHandlerNodeType()
- Description copied from class:
BaseWebSchemaHandler
- Gets the handler node type.
- Specified by:
getHandlerNodeType in class BaseWebSchemaHandler
- Returns:
- the handler node type
getParentNodeType
protected java.lang.String getParentNodeType()
- Description copied from class:
BaseWebSchemaHandler
- Gets the parent node type.
- Specified by:
getParentNodeType in class BaseWebSchemaHandler
- Returns:
- the parent node type
matchHandler
public boolean matchHandler(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
- Description copied from interface:
WebSchemaHandler
- Match handler to process the schema
- Specified by:
matchHandler in interface WebSchemaHandler- Overrides:
matchHandler in class BaseWebSchemaHandler
node - the node
- Returns:
- true, if successful
- Throws:
java.lang.Exception - the exception
onCreateNode
public void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node webContent)
throws java.lang.Exception
- Description copied from interface:
WebSchemaHandler
- Process schema when crete node
- Specified by:
onCreateNode in interface WebSchemaHandler- Overrides:
onCreateNode in class BaseWebSchemaHandler
webContent - the node
- Throws:
java.lang.Exception - the exception
getCSSFolder
public javax.jcr.Node getCSSFolder(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getJSFolder
public javax.jcr.Node getJSFolder(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getImagesFolders
public javax.jcr.Node getImagesFolders(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getIllustrationImage
public javax.jcr.Node getIllustrationImage(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getVideoFolder
public javax.jcr.Node getVideoFolder(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDocumentFolder
public javax.jcr.Node getDocumentFolder(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
createDefaultSchema
public void createDefaultSchema(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSchema
protected void createSchema(javax.jcr.Node webContent)
throws java.lang.Exception
- Throws:
java.lang.Exception
isWebcontentChildNode
public boolean isWebcontentChildNode(javax.jcr.Node file)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 eXo Platform SAS. All Rights Reserved.