Class ThemeMgtServiceClient
java.lang.Object
org.wso2.carbon.theme.mgt.ui.clients.ThemeMgtServiceClient
-
Constructor Summary
ConstructorsConstructorDescriptionThemeMgtServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext) ThemeMgtServiceClient(String cookie, javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) ThemeMgtServiceClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) -
Method Summary
Modifier and TypeMethodDescriptionaddCollection(String parentPath, String collectionName, String mediaType, String description) voidaddResource(String path, String mediaType, String description, DataHandler content, String symlinkLocation, String tenantPass) voidaddTextResource(String parentPath, String fileName, String mediaType, String description, String content) voidapplyTheme(String themeName, String tenantPass) voidString[]String[]getAllThemes(String tenantPass) org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.CollectionContentBeangetCollectionContent(javax.servlet.http.HttpServletRequest request) org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentBeangetContent(javax.servlet.http.HttpServletRequest request) org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentDownloadBeangetContentDownloadBean(String path) org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBeangetMetadata(javax.servlet.http.HttpServletRequest request) org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBeangetMetadata(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.ResourceTreeEntryBeangetResourceTreeEntry(String resourcePath) getTextContent(javax.servlet.http.HttpServletRequest request) voidimportResource(String parentPath, String resourceName, String mediaType, String description, String fetchURL, String symlinkLocation, boolean isAsync, String tenantPass) voidrenameResource(String parentPath, String oldResourcePath, String newResourceName) voidupdateTextContent(String resourcePath, String contentText)
-
Constructor Details
-
ThemeMgtServiceClient
public ThemeMgtServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
ThemeMgtServiceClient
public ThemeMgtServiceClient(String cookie, javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
ThemeMgtServiceClient
public ThemeMgtServiceClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
-
Method Details
-
getResourceTreeEntry
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ResourceTreeEntryBean getResourceTreeEntry(String resourcePath) throws Exception - Throws:
Exception
-
getContent
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentBean getContent(javax.servlet.http.HttpServletRequest request) throws Exception - Throws:
Exception
-
getCollectionContent
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.CollectionContentBean getCollectionContent(javax.servlet.http.HttpServletRequest request) throws Exception - Throws:
Exception
-
getResourceData
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.common.xsd.ResourceData[] getResourceData(String[] paths) throws Exception - Throws:
Exception
-
addCollection
public String addCollection(String parentPath, String collectionName, String mediaType, String description) throws Exception - Throws:
Exception
-
addResource
public void addResource(String path, String mediaType, String description, DataHandler content, String symlinkLocation, String tenantPass) throws Exception - Throws:
Exception
-
importResource
public void importResource(String parentPath, String resourceName, String mediaType, String description, String fetchURL, String symlinkLocation, boolean isAsync, String tenantPass) throws Exception - Throws:
Exception
-
addTextResource
public void addTextResource(String parentPath, String fileName, String mediaType, String description, String content) throws Exception - Throws:
Exception
-
getMetadata
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request) throws Exception - Throws:
Exception
-
getMetadata
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.MetadataBean getMetadata(javax.servlet.http.HttpServletRequest request, String root) throws Exception - Throws:
Exception
-
getSessionResourcePath
- Throws:
Exception
-
getTextContent
- Throws:
Exception
-
updateTextContent
- Throws:
Exception
-
getContentDownloadBean
public org.wso2.carbon.theme.mgt.stub.registry.resource.stub.beans.xsd.ContentDownloadBean getContentDownloadBean(String path) throws Exception - Throws:
Exception
-
renameResource
public void renameResource(String parentPath, String oldResourcePath, String newResourceName) throws Exception - Throws:
Exception
-
delete
- Throws:
Exception
-
getAllPaths
- Throws:
Exception
-
getAllThemes
- Throws:
Exception
-
applyTheme
- Throws:
Exception
-