public class WebContentSchemaHandler extends BaseWebSchemaHandler
EXO_OWNABLE, NT_FILE, NT_FOLDER, NT_UNSTRUCTURED| Constructor and Description |
|---|
WebContentSchemaHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDefaultSchema(javax.jcr.Node webContent) |
protected void |
createSchema(javax.jcr.Node webContent) |
javax.jcr.Node |
getCSSFolder(javax.jcr.Node webContent) |
javax.jcr.Node |
getDocumentFolder(javax.jcr.Node webContent) |
protected String |
getHandlerNodeType()
Gets the handler node type.
|
javax.jcr.Node |
getIllustrationImage(javax.jcr.Node webContent) |
javax.jcr.Node |
getImagesFolders(javax.jcr.Node webContent) |
javax.jcr.Node |
getJSFolder(javax.jcr.Node webContent) |
protected String |
getParentNodeType()
Gets the parent node type.
|
javax.jcr.Node |
getVideoFolder(javax.jcr.Node webContent) |
boolean |
isWebcontentChildNode(javax.jcr.Node file) |
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 webContent)
Process schema when crete node
|
addMixin, createDefautWebData, findPortalNode, getFileMimeType, getService, onModifyNode, 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 void onCreateNode(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
javax.jcr.Node webContent)
throws Exception
WebSchemaHandleronCreateNode in interface WebSchemaHandleronCreateNode in class BaseWebSchemaHandlerwebContent - the nodeException - the exceptionpublic javax.jcr.Node getCSSFolder(javax.jcr.Node webContent)
throws Exception
Exceptionpublic javax.jcr.Node getJSFolder(javax.jcr.Node webContent)
throws Exception
Exceptionpublic javax.jcr.Node getImagesFolders(javax.jcr.Node webContent)
throws Exception
Exceptionpublic javax.jcr.Node getIllustrationImage(javax.jcr.Node webContent)
throws Exception
Exceptionpublic javax.jcr.Node getVideoFolder(javax.jcr.Node webContent)
throws Exception
Exceptionpublic javax.jcr.Node getDocumentFolder(javax.jcr.Node webContent)
throws Exception
Exceptionpublic void createDefaultSchema(javax.jcr.Node webContent)
throws Exception
Exceptionprotected void createSchema(javax.jcr.Node webContent)
throws Exception
ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.