public class PermissionData extends Object
Permissions instance.| Constructor and Description | 
|---|
| PermissionData()Creates a new instance. | 
| PermissionData(omero.model.Permissions permissions)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getPermissionsLevel()Returns the permissions level. | 
| boolean | isGroupAnnotate()Returns  true if the group has annotate access i.e. | 
| boolean | isGroupRead()Returns  true if the group has read access
 i.e. | 
| boolean | isGroupWrite()Returns  true if the group has write access i.e. | 
| boolean | isUserRead()Returns  true if the user has read access,falseotherwise. | 
| boolean | isUserWrite()Returns  true if the user has write access,falseotherwise. | 
| boolean | isWorldRead()Returns  true if the world has read access,falseotherwise. | 
| boolean | isWorldWrite()Returns  true if the world has write access,falseotherwise. | 
| void | setGroupAnnotate(boolean groupAnnotate)Sets to  trueif the group has annotate access,falseotherwise. | 
| void | setGroupRead(boolean groupRead)Sets to  trueif the group has read access,falseotherwise. | 
| void | setGroupWrite(boolean groupWrite)Sets to  trueif the group has write access,falseotherwise. | 
| void | setUserRead(boolean userRead)Sets to  trueif the user has read access,falseotherwise. | 
| void | setUserWrite(boolean userWrite)Sets to  trueif the user has write access,falseotherwise. | 
| void | setWorldRead(boolean worldRead)Sets to  trueif the world has read access,falseotherwise. | 
| void | setWorldWrite(boolean worldWrite)Sets to  trueif the world has write access,falseotherwise. | 
public PermissionData()
public PermissionData(omero.model.Permissions permissions)
permissions - The value to set.public int getPermissionsLevel()
public boolean isGroupRead()
true  if the group has read access
 i.e. RWR---, false otherwise.public boolean isGroupAnnotate()
true  if the group has annotate access i.e.
 RWRA--, false otherwise.public boolean isGroupWrite()
true  if the group has write access i.e.
 RWRW--, false otherwise.public boolean isUserRead()
true  if the user has read access,
 false otherwise.public boolean isUserWrite()
true  if the user has write access,
 false otherwise.public boolean isWorldRead()
true  if the world has read access,
 false otherwise.public boolean isWorldWrite()
true  if the world has write access,
 false otherwise.public void setGroupRead(boolean groupRead)
true if the group has read access,
 false otherwise.groupRead - The value to set.public void setGroupAnnotate(boolean groupAnnotate)
true if the group has annotate access,
 false otherwise.groupAnnotate - The value to set.public void setGroupWrite(boolean groupWrite)
true if the group has write access,
 false otherwise.groupWrite - The value to set.public void setUserRead(boolean userRead)
true if the user has read access,
 false otherwise.userRead - The value to set.public void setUserWrite(boolean userWrite)
true if the user has write access,
 false otherwise.userWrite - The value to set.public void setWorldRead(boolean worldRead)
true if the world has read access,
 false otherwise.worldRead - The value to set.public void setWorldWrite(boolean worldWrite)
true if the world has write access,
 false otherwise.worldWrite - The value to set.
                
                
Version: 5.2.5-ice35-b28
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.