Java Doc for Environment.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » data » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » salome tmf » org.objectweb.salome_tmf.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.salome_tmf.data.SimpleData
      org.objectweb.salome_tmf.data.WithAttachment
         org.objectweb.salome_tmf.data.Environment

Environment
public class Environment extends WithAttachment (Code)


Field Summary
protected  ScriptinitScript
    
static  ISQLConfigpISQLConfig
    
static  ISQLEnvironmentpISQLEnvironment
    
protected  ProjectpProject
    
protected  HashtableparametersHashTable
    

Constructor Summary
public  Environment(String name, String description)
    
public  Environment(EnvironmentWrapper pEnv)
    

Method Summary
 voidaddAttachFileInDB(FileAttachment file)
    
public  voidaddAttachInDBAndModel(Attachment attach)
    
 voidaddAttachUrlInDB(UrlAttachment url)
    
public  voidaddAttachementInDB(Attachment attach)
    
 voidaddInBddAndModel(Project pProject)
    
 voidaddInDB(int idProject)
    
 voidaddInModel(Project pProject)
    
public  voidaddParamValueInDBAndModel(Parameter param, String value)
    
public  voidaddParameterValueInDB(Parameter param, String value)
    
public  voidaddParameterValueInDBModel(Parameter param, String value)
    
public  voidaddParameterValueInModel(Parameter param, String value)
    
 voidaddScriptInDB(Script script, File file)
    
public  voidaddScriptInDBAndModel(Script script, File file)
    
public  voidaddScriptInModel(Script script)
    
public  booleancontainsParameterInModel(Parameter param)
    
public  booleancontainsParameterInModel(String paramName)
    
public  voiddeleteAttachementInDB(int attachId)
    
public  voiddeleteAttachementInDBAndModel(Attachment attach)
    
public  voiddeleteDefParamInDB(int paramId)
    
public  voiddeleteDefParamInDBAndModel(Parameter param)
    
public  voiddeleteDefParameterInModel(Parameter param)
    
public  voiddeleteDefParameterInModel(String paramName)
    
public  voiddeleteInDB()
    
public  voiddeleteInDBAndModel()
    
public  voiddeleteInModel()
    
public  voiddeleteScriptInDB()
    
public  voiddeleteScriptInDBAndModel()
    
public  voiddeleteScriptInModel()
    
public  booleanexisteInBase()
    
public  VectorgetAttachFilesFromDB()
    
public  VectorgetAttachFilesNameFromDB()
    
public  VectorgetAttachUrlsFromDB()
    
public  VectorgetAttachUrlsNameFromDB()
    
public  HashtablegetCopyOfParameterHashTableFromModel()
    
public  FilegetEnvScriptFromDB()
    
public  FilegetInitScriptFileFromDB()
    
public  ScriptWrappergetInitScriptFromDB()
    
public  ScriptgetInitScriptFromModel()
    
public  ParametergetParameterFromModel(String paramName)
    
public  StringgetParameterValue(String paramName)
    
public  StringgetParameterValueFromModel(Parameter param)
    
public  HashtablegetParametersHashTableFromModel()
    
public  VectorgetValuedParametersWrapperFromDB()
    
public static  booleanisInBase(Project pProject, String envName)
    
public  voidreloadBaseFromDB()
    
public  voidreloadDefParameterFromDB(Hashtable paramInModel)
    
public  voidreloadFromDB(boolean base, Hashtable paramInModel)
    
public  voidreloadScriptFromDB()
    
public  voidsetParametersHashTableInModel(Hashtable hashtable)
    
public  voidupdateInDB(String newName, String newDesc)
    
public  voidupdateInDBAndModel(String newName, String newDesc)
    
public  voidupdateInModel(String newName, String newDesc)
    
public  voidupdateParamValueInDB(Parameter param, String value)
    
public  voidupdateParamValueInDBAndModel(Parameter param, String value)
    
public  voidupdateParamValueInModel(Parameter param, String value)
    

Field Detail
initScript
protected Script initScript(Code)



pISQLConfig
static ISQLConfig pISQLConfig(Code)



pISQLEnvironment
static ISQLEnvironment pISQLEnvironment(Code)



pProject
protected Project pProject(Code)



parametersHashTable
protected Hashtable parametersHashTable(Code)




Constructor Detail
Environment
public Environment(String name, String description)(Code)



Environment
public Environment(EnvironmentWrapper pEnv)(Code)




Method Detail
addAttachFileInDB
void addAttachFileInDB(FileAttachment file) throws Exception(Code)



addAttachInDBAndModel
public void addAttachInDBAndModel(Attachment attach) throws Exception(Code)



addAttachUrlInDB
void addAttachUrlInDB(UrlAttachment url) throws Exception(Code)



addAttachementInDB
public void addAttachementInDB(Attachment attach) throws Exception(Code)
Attachements **************************



addInBddAndModel
void addInBddAndModel(Project pProject) throws Exception(Code)



addInDB
void addInDB(int idProject) throws Exception(Code)
Basic Operation ********************************



addInModel
void addInModel(Project pProject)(Code)



addParamValueInDBAndModel
public void addParamValueInDBAndModel(Parameter param, String value) throws Exception(Code)



addParameterValueInDB
public void addParameterValueInDB(Parameter param, String value) throws Exception(Code)



addParameterValueInDBModel
public void addParameterValueInDBModel(Parameter param, String value) throws Exception(Code)



addParameterValueInModel
public void addParameterValueInModel(Parameter param, String value)(Code)



addScriptInDB
void addScriptInDB(Script script, File file) throws Exception(Code)



addScriptInDBAndModel
public void addScriptInDBAndModel(Script script, File file) throws Exception(Code)



addScriptInModel
public void addScriptInModel(Script script)(Code)



containsParameterInModel
public boolean containsParameterInModel(Parameter param)(Code)



containsParameterInModel
public boolean containsParameterInModel(String paramName)(Code)



deleteAttachementInDB
public void deleteAttachementInDB(int attachId) throws Exception(Code)



deleteAttachementInDBAndModel
public void deleteAttachementInDBAndModel(Attachment attach) throws Exception(Code)



deleteDefParamInDB
public void deleteDefParamInDB(int paramId) throws Exception(Code)



deleteDefParamInDBAndModel
public void deleteDefParamInDBAndModel(Parameter param) throws Exception(Code)



deleteDefParameterInModel
public void deleteDefParameterInModel(Parameter param)(Code)



deleteDefParameterInModel
public void deleteDefParameterInModel(String paramName)(Code)



deleteInDB
public void deleteInDB() throws Exception(Code)



deleteInDBAndModel
public void deleteInDBAndModel() throws Exception(Code)



deleteInModel
public void deleteInModel()(Code)



deleteScriptInDB
public void deleteScriptInDB() throws Exception(Code)



deleteScriptInDBAndModel
public void deleteScriptInDBAndModel() throws Exception(Code)



deleteScriptInModel
public void deleteScriptInModel()(Code)



existeInBase
public boolean existeInBase() throws Exception(Code)



getAttachFilesFromDB
public Vector getAttachFilesFromDB() throws Exception(Code)
A vector of FileAttachementWrapper



getAttachFilesNameFromDB
public Vector getAttachFilesNameFromDB() throws Exception(Code)



getAttachUrlsFromDB
public Vector getAttachUrlsFromDB() throws Exception(Code)
A vector of UrlAttachementWrapper



getAttachUrlsNameFromDB
public Vector getAttachUrlsNameFromDB() throws Exception(Code)



getCopyOfParameterHashTableFromModel
public Hashtable getCopyOfParameterHashTableFromModel()(Code)



getEnvScriptFromDB
public File getEnvScriptFromDB() throws Exception(Code)



getInitScriptFileFromDB
public File getInitScriptFileFromDB() throws Exception(Code)



getInitScriptFromDB
public ScriptWrapper getInitScriptFromDB() throws Exception(Code)



getInitScriptFromModel
public Script getInitScriptFromModel()(Code)



getParameterFromModel
public Parameter getParameterFromModel(String paramName)(Code)



getParameterValue
public String getParameterValue(String paramName)(Code)



getParameterValueFromModel
public String getParameterValueFromModel(Parameter param)(Code)



getParametersHashTableFromModel
public Hashtable getParametersHashTableFromModel()(Code)



getValuedParametersWrapperFromDB
public Vector getValuedParametersWrapperFromDB() throws Exception(Code)



isInBase
public static boolean isInBase(Project pProject, String envName)(Code)



reloadBaseFromDB
public void reloadBaseFromDB() throws Exception(Code)



reloadDefParameterFromDB
public void reloadDefParameterFromDB(Hashtable paramInModel) throws Exception(Code)
paramInModel can be null if no object mapping with project params is need



reloadFromDB
public void reloadFromDB(boolean base, Hashtable paramInModel) throws Exception(Code)



reloadScriptFromDB
public void reloadScriptFromDB() throws Exception(Code)
Script ************************************



setParametersHashTableInModel
public void setParametersHashTableInModel(Hashtable hashtable)(Code)



updateInDB
public void updateInDB(String newName, String newDesc) throws Exception(Code)



updateInDBAndModel
public void updateInDBAndModel(String newName, String newDesc) throws Exception(Code)



updateInModel
public void updateInModel(String newName, String newDesc)(Code)



updateParamValueInDB
public void updateParamValueInDB(Parameter param, String value) throws Exception(Code)



updateParamValueInDBAndModel
public void updateParamValueInDBAndModel(Parameter param, String value) throws Exception(Code)



updateParamValueInModel
public void updateParamValueInModel(Parameter param, String value)(Code)



Fields inherited from org.objectweb.salome_tmf.data.WithAttachment
protected boolean doClearCache(Code)(Java Doc)

Methods inherited from org.objectweb.salome_tmf.data.WithAttachment
abstract public void addAttachementInDB(Attachment attach) throws Exception(Code)(Java Doc)
public void addAttachementInDBAndModel(Attachment attach) throws Exception(Code)(Java Doc)
public void addAttachementInModel(Attachment attach)(Code)(Java Doc)
public void addAttchmentInModel(String fileName, String value)(Code)(Java Doc)
public void addAttchmentInModel(File file)(Code)(Java Doc)
public void addAttchmentInModel(URL pUrl)(Code)(Java Doc)
public void clearAttachCache()(Code)(Java Doc)
protected void clearAttachInModel()(Code)(Java Doc)
public void clearCache()(Code)(Java Doc)
public boolean containsAttachmentInModel(String attachName)(Code)(Java Doc)
public boolean containsAttachmentInModel(Attachment attach)(Code)(Java Doc)
abstract protected void deleteAttachementInDB(int idAttach) throws Exception(Code)(Java Doc)
abstract public void deleteAttachementInDBAndModel(Attachment attach) throws Exception(Code)(Java Doc)
public void deleteAttachmentInModel(Attachment attach)(Code)(Java Doc)
abstract public Vector getAttachFilesFromDB() throws Exception(Code)(Java Doc)
abstract public Vector getAttachUrlsFromDB() throws Exception(Code)(Java Doc)
public Attachment getAttachmentFromModel(String attachName)(Code)(Java Doc)
public HashMap getAttachmentMapFromModel()(Code)(Java Doc)
public HashMap getCopyOfAttachmentMapFromModel()(Code)(Java Doc)
void loadAttachment()(Code)(Java Doc)
void loadAttachmentDataFromDB() throws Exception(Code)(Java Doc)
public FileAttachment makeFileAttachment(String fileName, String value) throws Exception(Code)(Java Doc)
public FileAttachment makeFileAttachment(File file)(Code)(Java Doc)
public UrlAttachment makeUrlAttchment(URL pUrl)(Code)(Java Doc)
public void reloadAttachmentDataFromDB(boolean force) throws Exception(Code)(Java Doc)
public void setAttachmentMapInModel(HashMap map)(Code)(Java Doc)
public FileAttachment takeScreenShot() throws Exception(Code)(Java Doc)
public void updateAttachement(HashMap oldAttachMap) throws Exception(Code)(Java Doc)

Fields inherited from org.objectweb.salome_tmf.data.SimpleData
protected String description(Code)(Java Doc)
protected int idBdd(Code)(Java Doc)
protected String name(Code)(Java Doc)

Methods inherited from org.objectweb.salome_tmf.data.SimpleData
abstract public void clearCache()(Code)(Java Doc)
abstract public boolean existeInBase() throws Exception(Code)(Java Doc)
public String getDescriptionFromModel()(Code)(Java Doc)
public int getIdBdd()(Code)(Java Doc)
public String getNameFromModel()(Code)(Java Doc)
public boolean isInBase()(Code)(Java Doc)
protected void setIdBdd(int id)(Code)(Java Doc)
protected void setNameInModel(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void updateDescriptionInModel(String description)(Code)(Java Doc)
abstract public void updateInDBAndModel(String name, String description) throws Exception(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.