org.exoplatform.services.wcm.core
Interface WebSchemaHandler

All Known Implementing Classes:
BaseWebSchemaHandler, CSSFileHandler, HTMLFileSchemaHandler, JSFileHandler, PortalFolderSchemaHandler, WebContentSchemaHandler

public interface WebSchemaHandler

Created by The eXo Platform SAS.

Author:
: Hoa.Pham hoa.pham@exoplatform.com Jun 3, 2008

Method Summary
 boolean matchHandler(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, javax.jcr.Node node)
          Match handler to process the schema
 void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, javax.jcr.Node node)
          Process schema when crete node
 void onModifyNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, javax.jcr.Node node)
          Update schema when modify node
 void onRemoveNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, javax.jcr.Node node)
          Update schema before a node is removed
 

Method Detail

matchHandler

boolean matchHandler(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                     javax.jcr.Node node)
                     throws java.lang.Exception
Match handler to process the schema

Parameters:
node - the node
Returns:
true, if successful
Throws:
java.lang.Exception - the exception

onCreateNode

void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                  javax.jcr.Node node)
                  throws java.lang.Exception
Process schema when crete node

Parameters:
node - the node
Throws:
java.lang.Exception - the exception

onModifyNode

void onModifyNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                  javax.jcr.Node node)
                  throws java.lang.Exception
Update schema when modify node

Parameters:
node - the node
Throws:
java.lang.Exception - the exception

onRemoveNode

void onRemoveNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                  javax.jcr.Node node)
                  throws java.lang.Exception
Update schema before a node is removed

Parameters:
node - the node
Throws:
java.lang.Exception - the exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.