@Singleton public class ProjectServiceImpl extends Object implements ProjectService
| Constructor and Description |
|---|
ProjectServiceImpl() |
ProjectServiceImpl(StatusService statusService,
TaskService taskService,
DAOHandler daoHandler) |
public ProjectServiceImpl()
public ProjectServiceImpl(StatusService statusService, TaskService taskService, DAOHandler daoHandler)
public Project createDefaultStatusProjectWithManager(String name, String description, Long parentId, String username) throws ProjectNotFoundException
createDefaultStatusProjectWithManager in interface ProjectServiceProjectNotFoundExceptionpublic Project createDefaultStatusProjectWithAttributes(Long parentId, String name, String description, Set<String> managers, Set<String> participators) throws ProjectNotFoundException
createDefaultStatusProjectWithAttributes in interface ProjectServiceProjectNotFoundExceptionpublic Project createDefaultStatusProject(Project project)
createDefaultStatusProject in interface ProjectServicepublic Project createProject(Project project)
createProject in interface ProjectServicepublic Project updateProjectInfo(long id, String param, String[] values) throws ProjectNotFoundException, ParameterEntityException
updateProjectInfo in interface ProjectServiceProjectNotFoundExceptionParameterEntityExceptionpublic void deleteProjectById(long id,
boolean deleteChild)
throws ProjectNotFoundException
deleteProjectById in interface ProjectServiceProjectNotFoundExceptionpublic void deleteProject(Project project, boolean deleteChild)
deleteProject in interface ProjectServicepublic Project cloneProjectById(long id, boolean cloneTask) throws ProjectNotFoundException
cloneProjectById in interface ProjectServiceProjectNotFoundExceptionpublic Project getProjectById(Long id) throws ProjectNotFoundException
getProjectById in interface ProjectServiceProjectNotFoundExceptionpublic Task createTaskToProjectId(long id, Task task) throws ProjectNotFoundException
createTaskToProjectId in interface ProjectServiceProjectNotFoundExceptionpublic List<Task> getTasksByProjectId(List<Long> ids, OrderBy orderBy)
getTasksByProjectId in interface ProjectServicepublic List<Task> getTasksWithKeywordByProjectId(List<Long> ids, OrderBy orderBy, String keyword)
getTasksWithKeywordByProjectId in interface ProjectServicepublic Project removePermissionFromProjectId(Long id, String permission, String type) throws ProjectNotFoundException, NotAllowedOperationOnEntityException
removePermissionFromProjectId in interface ProjectServiceProjectNotFoundExceptionNotAllowedOperationOnEntityExceptionpublic Project addPermissionsFromProjectId(Long id, String permissions, String type) throws ProjectNotFoundException, NotAllowedOperationOnEntityException
addPermissionsFromProjectId in interface ProjectServiceProjectNotFoundExceptionNotAllowedOperationOnEntityExceptionpublic List<Project> getProjectTreeByMembership(List<String> memberships)
getProjectTreeByMembership in interface ProjectServicepublic List<Project> findProjectByKeyWord(org.exoplatform.services.security.Identity identity, String keyword, OrderBy order)
findProjectByKeyWord in interface ProjectServiceCopyright © 2003–2015 eXo Platform SAS. All rights reserved.