|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.wcm.core.BaseWebSchemaHandler
org.exoplatform.services.wcm.webcontent.HTMLFileSchemaHandler
public class HTMLFileSchemaHandler
Created by The eXo Platform SAS.
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.services.wcm.core.BaseWebSchemaHandler |
|---|
EXO_OWNABLE, NT_FILE, NT_FOLDER, NT_UNSTRUCTURED |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
desc, name |
| Constructor Summary | |
|---|---|
HTMLFileSchemaHandler()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getHandlerNodeType()
Gets the handler node type. |
protected java.lang.String |
getParentNodeType()
Gets the parent node type. |
boolean |
isInWebContent(javax.jcr.Node file)
Checks if is in web content. |
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 file)
Process schema when crete node |
void |
onModifyNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
Update schema when modify node |
| Methods inherited from class org.exoplatform.services.wcm.core.BaseWebSchemaHandler |
|---|
addMixin, createDefautWebData, findPortalNode, getFileMimeType, getService, onRemoveNode |
| 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 |
| Constructor Detail |
|---|
public HTMLFileSchemaHandler()
| Method Detail |
|---|
protected java.lang.String getHandlerNodeType()
BaseWebSchemaHandler
getHandlerNodeType in class BaseWebSchemaHandlerprotected java.lang.String getParentNodeType()
BaseWebSchemaHandler
getParentNodeType in class BaseWebSchemaHandler
public boolean matchHandler(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
WebSchemaHandler
matchHandler in interface WebSchemaHandlermatchHandler in class BaseWebSchemaHandlernode - the node
java.lang.Exception - the exception
public boolean isInWebContent(javax.jcr.Node file)
throws java.lang.Exception
file - the file
java.lang.Exception - the exception
public void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node file)
throws java.lang.Exception
WebSchemaHandler
onCreateNode in interface WebSchemaHandleronCreateNode in class BaseWebSchemaHandlerfile - the node
java.lang.Exception - the exception
public void onModifyNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws java.lang.Exception
WebSchemaHandler
onModifyNode in interface WebSchemaHandleronModifyNode in class BaseWebSchemaHandlernode - the node
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||