Class WorkspaceServiceImpl
Object
WorkspaceServiceImpl
- All Implemented Interfaces:
WorkspaceService
@Service("vWorkspaceService")
public class WorkspaceServiceImpl
extends Object
implements WorkspaceService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWorkspacebuscarPorId(Integer idWorkspace) List<ProjetoBpmn> buscarProjetos(Integer offset, Integer limit, Integer idWorkspace) List<Workspace> buscarTodos(int offset, int limit, String login) List<Workspace> buscarTodos(String login) getCountProjetos(Integer idWorkspace) voidinicializarWorkspace(String login) booleanisNomeProjetoValido(String nome, Integer idWorkspace) booleanisNomeWorkspaceValido(String nome, String login, Integer idWorkspace) voidvoidremoverProjeto(Integer idProjeto) voidsalvar(ProjetoBpmn projeto) voidsalvar(Workspace w) voidsetProjetoBpmnDao(ProjetoBpmnDao projetoBpmnDao) voidsetWorkspaceDao(WorkspaceDao workspaceDao)
-
Constructor Details
-
WorkspaceServiceImpl
public WorkspaceServiceImpl()
-
-
Method Details
-
setProjetoBpmnDao
-
setWorkspaceDao
-
inicializarWorkspace
- Specified by:
inicializarWorkspacein interfaceWorkspaceService
-
salvar
public void salvar(ProjetoBpmn projeto) - Specified by:
salvarin interfaceWorkspaceService
-
buscarTodos
- Specified by:
buscarTodosin interfaceWorkspaceService
-
buscarTodos
- Specified by:
buscarTodosin interfaceWorkspaceService
-
getCount
- Specified by:
getCountin interfaceWorkspaceService
-
remover
- Specified by:
removerin interfaceWorkspaceService- Throws:
WorkspaceException
-
getCountProjetos
- Specified by:
getCountProjetosin interfaceWorkspaceService
-
buscarProjetos
- Specified by:
buscarProjetosin interfaceWorkspaceService
-
salvar
public void salvar(Workspace w) - Specified by:
salvarin interfaceWorkspaceService
-
removerProjeto
@Transactional(propagation=REQUIRED) public void removerProjeto(Integer idProjeto) throws WorkspaceException - Specified by:
removerProjetoin interfaceWorkspaceService- Throws:
WorkspaceException
-
buscarPorId
- Specified by:
buscarPorIdin interfaceWorkspaceService
-
isNomeWorkspaceValido
- Specified by:
isNomeWorkspaceValidoin interfaceWorkspaceService
-
isNomeProjetoValido
- Specified by:
isNomeProjetoValidoin interfaceWorkspaceService
-