public class ThemeMgtService
extends org.wso2.carbon.core.AbstractAdmin
| Constructor and Description |
|---|
ThemeMgtService() |
| 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.registry.resource.beans.CollectionContentBean |
getCollectionContent(String path) |
org.wso2.carbon.registry.resource.beans.ContentBean |
getContentBean(String path) |
org.wso2.carbon.registry.resource.beans.ContentDownloadBean |
getContentDownloadBean(String path) |
org.wso2.carbon.registry.resource.beans.MetadataBean |
getMetadata(String path) |
org.wso2.carbon.registry.common.ResourceData[] |
getResourceData(String[] paths) |
org.wso2.carbon.registry.resource.beans.ResourceTreeEntryBean |
getResourceTreeEntry(String resourcePath) |
String |
getSessionResourcePath() |
String |
getTextContent(String path) |
void |
importResource(String parentPath,
String resourceName,
String mediaType,
String description,
String fetchURL,
String symlinkLocation,
String tenantPass) |
void |
renameResource(String parentPath,
String oldResourcePath,
String newResourceName) |
void |
updateTextContent(String resourcePath,
String contentText) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamppublic org.wso2.carbon.registry.resource.beans.ResourceTreeEntryBean getResourceTreeEntry(String resourcePath) throws Exception
Exceptionpublic org.wso2.carbon.registry.resource.beans.ContentBean getContentBean(String path) throws Exception
Exceptionpublic org.wso2.carbon.registry.resource.beans.CollectionContentBean getCollectionContent(String path) throws Exception
Exceptionpublic org.wso2.carbon.registry.common.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, DataHandler content, String symlinkLocation, String tenantPass) throws Exception
Exceptionpublic void importResource(String parentPath, String resourceName, String mediaType, String description, String fetchURL, String symlinkLocation, String tenantPass) throws Exception
Exceptionpublic void addTextResource(String parentPath, String fileName, String mediaType, String description, String content) throws Exception
Exceptionpublic org.wso2.carbon.registry.resource.beans.MetadataBean getMetadata(String path) throws Exception
Exceptionpublic void updateTextContent(String resourcePath, String contentText) throws Exception
Exceptionpublic org.wso2.carbon.registry.resource.beans.ContentDownloadBean getContentDownloadBean(String path) throws Exception
Exceptionpublic void renameResource(String parentPath, String oldResourcePath, String newResourceName) throws Exception
ExceptionCopyright © 2019 WSO2. All rights reserved.