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, getUserId, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public org.wso2.carbon.registry.resource.beans.ResourceTreeEntryBean getResourceTreeEntry(String resourcePath) throws Exception
Exception
public org.wso2.carbon.registry.resource.beans.ContentBean getContentBean(String path) throws Exception
Exception
public org.wso2.carbon.registry.resource.beans.CollectionContentBean getCollectionContent(String path) throws Exception
Exception
public org.wso2.carbon.registry.common.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, 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.registry.resource.beans.MetadataBean getMetadata(String path) throws Exception
Exception
public void updateTextContent(String resourcePath, String contentText) throws Exception
Exception
public org.wso2.carbon.registry.resource.beans.ContentDownloadBean getContentDownloadBean(String path) throws Exception
Exception
public void renameResource(String parentPath, String oldResourcePath, String newResourceName) throws Exception
Exception
Copyright © 2024 WSO2. All rights reserved.