public class XSkinService extends Object implements org.picocontainer.Startable
| Modifier and Type | Field and Description |
|---|---|
static String |
SKIN_PATH_REGEXP
The Constant SKIN_PATH_REGEXP.
|
| Constructor and Description |
|---|
XSkinService(LivePortalManagerService livePortalService)
Instantiates a new extended skin service to manage skin for web content.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveStylesheet(javax.jcr.Node webcontent)
Gets the active style sheet of the specified web content node
|
void |
start() |
void |
stop() |
void |
updatePortalSkinOnModify(javax.jcr.Node portal,
javax.jcr.Node cssFile)
Update portal skin on modify.
|
void |
updatePortalSkinOnRemove(javax.jcr.Node portal,
javax.jcr.Node cssFile)
Update portal skin on remove.
|
public static final String SKIN_PATH_REGEXP
public XSkinService(LivePortalManagerService livePortalService) throws Exception
livePortalService - the LivePortalManagerService serviceException - the exceptionpublic String getActiveStylesheet(javax.jcr.Node webcontent) throws Exception
webcontent - the web content node to get style sheetException - the exceptionpublic void updatePortalSkinOnModify(javax.jcr.Node portal,
javax.jcr.Node cssFile)
throws Exception
portal - the portalcssFile - the css fileException - the exceptionpublic void updatePortalSkinOnRemove(javax.jcr.Node portal,
javax.jcr.Node cssFile)
throws Exception
portal - the portalcssFile - the css fileException - the exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.StartableCopyright © 2003–2019 eXo Platform SAS. All rights reserved.