|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.core.impl.WebSchemaConfigServiceImpl
public class WebSchemaConfigServiceImpl
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
WebSchemaConfigServiceImpl()
Instantiates a new web schema config service impl. |
|
| 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 |
start()
|
|
void |
stop()
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSchemaConfigServiceImpl()
configurationService - the configuration servicehierarchyCreator - the hierarchy creator| Method Detail |
|---|
public void addWebSchemaHandler(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
WebSchemaConfigService
addWebSchemaHandler in interface WebSchemaConfigServiceplugin - the plugin
java.lang.Exception - the exception
public java.util.Collection<WebSchemaHandler> getAllWebSchemaHandler()
throws java.lang.Exception
WebSchemaConfigService
getAllWebSchemaHandler in interface WebSchemaConfigServicejava.lang.Exception - the exceptionpublic <T extends WebSchemaHandler> T getWebSchemaHandlerByType(java.lang.Class<T> clazz)
WebSchemaConfigService
getWebSchemaHandlerByType in interface WebSchemaConfigServiceclazz - the clazz
public void createSchema(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
WebSchemaConfigService
createSchema in interface WebSchemaConfigServicesessionProvider - the session providernode - the node
java.lang.Exception - the exception
public void updateSchemaOnModify(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
WebSchemaConfigService
updateSchemaOnModify in interface WebSchemaConfigServicesessionProvider - the session providernode - the node
java.lang.Exception - the exception
public void updateSchemaOnRemove(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
WebSchemaConfigService
updateSchemaOnRemove in interface WebSchemaConfigServicesessionProvider - the session providernode - the node
java.lang.Exception - the exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||