public class ThemeMgtServiceClient extends Object
Constructor and Description |
---|
ThemeMgtServiceClient(javax.servlet.ServletConfig config,
javax.servlet.http.HttpSession session) |
ThemeMgtServiceClient(String cookie,
javax.servlet.ServletConfig config,
javax.servlet.http.HttpSession session) |
ThemeMgtServiceClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configContext) |
Modifier and Type | Method and Description |
---|---|
String |
addCollection(String parentPath,
String collectionName,
String mediaType,
String description) |
void |
addResource(String path,
String mediaType,
String description,
DataHandler content,
String symlinkLocation,
String tenantPass) |
void |
addTextResource(String parentPath,
String fileName,
String mediaType,
String description,
String content) |
void |
applyTheme(String themeName,
String tenantPass) |
void |
delete(String pathToDelete) |
String[] |
getAllPaths() |
String[] |
getAllThemes(String tenantPass) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.CollectionContentBean |
getCollectionContent(javax.servlet.http.HttpServletRequest request) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentBean |
getContent(javax.servlet.http.HttpServletRequest request) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentDownloadBean |
getContentDownloadBean(String path) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean |
getMetadata(javax.servlet.http.HttpServletRequest request) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean |
getMetadata(javax.servlet.http.HttpServletRequest request,
String root) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.common.xsd.ResourceData[] |
getResourceData(String[] paths) |
org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ResourceTreeEntryBean |
getResourceTreeEntry(String resourcePath) |
String |
getSessionResourcePath() |
String |
getTextContent(javax.servlet.http.HttpServletRequest request) |
void |
importResource(String parentPath,
String resourceName,
String mediaType,
String description,
String fetchURL,
String symlinkLocation,
boolean isAsync,
String tenantPass) |
void |
renameResource(String parentPath,
String oldResourcePath,
String newResourceName) |
void |
updateTextContent(String resourcePath,
String contentText) |
public ThemeMgtServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public ThemeMgtServiceClient(String cookie, javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public ThemeMgtServiceClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ResourceTreeEntryBean getResourceTreeEntry(String resourcePath) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentBean getContent(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.CollectionContentBean getCollectionContent(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.common.xsd.ResourceData[] getResourceData(String[] paths) throws Exception
Exception
public String addCollection(String parentPath, String collectionName, String mediaType, String description) throws Exception
Exception
public void addResource(String path, String mediaType, String description, DataHandler content, String symlinkLocation, String tenantPass) throws Exception
Exception
public void importResource(String parentPath, String resourceName, String mediaType, String description, String fetchURL, String symlinkLocation, boolean isAsync, String tenantPass) throws Exception
Exception
public void addTextResource(String parentPath, String fileName, String mediaType, String description, String content) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request, String root) throws Exception
Exception
public String getTextContent(javax.servlet.http.HttpServletRequest request) throws Exception
Exception
public void updateTextContent(String resourcePath, String contentText) throws Exception
Exception
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentDownloadBean getContentDownloadBean(String path) throws Exception
Exception
public void renameResource(String parentPath, String oldResourcePath, String newResourceName) throws Exception
Exception
Copyright © 2021 WSO2. All rights reserved.