public interface WebSchemaConfigService
| Modifier and Type | Method and Description |
|---|---|
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.
|
Collection<WebSchemaHandler> |
getAllWebSchemaHandler()
Gets the all web schema handler.
|
<T extends WebSchemaHandler> |
getWebSchemaHandlerByType(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.
|
void addWebSchemaHandler(org.exoplatform.container.component.ComponentPlugin plugin)
throws Exception
plugin - the pluginException - the exceptionCollection<WebSchemaHandler> getAllWebSchemaHandler() throws Exception
Exception - the exception<T extends WebSchemaHandler> T getWebSchemaHandlerByType(Class<T> clazz)
clazz - the clazzvoid createSchema(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws Exception
node - the nodesessionProvider - the session providerException - the exceptionvoid updateSchemaOnModify(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws Exception
node - the nodesessionProvider - the session providerException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.