| java.lang.Object mc.formgenerator.servlets.bonita.RepositoryFacade
RepositoryFacade | public class RepositoryFacade (Code) | | This class is a facade class to operate with XForm files.
|
Method Summary | |
public String | getActivityFormPath(String projectName, String activityName, String projectVersion) Returns the path of the XForm file for an activity. | public String | getProjectFormPath(String projectName, String projectVersion) Returns the path of the XForm file for a project. | public void | removeActivityFormPath(String projectName, String projectVersion, String activityName) Removes activiy form path from repository. | public void | removeProjectFormPath(String projectName, String projectVersion) Remove project form path from repository. | public void | setActivityFormPath(String projectName, String projectVersion, String activityName) Sets the path of the XForm file for an activity. | public void | setProjectFormPath(String projectName, String projectVersion) Sets the path of the XForm file for a project. | public void | updateActivityName(String projectName, String projectVersion, String oldActivityName, String newActivityName) Updates activiy name in repository. | public void | updateProjectName(String oldProjectName, String newProjectName, String projectVersion) Updates project name. |
RepositoryFacade | public RepositoryFacade(String xmlPath)(Code) | | Default class constructor
|
getActivityFormPath | public String getActivityFormPath(String projectName, String activityName, String projectVersion)(Code) | | Returns the path of the XForm file for an activity.
projectName: the project's name activityName: the activity's name projectVersion: the project's version String formpath. throws: Exception - |
getProjectFormPath | public String getProjectFormPath(String projectName, String projectVersion)(Code) | | Returns the path of the XForm file for a project.
projectName: the project's name projectVersion: the project's version String formpath. throws: Exception - |
removeActivityFormPath | public void removeActivityFormPath(String projectName, String projectVersion, String activityName) throws Exception(Code) | | Removes activiy form path from repository.
projectName: the project's name projectVersion: the project's version activityName: the activity's name |
removeProjectFormPath | public void removeProjectFormPath(String projectName, String projectVersion) throws Exception(Code) | | Remove project form path from repository.
projectName: the project's name projectVersion: the project's versionWarning: This method is not used by proed at now ! |
setActivityFormPath | public void setActivityFormPath(String projectName, String projectVersion, String activityName) throws Exception(Code) | | Sets the path of the XForm file for an activity.
projectName: the project's name projectVersion: the project's version activityName: the activity's name throws: Exception - |
setProjectFormPath | public void setProjectFormPath(String projectName, String projectVersion) throws Exception(Code) | | Sets the path of the XForm file for a project.
projectName: the project's name projectVersion: the project's version throws: Exception - |
updateActivityName | public void updateActivityName(String projectName, String projectVersion, String oldActivityName, String newActivityName) throws Exception(Code) | | Updates activiy name in repository.
projectName: the project's name projectVersion: the project's version activityName: the activity's name |
updateProjectName | public void updateProjectName(String oldProjectName, String newProjectName, String projectVersion) throws Exception(Code) | | Updates project name.
oldProjectName: the old project's name newProjectName: the new project's name projectVersion: the project's version |
|
|