Java Doc for ProjectServiceImpl.java in  » Project-Management » EmForce » org » emforge » projectmanager » impl » 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 » EmForce » org.emforge.projectmanager.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.emforge.projectmanager.impl.ProjectServiceImpl

ProjectServiceImpl
public class ProjectServiceImpl implements ProjectService,InitializingBean(Code)
Implementation of Project Service


Field Summary
final protected  Loglogger
    
 MilestoneDAOm_milestoneDao
    
 ProjectDAOm_projectDao
    
 UserDaom_userDao
    
 UserFactorym_userFactory
    


Method Summary
public  voidaddUser(ProjectDO i_project, UserDetails i_user, Role i_role)
    
public  voidafterPropertiesSet()
    
public  booleancanChangeMilestone(MilestoneDO i_milestone)
    
public  booleancanChangeProject(ProjectDO i_project)
    
public  booleancanCreateMilestone(ProjectDO i_project)
    
public  booleancanCreateProject()
    
public  booleancanDeleteMilestone(MilestoneDO i_milestone)
    
public  booleancanDeleteProject(ProjectDO i_project)
    
public  booleancanGetMilestone(Long i_milestoneId)
    
public  booleancanGetMilestone(String i_name)
    
public  booleancanGetMilestones(ProjectDO i_project)
    
public  booleancanGetProject(Long i_projectId)
    
public  booleancanGetProject(String i_projectWikiName)
    
public  voiddeleteMilestone(MilestoneDO i_milestone)
    
public  voiddeleteProject(ProjectDO i_project)
    
public  voiddeleteUserRole(ProjectDO i_project, UserDetails i_user, Role i_role)
    
public  Collection<EmForgeUserDetails>getAllProjectUsers(ProjectDO i_project)
    
public  Collection<ProjectDO>getAllProjects()
    
public  Collection<Role>getAvialableRoles(ProjectDO i_project)
    
public  Collection<MilestoneDO>getClosedMilestones(ProjectDO i_project)
    
public  MilestoneDOgetMilestone(Long i_milestoneId)
    
public  MilestoneDOgetMilestone(String i_name)
    
public  Collection<MilestoneDO>getMilestones(ProjectDO i_project)
    
public  Collection<MilestoneDO>getOpenedMilestones(ProjectDO i_project)
    
public  ProjectDOgetProject(Long i_projectId)
    
public  ProjectDOgetProject(String i_projectWikiName)
    
public  Collection<EmForgeUserDetails>getUsers(ProjectDO i_project, String i_roleName)
    
public  Collection<EmForgeUserDetails>getUsers(ProjectDO i_project, Role i_role)
    
public  booleanhasRole(ProjectDO i_project, UserDetails i_user, Role i_role)
    
public  booleanhasRole(ProjectDO i_project, UserDetails i_user, String i_role)
    
protected  booleanhasRole(ProjectDO i_project, String i_roleName)
    
protected  voidinitData()
    
protected  voidinitDefaultProjectRoles()
    
public  voidinitProjectRoles(ProjectDO project)
    
protected  voidinitializeProjectRoleEmail(Role role, ProjectDO project)
    
protected  voidinitializeRole(String i_roleName, String i_roleDisplayName)
    
public  voidsaveMilestone(MilestoneDO i_milestone)
    
public  voidsaveProject(ProjectDO i_project)
    
public  voidsetMilestoneDao(MilestoneDAO i_milestoneDao)
    
public  voidsetProjectDao(ProjectDAO i_projectDao)
    
public  voidsetUserDao(UserDao i_userDao)
    
public  voidsetUserFactory(UserFactory i_userFactory)
    

Field Detail
logger
final protected Log logger(Code)



m_milestoneDao
MilestoneDAO m_milestoneDao(Code)



m_projectDao
ProjectDAO m_projectDao(Code)



m_userDao
UserDao m_userDao(Code)



m_userFactory
UserFactory m_userFactory(Code)





Method Detail
addUser
public void addUser(ProjectDO i_project, UserDetails i_user, Role i_role) throws AccessDeniedException, ProjectServiceException(Code)
Add User into Project with specified Role



afterPropertiesSet
public void afterPropertiesSet() throws Exception(Code)

See Also:   org.springframework.beans.factory.InitializingBean.afterPropertiesSet



canChangeMilestone
public boolean canChangeMilestone(MilestoneDO i_milestone)(Code)

See Also:   org.emforge.projectmanager.ProjectService.canChangeMilestone(org.emforge.projectmanager.base.Milestone)



canChangeProject
public boolean canChangeProject(ProjectDO i_project)(Code)
Is current user allowed to change project? Only Project Administrators may change project



canCreateMilestone
public boolean canCreateMilestone(ProjectDO i_project)(Code)
Is current user allowed to create milestone?



canCreateProject
public boolean canCreateProject()(Code)
Is user allowed to create new project? Only site admins allowed to create new projects



canDeleteMilestone
public boolean canDeleteMilestone(MilestoneDO i_milestone)(Code)

See Also:   org.emforge.projectmanager.ProjectService.canDeleteMilestone(org.emforge.projectmanager.base.Milestone)



canDeleteProject
public boolean canDeleteProject(ProjectDO i_project)(Code)
Is current user allowed to delete project? Only Site Administrators may delete project



canGetMilestone
public boolean canGetMilestone(Long i_milestoneId)(Code)

See Also:   org.emforge.projectmanager.ProjectService.canGetMilestone(java.lang.Long)



canGetMilestone
public boolean canGetMilestone(String i_name)(Code)

See Also:   org.emforge.projectmanager.ProjectService.canGetMilestone(java.lang.String)



canGetMilestones
public boolean canGetMilestones(ProjectDO i_project)(Code)

See Also:   org.emforge.projectmanager.ProjectService.canGetMilestones(org.emforge.projectmanager.base.Project)



canGetProject
public boolean canGetProject(Long i_projectId)(Code)
Currently everybody get get any project



canGetProject
public boolean canGetProject(String i_projectWikiName)(Code)
Currently everybody get get any project



deleteMilestone
public void deleteMilestone(MilestoneDO i_milestone) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.deleteMilestone(org.emforge.projectmanager.base.Milestone)



deleteProject
public void deleteProject(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.deleteProject(org.emforge.projectmanager.base.Project)



deleteUserRole
public void deleteUserRole(ProjectDO i_project, UserDetails i_user, Role i_role) throws AccessDeniedException, ProjectServiceException(Code)
Delete User's Role from Project



getAllProjectUsers
public Collection<EmForgeUserDetails> getAllProjectUsers(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getAllProjectUsers(org.emforge.projectmanager.base.Project)



getAllProjects
public Collection<ProjectDO> getAllProjects() throws AccessDeniedException, ProjectServiceException(Code)
Get all projects avialable for current user



getAvialableRoles
public Collection<Role> getAvialableRoles(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)
Returns Avialable Roles for specified Project
Parameters:
  i_project -



getClosedMilestones
public Collection<MilestoneDO> getClosedMilestones(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getClosedMilestones(org.emforge.projectmanager.base.Project)



getMilestone
public MilestoneDO getMilestone(Long i_milestoneId) throws AccessDeniedException, ProjectServiceException(Code)



getMilestone
public MilestoneDO getMilestone(String i_name) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getMilestone(java.lang.String)



getMilestones
public Collection<MilestoneDO> getMilestones(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getMilestones(org.emforge.projectmanager.base.Project)



getOpenedMilestones
public Collection<MilestoneDO> getOpenedMilestones(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getOpenedMilestones(org.emforge.projectmanager.base.Project)



getProject
public ProjectDO getProject(Long i_projectId) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getProject(java.lang.Long)



getProject
public ProjectDO getProject(String i_projectWikiName) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.getProject(java.lang.String)



getUsers
public Collection<EmForgeUserDetails> getUsers(ProjectDO i_project, String i_roleName) throws AccessDeniedException, ProjectServiceException(Code)
Returns Users with specified role
See Also:   org.emforge.projectmanager.ProjectService.getUsers(org.emforge.projectmanager.base.Projectjava.lang.String)



getUsers
public Collection<EmForgeUserDetails> getUsers(ProjectDO i_project, Role i_role) throws AccessDeniedException, ProjectServiceException(Code)
Returns Users with specified role
See Also:   org.emforge.projectmanager.ProjectService.getUsers(org.emforge.projectmanager.base.Projectru.emdev.EmForge.security.dao.Role)



hasRole
public boolean hasRole(ProjectDO i_project, UserDetails i_user, Role i_role) throws AccessDeniedException, ProjectServiceException(Code)
Returns true - if specified user has specified role in project



hasRole
public boolean hasRole(ProjectDO i_project, UserDetails i_user, String i_role) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.hasRole(org.emforge.projectmanager.base.Projectorg.acegisecurity.userdetails.UserDetailsjava.lang.String)



hasRole
protected boolean hasRole(ProjectDO i_project, String i_roleName)(Code)

Parameters:
  i_project -
Parameters:
  i_roleName -



initData
protected void initData()(Code)
Initialize default data (default project roles)



initDefaultProjectRoles
protected void initDefaultProjectRoles()(Code)
Initialize Default Project Roles



initProjectRoles
public void initProjectRoles(ProjectDO project)(Code)
public for migrating needs
Parameters:
  project -



initializeProjectRoleEmail
protected void initializeProjectRoleEmail(Role role, ProjectDO project)(Code)
Initialize Role with specified name and display name
Parameters:
  i_roleName -
Parameters:
  i_roleDisplayName -



initializeRole
protected void initializeRole(String i_roleName, String i_roleDisplayName)(Code)

Parameters:
  i_roleName -
Parameters:
  i_roleDisplayName -



saveMilestone
public void saveMilestone(MilestoneDO i_milestone) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.saveMilestone(org.emforge.projectmanager.base.Milestone)



saveProject
public void saveProject(ProjectDO i_project) throws AccessDeniedException, ProjectServiceException(Code)

See Also:   org.emforge.projectmanager.ProjectService.saveProject(org.emforge.projectmanager.base.Project)



setMilestoneDao
public void setMilestoneDao(MilestoneDAO i_milestoneDao)(Code)

Parameters:
  i_milestoneDao -



setProjectDao
public void setProjectDao(ProjectDAO i_projectDao)(Code)

Parameters:
  i_projectDao -



setUserDao
public void setUserDao(UserDao i_userDao)(Code)

Parameters:
  i_userDao -



setUserFactory
public void setUserFactory(UserFactory i_userFactory)(Code)

Parameters:
  i_userFactory -



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.