git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@92611 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
043b9d44f2
commit
3992036db5
|
@ -37,19 +37,11 @@ public class WorkspaceSharingController {
|
|||
private DialogShareWItem sharingDialog = null;
|
||||
|
||||
|
||||
// /**
|
||||
// * This dialog doesn't show setting permissions, it use default server permissions
|
||||
// * @param workspace itemId to share
|
||||
// */
|
||||
// public WorkspaceSharingController(String itemId) {
|
||||
// }
|
||||
//
|
||||
|
||||
/**
|
||||
* This dialog show setting permissions
|
||||
* This controller instancing sharing dialog
|
||||
* @param itemId workace item id
|
||||
* @param shareOnlyOwner if true, only owner can share
|
||||
* @param defaultPermission ACL_TYPE default permission
|
||||
* @param if true, only owner can share, otherwise an alert with an error message is displayed
|
||||
* @param defaultPermission ACL_TYPE default permission, if is null default ACL_TYPE is loaded from server
|
||||
*/
|
||||
public WorkspaceSharingController(String itemId, boolean shareOnlyOwner, ACL_TYPE defaultPermission) {
|
||||
this.workspaceItemId = itemId;
|
||||
|
|
|
@ -36,7 +36,7 @@ public class WorkspaceSmartSharingController {
|
|||
|
||||
/**
|
||||
*
|
||||
* @param file a fake file (used to display name of the file or folder)
|
||||
* @param file a fake file (used to display name of the file or folder) to display the field name
|
||||
* @param listAlreadySharedContact
|
||||
*/
|
||||
public WorkspaceSmartSharingController(FileModel file, List<CredentialModel> listAlreadySharedContact) {
|
||||
|
|
Loading…
Reference in New Issue