Interface MetadataService
-
- All Known Subinterfaces:
MetadataServerSideService
public interface MetadataService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>configAttrs(Map<String,Object> attrs, Metadata metadata)MetadatagetMetadata(org.uberfire.backend.vfs.Path resource)List<String>getTags(org.uberfire.backend.vfs.Path resource)org.uberfire.backend.vfs.PathsaveMetadata(org.uberfire.backend.vfs.Path path, Metadata metadata, String comment)Only saves the Metadata for an asset.Map<String,Object>setUpAttributes(org.uberfire.backend.vfs.Path path, Metadata metadata)
-
-
-
Method Detail
-
getMetadata
Metadata getMetadata(org.uberfire.backend.vfs.Path resource)
-
setUpAttributes
Map<String,Object> setUpAttributes(org.uberfire.backend.vfs.Path path, Metadata metadata)
-
saveMetadata
org.uberfire.backend.vfs.Path saveMetadata(org.uberfire.backend.vfs.Path path, Metadata metadata, String comment)Only saves the Metadata for an asset.- Parameters:
path- Path to the file that the metadata belongs tometadata- Actual metadata to be saved.comment- Commit comment.- Returns:
-
-