Interface IWorkspace

  • All Known Implementing Classes:
    EntityWorkspace

    public interface IWorkspace
    Workspace object groups, submission, jobs, results. Is top level access to all database objects
    • Method Detail

      • createJob

        IJob createJob()
        Creates a new job instance
        Returns:
        the new job
      • getFiles

        java.util.List<ISourceFile> getFiles()
        Returns:
        the list of files currently associated with the workspace
      • getSubmissions

        java.util.List<ISubmission> getSubmissions()
        Returns:
        the list of submissions to the workspace
      • getJobs

        java.util.List<IJob> getJobs()
        Returns:
        list of job history
      • getLanguage

        java.lang.String getLanguage()
        Returns:
        the language for the workspace
      • setLanguage

        void setLanguage​(java.lang.String lang)
        Parameters:
        lang - set the workspace to use this language
      • getName

        java.lang.String getName()
        Returns:
        the name of the workspace
      • setName

        void setName​(java.lang.String name)
        Parameters:
        name - set the workspace name to this
      • getPersistentId

        long getPersistentId()
        Returns:
        the unique id for the workspace
      • remove

        void remove()
        Remove the workspace, and all of the files and results associated, cannot be undone