Package | Description |
---|---|
org.wso2.carbon.registry.ws.api | |
org.wso2.carbon.registry.ws.api.utils |
Modifier and Type | Class and Description |
---|---|
class |
WSCollection
The WSCollection class is a web service compatible version of the Collection class.
|
Modifier and Type | Method and Description |
---|---|
WSResource |
WSResourceData.getResource() |
WSResource |
WSRegistry.WSget(String path)
Returns the resource at the given path.
|
WSResource |
WSRegistry.WSgetMetaData(String path)
Returns the meta data of the resource at the given path.
|
WSResource |
WSRegistry.WSnewResource()
Returns a new WSResource instance.
|
Modifier and Type | Method and Description |
---|---|
void |
WSResourceData.setResource(WSResource resource) |
String |
WSRegistry.WSimportResource(String suggestedPath,
String sourceURL,
WSResource metadata)
Creates a resource by fetching the resource content from the given URL.
|
String |
WSRegistry.WSput(String suggestedPath,
WSResource wsResource)
Adds or updates resources in the registry.
|
Modifier and Type | Method and Description |
---|---|
static WSResource |
CommonUtil.newResourcetoWSResource(org.wso2.carbon.registry.core.Resource resource) |
static WSResource |
CommonUtil.transformResourceToWSResource(org.wso2.carbon.registry.core.Resource resource,
DataHandler dataHandler) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
CommonUtil.makeBytesFromDataHandler(WSResource wsResource) |
static org.wso2.carbon.registry.core.Collection |
CommonUtil.transformWSCollectiontoCollection(WSResource wsCollection,
Object content) |
static org.wso2.carbon.registry.core.Resource |
CommonUtil.transformWSResourcetoResource(WSResource wsResource,
Object content) |
Copyright © 2024 WSO2. All rights reserved.