public class Asset extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT |
static String |
ENDPOINTS |
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createAsset(String assetType,
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createEndpoint(org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createEndpoint(String assetType,
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createEndpoint(String assetType,
String id,
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
deleteAsset(String assetType,
String id) |
javax.ws.rs.core.Response |
deleteEndpoint(String id) |
javax.ws.rs.core.Response |
getAsset(String assetType,
String id) |
javax.ws.rs.core.Response |
getAssetEndpoints(String assetType,
String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssetEndpoints(String assetType,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssets(String assetType,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssetStates(String assetType,
String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getEndpoint(String id) |
javax.ws.rs.core.Response |
getEndpoints(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getEndpointStates(String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getGovernanceEndpoint(String id) |
javax.ws.rs.core.Response |
getTypes() |
protected org.wso2.carbon.registry.core.Registry |
getUserRegistry() |
javax.ws.rs.core.Response |
modifyAsset(String assetType,
String id,
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
modifyEndpoint(String id,
org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
updateLCState(String assetType,
String id,
AssetStateChange stateChange,
javax.ws.rs.core.UriInfo uriInfo) |
public static final String ENDPOINTS
public static final String ENDPOINT
public javax.ws.rs.core.Response getTypes()
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getAssets(String assetType, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getAsset(String assetType, String id) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getAssetEndpoints(String assetType, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getAssetEndpoints(String assetType, String id, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response createAsset(String assetType, org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response modifyAsset(String assetType, String id, org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response deleteAsset(String assetType, String id) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getEndpoints(@Context
javax.ws.rs.core.UriInfo uriInfo)
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getEndpoint(String id) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response createEndpoint(org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact,
@Context
javax.ws.rs.core.UriInfo uriInfo)
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response createEndpoint(String assetType, org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response createEndpoint(String assetType, String id, org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response modifyEndpoint(String id, org.wso2.carbon.governance.api.generic.dataobjects.GenericArtifact genericArtifact, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response deleteEndpoint(String id) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getEndpointStates(String id, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getAssetStates(String assetType, String id, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response updateLCState(String assetType, String id, AssetStateChange stateChange, @Context javax.ws.rs.core.UriInfo uriInfo) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionprotected org.wso2.carbon.registry.core.Registry getUserRegistry()
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic javax.ws.rs.core.Response getGovernanceEndpoint(String id) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionCopyright © 2015 WSO2. All rights reserved.