Class WorkspaceProviderImpl

    • Constructor Detail

      • WorkspaceProviderImpl

        public WorkspaceProviderImpl​(ProjectImpl project)
    • Method Detail

      • newWorkspace

        protected WorkspaceImpl newWorkspace​(int id)
      • removeWorkspace

        protected void removeWorkspace​(Workspace workspace)
      • getPrecedingWorkspace

        protected Workspace getPrecedingWorkspace​(Workspace workspace)
      • purge

        protected void purge()
      • setCurrentWorkspace

        protected void setCurrentWorkspace​(Workspace currentWorkspace)
      • getWorkspace

        public Workspace getWorkspace​(int id)
        Description copied from interface: WorkspaceProvider
        Retrieve a workspace based on its unique identifier.
        Specified by:
        getWorkspace in interface WorkspaceProvider
        Parameters:
        id - workspace's unique identifier
        Returns:
        found workspace or null if not found
      • hasCurrentWorkspace

        public boolean hasCurrentWorkspace()
        Description copied from interface: WorkspaceProvider
        Returns true if the project has a current workspace.
        Specified by:
        hasCurrentWorkspace in interface WorkspaceProvider
        Returns:
        true if has a current workspace, false otherwise