public interface DMNContentService
| Modifier and Type | Method and Description |
|---|---|
String |
getContent(org.uberfire.backend.vfs.Path path)
Returns the content of a file as string.
|
List<org.uberfire.backend.vfs.Path> |
getDMNModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
This method loads all DMN paths from a given project.
|
List<org.uberfire.backend.vfs.Path> |
getModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
This method loads all paths (DMN and PMML) from a given project.
|
List<org.uberfire.backend.vfs.Path> |
getPMMLModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
This method loads all PMML paths from a given project.
|
DMNContentResource |
getProjectContent(org.uberfire.backend.vfs.Path path,
String defSetId)
Returns the content as string and the metadata of a file in a project.
|
PMMLDocumentMetadata |
loadPMMLDocumentMetadata(org.uberfire.backend.vfs.Path path)
This method loads a
PMMLDocumentMetadata for a given path. |
void |
saveContent(org.uberfire.backend.vfs.Path path,
String content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
Save the content as string and the metadata into the specified path.
|
String getContent(org.uberfire.backend.vfs.Path path)
path - The file path.DMNContentResource getProjectContent(org.uberfire.backend.vfs.Path path, String defSetId)
path - The file path.defSetId - The diagram's and graph Definition Set identifier, persisted into the metadata.DMNContentResource instance with the file content and the metadatavoid saveContent(org.uberfire.backend.vfs.Path path,
String content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
path - The file path.content - The content of the file.metadata - The metadata of the file.comment - The commit message.List<org.uberfire.backend.vfs.Path> getModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
workspaceProject - represents the project that will be scanned.Paths from a given project.List<org.uberfire.backend.vfs.Path> getDMNModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
workspaceProject - represents the project that will be scanned.Paths from a given project.List<org.uberfire.backend.vfs.Path> getPMMLModelsPaths(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
workspaceProject - represents the project that will be scanned.Paths from a given project.PMMLDocumentMetadata loadPMMLDocumentMetadata(org.uberfire.backend.vfs.Path path)
PMMLDocumentMetadata for a given path.path - represents the path of the PMML model that will be loaded as a PMMLDocumentMetadata.PMMLDocumentMetadata for a given path.Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.