jbpm-data-modeler-editor-api 6.0.0-SNAPSHOT

org.jbpm.datamodeler.editor.service
Interface DataModelerService


public interface DataModelerService


Method Summary
 org.uberfire.backend.vfs.Path createModel(org.uberfire.backend.vfs.Path context, String fileName)
           
 Map<String,Boolean> evaluateIdentifiers(String[] identifiers)
           
 Map<String,AnnotationDefinitionTO> getAnnotationDefinitions()
           
 List<PropertyTypeTO> getBasePropertyTypes()
           
 DataModelTO loadModel(org.uberfire.backend.vfs.Path path)
           
 org.uberfire.backend.vfs.Path resolveProject(org.uberfire.backend.vfs.Path path)
           
 org.uberfire.backend.vfs.Path resolveResourcePackage(org.uberfire.backend.vfs.Path resource)
          Indicates if given path related to a project is inside project resources path.
 void saveModel(DataModelTO dataModel, org.uberfire.backend.vfs.Path path)
           
 

Method Detail

createModel

org.uberfire.backend.vfs.Path createModel(org.uberfire.backend.vfs.Path context,
                                          String fileName)

resolveProject

org.uberfire.backend.vfs.Path resolveProject(org.uberfire.backend.vfs.Path path)

loadModel

DataModelTO loadModel(org.uberfire.backend.vfs.Path path)

saveModel

void saveModel(DataModelTO dataModel,
               org.uberfire.backend.vfs.Path path)

resolveResourcePackage

org.uberfire.backend.vfs.Path resolveResourcePackage(org.uberfire.backend.vfs.Path resource)
Indicates if given path related to a project is inside project resources path. (src/main/resources or src/test/resources) e.g. MyProject/src/main/resources/myfiles is inside the project main resources path. e.g. MyProject/src/test/java/org/jboss is not.

Parameters:
resource - The path to check.
Returns:
resource if the path is inside the resources path, null in any other case.

getBasePropertyTypes

List<PropertyTypeTO> getBasePropertyTypes()

evaluateIdentifiers

Map<String,Boolean> evaluateIdentifiers(String[] identifiers)

getAnnotationDefinitions

Map<String,AnnotationDefinitionTO> getAnnotationDefinitions()

jbpm-data-modeler-editor-api 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.