Class WorkspacesController


  • @Provider
    @Path("/workspaces")
    public class WorkspacesController
    extends Object
    • Constructor Detail

      • WorkspacesController

        public WorkspacesController()
    • Method Detail

      • getWorkspaces

        @GET
        @Path("")
        @Produces("application/json")
        public static javax.ws.rs.core.Response getWorkspaces​(@Context
                                                              javax.ws.rs.core.SecurityContext sec,
                                                              @Context
                                                              javax.servlet.ServletContext ctx)
      • createWorkspace

        @POST
        @Path("/")
        public static javax.ws.rs.core.Response createWorkspace​(@Context
                                                                javax.ws.rs.core.SecurityContext sec,
                                                                @Context
                                                                javax.servlet.ServletContext ctx)
      • createNewWorkspace0

        public static String createNewWorkspace0​(javax.servlet.ServletContext ctx,
                                                 de.narimo.commons.dto.geometa.User user,
                                                 boolean isDiffWorkspace)
                                          throws IOException,
                                                 SQLException
        Creates a workspace with a naming that is not yet taken. Does not yet set permissions on that new workspace.
        Parameters:
        ctx -
        user -
        Returns:
        Throws:
        IOException
        SQLException
      • getNewWorkspaceName

        public static String getNewWorkspaceName()