Uses of Class
org.wso2.carbon.registry.ws.api.WSResource
-
Packages that use WSResource Package Description org.wso2.carbon.registry.ws.api org.wso2.carbon.registry.ws.api.utils -
-
Uses of WSResource in org.wso2.carbon.registry.ws.api
Subclasses of WSResource in org.wso2.carbon.registry.ws.api Modifier and Type Class Description class
WSCollection
The WSCollection class is a web service compatible version of the Collection class.Methods in org.wso2.carbon.registry.ws.api that return WSResource Modifier and Type Method 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.Methods in org.wso2.carbon.registry.ws.api with parameters of type WSResource Modifier and Type Method 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. -
Uses of WSResource in org.wso2.carbon.registry.ws.api.utils
Methods in org.wso2.carbon.registry.ws.api.utils that return WSResource Modifier and Type Method 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)
Methods in org.wso2.carbon.registry.ws.api.utils with parameters of type WSResource Modifier and Type Method 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)
-