public class AnalyticsArtifactHandler extends Object
| Constructor and Description |
|---|
AnalyticsArtifactHandler(ExecutionContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
ResponseContainerAssets |
createAssets(String user,
String serverCapability,
String input)
Create assets defined by input.
|
String |
createContainer(MetadataContainer container,
String parentGUID,
String anchorGUID,
boolean bNested,
String parentQName)
Create container entity to store container bean.
|
void |
createItem(MetadataItem item,
String parentGUID,
String anchorGUID,
boolean bNested,
String parentQName)
Create item entity to store item bean.
|
AssetHandler<AnalyticsAsset> |
getAssetHandler() |
void |
removeMetadataObject(EntityDetail entity,
String methodName)
Remove metadata entity left after update is completed.
|
ResponseContainerAssets |
updateAssets(String user,
String serverCapability,
AnalyticsAsset asset)
Update assets defined by input.
|
public AnalyticsArtifactHandler(ExecutionContext ctx)
public AssetHandler<AnalyticsAsset> getAssetHandler()
public ResponseContainerAssets createAssets(String user, String serverCapability, String input) throws AnalyticsModelingCheckedException
user - making the request.serverCapability - where the artifact is located.input - definition of analytic artifact.AnalyticsModelingCheckedException - in case of error.public String createContainer(MetadataContainer container, String parentGUID, String anchorGUID, boolean bNested, String parentQName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
container - bean to create.parentGUID - to use as parent entity.anchorGUID - to create anchor classification.bNested - to create nested container.parentQName - of the created container.InvalidParameterException - repository access error.PropertyServerException - repository access error.UserNotAuthorizedException - repository access error.public void createItem(MetadataItem item, String parentGUID, String anchorGUID, boolean bNested, String parentQName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
item - bean to create.parentGUID - to use as parent.anchorGUID - to create classification.bNested - true for child of container or item, not asset.parentQName - to build QName of the item.InvalidParameterException - repository access error.PropertyServerException - repository access error.UserNotAuthorizedException - repository access error.public ResponseContainerAssets updateAssets(String user, String serverCapability, AnalyticsAsset asset) throws AnalyticsModelingCheckedException
user - making the request.serverCapability - where the artifact is located.asset - analytic artifact.AnalyticsModelingCheckedException - in case of error.public void removeMetadataObject(EntityDetail entity, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
entity - to removemethodName - requested removal.InvalidParameterException - repository access error.UserNotAuthorizedException - repository access error.PropertyServerException - repository access error.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.