Java Doc for ScriptRunner.java in  » Project-Management » OpenProj » com » projity » script » 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 » Project Management » OpenProj » com.projity.script 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.projity.script.ScriptRunner

ScriptRunner
public interface ScriptRunner (Code)
Will be subclassed for client and server (ajax) versions This will be used for: AJAX communication to server Real-time collaboration and later on as an API (with the advantage of being a sandbox - only can access this package Macros Logging Journaling Possibly using journaling as a way of saving projects instead of sending all data? Should this be tied to undo? And wrapped by bsh or groovy for formulas and filters Need to add exception handling where needed


Field Summary
final public static  intASSIGNMENT
    
final public static  longPORTFOLIO_PROJECT_ID
    
final public static  intPROJECT
    
final public static  intPROJECT_DESCRIPTOR
    
final public static  intPROJECT_DESCRIPTOR_AS_TASK
    
final public static  intRESOURCE
    
final public static  longRESOURCE_ASSIGNMENT_PROJECT_ID
    
final public static  intRESOURCE_AS_TASK
    
final public static  intRESOURCE_USAGE
    
final public static  longRESOURCE_USAGE_PROJECT_ID
    
final public static  intTASK
    
final public static  intUSER
    


Method Summary
public  voidcloseProject(long projectId)
    
public  voidcloseProject(Long ids)
    
public  LiteProjectcreateProject(String name)
    
public  List<LiteResource>getChildrenResource(long projectId, long id)
    
public  List<LiteTask>getChildrenTasks(long projectId, long id)
    
public  List<LiteField>getFieldArray(int type, String id)
    
public  List<String>getFieldArrays(long projectId, int type)
    
public  List<LiteField>getFields(long projectId, int type)
    
public  LiteProjectgetProject(long projectId)
     Returns all the tasks of a project.
public  ListgetProjectDescriptors()
    
public  ReportDatagetReport(String reportId, String fieldArrayId)
    
public  LiteResourcegetResource(long projectId, long id)
    
public  LiteTaskgetTask(long projectId, long id)
    
public  ListgetUsers()
    
public  LiteProjectindent(long projectId, Long ids)
    
public  LiteProjectinsertBefore(long projectId, int type, long previousId, boolean returnChanges)
    
public  LiteProjectlink(long projectId, Long ids, int type)
    
public  LiteProjectoutdent(long projectId, Long ids)
    
public  List<Long>remove(long projectId, int type, long id, boolean returnRemovedIds)
    
public  voidsaveProject(long projectId)
    
public  voidsaveProjectAs(long projectId, String name)
    
public  LiteProjectsetCompleted(long projectId, long id, long completed, boolean returnChanges)
    
public  voidsetFieldArray(long projectId, int type, String fieldArrayId)
    
public  LiteProjectsetInterval(long projectId, long id, long newStart, long newEnd, long oldStart, long oldEnd, boolean returnChanges)
    
public  LiteProjectsetValue(long projectId, String fieldId, int type, long id, String value, boolean returnChanges)
    
public  ObjecttranslateWindow(long projectId, int amount, float center, boolean returnChange)
    
public  LiteProjectunlink(long projectId, Long ids)
    
public  ObjectzoomTimeScale(long projectId, int amount, float center, boolean returnChange)
    

Field Detail
ASSIGNMENT
final public static int ASSIGNMENT(Code)



PORTFOLIO_PROJECT_ID
final public static long PORTFOLIO_PROJECT_ID(Code)



PROJECT
final public static int PROJECT(Code)



PROJECT_DESCRIPTOR
final public static int PROJECT_DESCRIPTOR(Code)



PROJECT_DESCRIPTOR_AS_TASK
final public static int PROJECT_DESCRIPTOR_AS_TASK(Code)



RESOURCE
final public static int RESOURCE(Code)



RESOURCE_ASSIGNMENT_PROJECT_ID
final public static long RESOURCE_ASSIGNMENT_PROJECT_ID(Code)



RESOURCE_AS_TASK
final public static int RESOURCE_AS_TASK(Code)



RESOURCE_USAGE
final public static int RESOURCE_USAGE(Code)



RESOURCE_USAGE_PROJECT_ID
final public static long RESOURCE_USAGE_PROJECT_ID(Code)



TASK
final public static int TASK(Code)



USER
final public static int USER(Code)





Method Detail
closeProject
public void closeProject(long projectId) throws Exception(Code)



closeProject
public void closeProject(Long ids) throws Exception(Code)



createProject
public LiteProject createProject(String name) throws Exception(Code)



getChildrenResource
public List<LiteResource> getChildrenResource(long projectId, long id) throws Exception(Code)



getChildrenTasks
public List<LiteTask> getChildrenTasks(long projectId, long id) throws Exception(Code)



getFieldArray
public List<LiteField> getFieldArray(int type, String id) throws Exception(Code)



getFieldArrays
public List<String> getFieldArrays(long projectId, int type) throws Exception(Code)



getFields
public List<LiteField> getFields(long projectId, int type) throws Exception(Code)



getProject
public LiteProject getProject(long projectId) throws Exception(Code)
Returns all the tasks of a project. Opens the project if it's not already opened
Parameters:
  projectId - the content of the project



getProjectDescriptors
public List getProjectDescriptors()(Code)



getReport
public ReportData getReport(String reportId, String fieldArrayId)(Code)



getResource
public LiteResource getResource(long projectId, long id) throws Exception(Code)



getTask
public LiteTask getTask(long projectId, long id) throws Exception(Code)



getUsers
public List getUsers()(Code)



indent
public LiteProject indent(long projectId, Long ids) throws Exception(Code)



insertBefore
public LiteProject insertBefore(long projectId, int type, long previousId, boolean returnChanges) throws Exception(Code)

Parameters:
  projectId -
Parameters:
  type -
Parameters:
  previousId -
Parameters:
  returnChanges - a project with the new task only if returnChanges is true
throws:
  Exception -



link
public LiteProject link(long projectId, Long ids, int type) throws Exception(Code)



outdent
public LiteProject outdent(long projectId, Long ids) throws Exception(Code)



remove
public List<Long> remove(long projectId, int type, long id, boolean returnRemovedIds) throws Exception(Code)



saveProject
public void saveProject(long projectId) throws Exception(Code)



saveProjectAs
public void saveProjectAs(long projectId, String name) throws Exception(Code)



setCompleted
public LiteProject setCompleted(long projectId, long id, long completed, boolean returnChanges) throws Exception(Code)



setFieldArray
public void setFieldArray(long projectId, int type, String fieldArrayId) throws Exception(Code)



setInterval
public LiteProject setInterval(long projectId, long id, long newStart, long newEnd, long oldStart, long oldEnd, boolean returnChanges) throws Exception(Code)



setValue
public LiteProject setValue(long projectId, String fieldId, int type, long id, String value, boolean returnChanges) throws Exception(Code)



translateWindow
public Object translateWindow(long projectId, int amount, float center, boolean returnChange) throws Exception(Code)



unlink
public LiteProject unlink(long projectId, Long ids) throws Exception(Code)



zoomTimeScale
public Object zoomTimeScale(long projectId, int amount, float center, boolean returnChange) throws Exception(Code)



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