ref 13226:StorageHub - Update workspace-sharing-widget to SH
https://support.d4science.org/issues/13226 Updated to StorageHub git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@177225 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
82d1c2d772
commit
8f0361983b
|
@ -28,6 +28,8 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
|
|||
import org.gcube.portlets.user.workspace.shared.WorkspaceUserQuote;
|
||||
import org.gcube.portlets.user.workspace.shared.WorkspaceVersioningOperation;
|
||||
import org.gcube.portlets.user.workspace.shared.accounting.GxtAccountingField;
|
||||
import org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel;
|
||||
import org.gcube.portlets.widgets.workspacesharingwidget.shared.WorkspaceACL;
|
||||
|
||||
import com.google.gwt.user.client.rpc.RemoteService;
|
||||
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
||||
|
@ -350,73 +352,9 @@ public interface GWTWorkspaceService extends RemoteService {
|
|||
*/
|
||||
public GWTWorkspaceItem getTimeSeriesById(String identifier) throws Exception;
|
||||
|
||||
|
||||
/**
|
||||
<<<<<<< .mine
|
||||
||||||| .r176880
|
||||
* Share folder.
|
||||
*
|
||||
* @param folder the folder
|
||||
* @param listContacts the list contacts
|
||||
* @param isNewFolder the is new folder
|
||||
* @param acl the acl
|
||||
* @return true, if successful
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
boolean shareFolder(FileModel folder, List<InfoContactModel> listContacts,
|
||||
boolean isNewFolder, WorkspaceACL acl) throws Exception;
|
||||
|
||||
/**
|
||||
* Gets the list user shared by folder shared id.
|
||||
*
|
||||
* @param itemId the item id
|
||||
* @return the list user shared by folder shared id
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
public List<InfoContactModel> getListUserSharedByFolderSharedId(String itemId) throws Exception;
|
||||
|
||||
/**
|
||||
* Un shared folder by folder shared id.
|
||||
*
|
||||
* @param folderSharedId the folder shared id
|
||||
* @return true, if successful
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
public boolean unSharedFolderByFolderSharedId(String folderSharedId) throws Exception;
|
||||
|
||||
/**
|
||||
=======
|
||||
* Share folder.
|
||||
*
|
||||
* @param folder the folder
|
||||
* @param listContacts the list contacts
|
||||
* @param isNewFolder the is new folder
|
||||
* @param acl the acl
|
||||
* @return true, if successful
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
FileModel shareFolder(FileModel folder, List<InfoContactModel> listContacts,
|
||||
boolean isNewFolder, WorkspaceACL acl) throws Exception;
|
||||
|
||||
/**
|
||||
* Gets the list user shared by folder shared id.
|
||||
*
|
||||
* @param itemId the item id
|
||||
* @return the list user shared by folder shared id
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
public List<InfoContactModel> getListUserSharedByFolderSharedId(String itemId) throws Exception;
|
||||
|
||||
/**
|
||||
* Un shared folder by folder shared id.
|
||||
*
|
||||
* @param folderSharedId the folder shared id
|
||||
* @return true, if successful
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
public boolean unSharedFolderByFolderSharedId(String folderSharedId) throws Exception;
|
||||
|
||||
/**
|
||||
>>>>>>> .r177215
|
||||
* Gets the list parents by item identifier.
|
||||
*
|
||||
* @param itemIdentifier
|
||||
|
|
|
@ -308,68 +308,9 @@ public interface GWTWorkspaceServiceAsync {
|
|||
*/
|
||||
void getTimeSeriesById(String identifier, AsyncCallback<GWTWorkspaceItem> callback);
|
||||
|
||||
<<<<<<< .mine
|
||||
/**
|
||||
||||||| .r176880
|
||||
/**
|
||||
* Share folder.
|
||||
*
|
||||
* @param folder the folder
|
||||
* @param listContacts the list contacts
|
||||
* @param isNewFolder the is new folder
|
||||
* @param acl the acl
|
||||
* @param callback the callback
|
||||
*/
|
||||
void shareFolder(FileModel folder, List<InfoContactModel> listContacts,
|
||||
boolean isNewFolder, WorkspaceACL acl,
|
||||
AsyncCallback<Boolean> callback);
|
||||
|
||||
|
||||
/**
|
||||
* Gets the list user shared by folder shared id.
|
||||
*
|
||||
* @param itemId the item id
|
||||
* @param callback the callback
|
||||
* @return the list user shared by folder shared id
|
||||
*/
|
||||
void getListUserSharedByFolderSharedId(String itemId,
|
||||
AsyncCallback<List<InfoContactModel>> callback);
|
||||
|
||||
/**
|
||||
* Un shared folder by folder shared id.
|
||||
*
|
||||
* @param folderSharedId the folder shared id
|
||||
* @param callback the callback
|
||||
*/
|
||||
void unSharedFolderByFolderSharedId(String folderSharedId,
|
||||
AsyncCallback<Boolean> callback);
|
||||
|
||||
/**
|
||||
=======
|
||||
void shareFolder(
|
||||
FileModel folder, List<InfoContactModel> listContacts,
|
||||
boolean isNewFolder, WorkspaceACL acl, AsyncCallback<FileModel> callback);
|
||||
|
||||
/**
|
||||
* Gets the list user shared by folder shared id.
|
||||
*
|
||||
* @param itemId the item id
|
||||
* @param callback the callback
|
||||
* @return the list user shared by folder shared id
|
||||
*/
|
||||
void getListUserSharedByFolderSharedId(String itemId,
|
||||
AsyncCallback<List<InfoContactModel>> callback);
|
||||
|
||||
/**
|
||||
* Un shared folder by folder shared id.
|
||||
*
|
||||
* @param folderSharedId the folder shared id
|
||||
* @param callback the callback
|
||||
*/
|
||||
void unSharedFolderByFolderSharedId(String folderSharedId,
|
||||
AsyncCallback<Boolean> callback);
|
||||
|
||||
/**
|
||||
>>>>>>> .r177215
|
||||
* Gets the list parents by item identifier.
|
||||
*
|
||||
* @param itemIdentifier
|
||||
|
|
Loading…
Reference in New Issue