|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSchemaConfigService
Created by The eXo Platform SAS.
| Method Summary | ||
|---|---|---|
void |
addWebSchemaHandler(org.exoplatform.container.component.ComponentPlugin plugin)
Adds the web schema handler. |
|
void |
createSchema(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
Call this method when a node is created in observed tree. |
|
java.util.Collection<WebSchemaHandler> |
getAllWebSchemaHandler()
Gets the all web schema handler. |
|
|
getWebSchemaHandlerByType(java.lang.Class<T> clazz)
Gets the web schema handler by type. |
|
void |
updateSchemaOnModify(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
Update schema when a node is modified. |
|
void |
updateSchemaOnRemove(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
Update schema on when a node is removed. |
|
| Method Detail |
|---|
void addWebSchemaHandler(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
plugin - the plugin
java.lang.Exception - the exception
java.util.Collection<WebSchemaHandler> getAllWebSchemaHandler()
throws java.lang.Exception
java.lang.Exception - the exception<T extends WebSchemaHandler> T getWebSchemaHandlerByType(java.lang.Class<T> clazz)
clazz - the clazz
void createSchema(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
node - the nodesessionProvider - the session provider
java.lang.Exception - the exception
void updateSchemaOnModify(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
node - the nodesessionProvider - the session provider
java.lang.Exception - the exception
void updateSchemaOnRemove(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
node - the nodesessionProvider - the session provider
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||