public class ComponentService extends Object
Constructor and Description |
---|
ComponentService() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCache()
Clear cache by removing datastore data
|
static Component |
load(String strArtifactId)
Load a component from the Datastore
|
static void |
save(Component component)
Save a component into the Datastore as JSON format
|
public static void save(Component component)
component
- The componentpublic static Component load(String strArtifactId)
strArtifactId
- The Artifact IDpublic static void clearCache()
Copyright © 2018 City of Paris. All rights reserved.