public class WorkspaceSharingServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements WorkspaceSharingService
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
WorkspaceSharingServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<WorkspaceACL> |
getACLs() |
List<InfoContactModel> |
getAllContacts() |
FileModel |
getFileModelByWorkpaceItemId(String itemId) |
protected GWTWorkspaceSharingBuilder |
getGWTWorkspaceBuilder() |
List<InfoContactModel> |
getInfoContactModelsFromCredential(List<CredentialModel> listAlreadySharedContact) |
List<InfoContactModel> |
getListUserSharedByFolderSharedId(String folderSharedId) |
String |
getMyLogin() |
protected NotificationsProducer |
getNotificationProducer() |
InfoContactModel |
getOwnerByItemId(String itemId) |
protected ScopeUtilFilter |
getScopeUtilFilter() |
protected org.gcube.common.homelibrary.home.workspace.Workspace |
getWorkspace() |
boolean |
isSessionExpired() |
protected boolean |
isTestMode() |
void |
setACLs(String folderId,
List<String> listLogins,
String aclType) |
boolean |
shareFolder(FileModel folder,
List<InfoContactModel> listContacts,
boolean isNewFolder,
WorkspaceACL acl) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected GWTWorkspaceSharingBuilder getGWTWorkspaceBuilder()
protected org.gcube.common.homelibrary.home.workspace.Workspace getWorkspace() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.exceptions.HomeNotFoundException, org.gcube.common.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.HomeNotFoundException
org.gcube.common.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
protected NotificationsProducer getNotificationProducer()
protected ScopeUtilFilter getScopeUtilFilter()
protected boolean isTestMode()
public List<InfoContactModel> getAllContacts() throws Exception
getAllContacts
in interface WorkspaceSharingService
Exception
public List<InfoContactModel> getListUserSharedByFolderSharedId(String folderSharedId) throws Exception
getListUserSharedByFolderSharedId
in interface WorkspaceSharingService
Exception
public InfoContactModel getOwnerByItemId(String itemId) throws Exception
getOwnerByItemId
in interface WorkspaceSharingService
Exception
public List<WorkspaceACL> getACLs() throws Exception
getACLs
in interface WorkspaceSharingService
Exception
public String getMyLogin()
getMyLogin
in interface WorkspaceSharingService
public FileModel getFileModelByWorkpaceItemId(String itemId) throws Exception
getFileModelByWorkpaceItemId
in interface WorkspaceSharingService
Exception
public boolean isSessionExpired() throws Exception
isSessionExpired
in interface WorkspaceSharingService
Exception
public boolean shareFolder(FileModel folder, List<InfoContactModel> listContacts, boolean isNewFolder, WorkspaceACL acl) throws Exception
shareFolder
in interface WorkspaceSharingService
Exception
public void setACLs(String folderId, List<String> listLogins, String aclType) throws Exception
Exception
public List<InfoContactModel> getInfoContactModelsFromCredential(List<CredentialModel> listAlreadySharedContact) throws Exception
getInfoContactModelsFromCredential
in interface WorkspaceSharingService
Exception
Copyright © 2014. All Rights Reserved.