public class Asset extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_CONTENT_TYPE |
static String |
CONTENT_DISPOSITION |
static String |
CONTENT_TYPE_POLICY |
static String |
CONTENT_TYPE_SCHEMA |
static String |
CONTENT_TYPE_SWAGGER |
static String |
CONTENT_TYPE_WADL |
static String |
CONTENT_TYPE_WSDL |
static String |
ENDPOINT |
static String |
ENDPOINT_LIFE_CYCLE |
static String |
ENDPOINT_LIFE_CYCLE_ACTION_ACTIVATE |
static String |
ENDPOINT_LIFE_CYCLE_ACTION_DEACTIVATE |
static String |
ENDPOINT_LIFE_CYCLE_STATE_ACTIVE |
static String |
ENDPOINT_MEDIA_TYPE |
static String |
ENDPOINTS |
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
String |
changeContent(InputStream content,
org.wso2.carbon.registry.core.Registry registry,
String currentPath) |
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 |
endpointActivate(String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
endpointDeactivate(String id,
javax.ws.rs.core.UriInfo uriInfo) |
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 |
getAssetRawContent(String assetType,
String id) |
javax.ws.rs.core.Response |
getAssets(String assetType,
javax.ws.rs.core.UriInfo uriInfo,
String tenant) |
javax.ws.rs.core.Response |
getAssetStates(String assetType,
String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getAssociations(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,
String tenant) |
javax.ws.rs.core.Response |
getEndpointStates(String id,
javax.ws.rs.core.UriInfo uriInfo) |
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 static final String ENDPOINT_LIFE_CYCLE
public static final String ENDPOINT_LIFE_CYCLE_ACTION_DEACTIVATE
public static final String ENDPOINT_LIFE_CYCLE_ACTION_ACTIVATE
public static final String ENDPOINT_LIFE_CYCLE_STATE_ACTIVE
public static final String ENDPOINT_MEDIA_TYPE
public static final String CONTENT_TYPE_WSDL
public static final String CONTENT_TYPE_WADL
public static final String CONTENT_TYPE_SWAGGER
public static final String CONTENT_TYPE_SCHEMA
public static final String CONTENT_TYPE_POLICY
public static final String ATTR_CONTENT_TYPE
public static final String CONTENT_DISPOSITION
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, @HeaderParam(value="X_TENANT") String tenant) 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 getAssetRawContent(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 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.RegistryExceptionpublic javax.ws.rs.core.Response getEndpoints(@Context
javax.ws.rs.core.UriInfo uriInfo,
@HeaderParam(value="X_TENANT")
String tenant)
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 endpointActivate(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 endpointDeactivate(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 getAssociations(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.RegistryExceptionprotected org.wso2.carbon.registry.core.Registry getUserRegistry()
throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionpublic String changeContent(InputStream content, org.wso2.carbon.registry.core.Registry registry, String currentPath) throws org.wso2.carbon.governance.api.exception.GovernanceException
org.wso2.carbon.governance.api.exception.GovernanceExceptionCopyright © 2016 WSO2. All rights reserved.