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,
javax.activation.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.RegistryExceptionpublic 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.RegistryExceptionpublic ThemeMgtServiceClient(javax.servlet.ServletConfig config,
javax.servlet.http.HttpSession session)
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ResourceTreeEntryBean getResourceTreeEntry(String resourcePath) throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentBean getContent(javax.servlet.http.HttpServletRequest request)
throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.CollectionContentBean getCollectionContent(javax.servlet.http.HttpServletRequest request)
throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.common.xsd.ResourceData[] getResourceData(String[] paths) throws Exception
Exceptionpublic String addCollection(String parentPath, String collectionName, String mediaType, String description) throws Exception
Exceptionpublic void addResource(String path, String mediaType, String description, javax.activation.DataHandler content, String symlinkLocation, String tenantPass) throws Exception
Exceptionpublic void importResource(String parentPath, String resourceName, String mediaType, String description, String fetchURL, String symlinkLocation, boolean isAsync, String tenantPass) throws Exception
Exceptionpublic void addTextResource(String parentPath, String fileName, String mediaType, String description, String content) throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request)
throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request,
String root)
throws Exception
Exceptionpublic String getTextContent(javax.servlet.http.HttpServletRequest request) throws Exception
Exceptionpublic void updateTextContent(String resourcePath, String contentText) throws Exception
Exceptionpublic org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentDownloadBean getContentDownloadBean(String path) throws Exception
Exceptionpublic void renameResource(String parentPath, String oldResourcePath, String newResourceName) throws Exception
ExceptionCopyright © 2019 WSO2. All rights reserved.