public class HTMLFileSchemaHandler extends BaseWebSchemaHandler
EXO_OWNABLE, NT_FILE, NT_FOLDER, NT_UNSTRUCTURED| Constructor and Description |
|---|
HTMLFileSchemaHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHandlerNodeType()
Gets the handler node type.
|
protected 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
|
addMixin, createDefautWebData, findPortalNode, getFileMimeType, getService, onRemoveNodeprotected String getHandlerNodeType()
BaseWebSchemaHandlergetHandlerNodeType in class BaseWebSchemaHandlerprotected String getParentNodeType()
BaseWebSchemaHandlergetParentNodeType in class BaseWebSchemaHandlerpublic boolean matchHandler(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws Exception
WebSchemaHandlermatchHandler in interface WebSchemaHandlermatchHandler in class BaseWebSchemaHandlernode - the nodeException - the exceptionpublic boolean isInWebContent(javax.jcr.Node file)
throws Exception
file - the fileException - the exceptionpublic void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node file)
throws Exception
WebSchemaHandleronCreateNode in interface WebSchemaHandleronCreateNode in class BaseWebSchemaHandlerfile - the nodeException - the exceptionpublic void onModifyNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node node)
throws Exception
WebSchemaHandleronModifyNode in interface WebSchemaHandleronModifyNode in class BaseWebSchemaHandlernode - the nodeException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.