public class WorkspaceWorker
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
| Modifier and Type | Field and Description |
|---|---|
int |
autoId |
String |
USERNAME_ATTRIBUTE |
| Constructor and Description |
|---|
WorkspaceWorker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAdminCase(List<String> roles) |
FolderDto |
createTree(org.gcube.common.homelibrary.home.workspace.WorkspaceFolder root,
String workspaceWebDavLink) |
String |
fixPath(String workspaceWebDavLink,
String path) |
org.gcube.application.framework.core.session.ASLSession |
getASLSession(javax.servlet.http.HttpSession httpSession) |
void |
getAttributes(javax.servlet.http.HttpServletRequest localRequest) |
String |
getUserAndScopeAndRole(javax.servlet.http.HttpServletRequest localRequest) |
List<String> |
getUserRolesByGroup(org.gcube.application.framework.core.session.ASLSession aslSession) |
String |
getWorkspace(javax.servlet.http.HttpServletRequest localRequest) |
org.gcube.common.homelibrary.home.workspace.Workspace |
getWorkspaceWithoutSerialization(javax.servlet.http.HttpServletRequest localRequest) |
FolderDto |
makeFolder(String name,
String idInWorkspace) |
void |
printFolder(FolderDto folder,
int indent) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic final String USERNAME_ATTRIBUTE
public int autoId
public org.gcube.application.framework.core.session.ASLSession getASLSession(javax.servlet.http.HttpSession httpSession)
public String getUserAndScopeAndRole(javax.servlet.http.HttpServletRequest localRequest)
public List<String> getUserRolesByGroup(org.gcube.application.framework.core.session.ASLSession aslSession)
public String getWorkspace(javax.servlet.http.HttpServletRequest localRequest)
public org.gcube.common.homelibrary.home.workspace.Workspace getWorkspaceWithoutSerialization(javax.servlet.http.HttpServletRequest localRequest)
public FolderDto createTree(org.gcube.common.homelibrary.home.workspace.WorkspaceFolder root, String workspaceWebDavLink) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void printFolder(FolderDto folder, int indent)
public void getAttributes(javax.servlet.http.HttpServletRequest localRequest)
Copyright © 2015. All Rights Reserved.