|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.PermissionData
public class PermissionData
Simple data object to wrap a Permissions
instance.
Constructor Summary | |
---|---|
PermissionData()
Creates a new instance. |
|
PermissionData(omero.model.Permissions permissions)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
isGroupRead()
Returns true if the group has read access,
false otherwise. |
boolean |
isGroupWrite()
Returns true if the group has write access,
false otherwise. |
boolean |
isUserRead()
Returns true if the user has read access,
false otherwise. |
boolean |
isUserWrite()
Returns true if the user has write access,
false otherwise. |
boolean |
isWorldRead()
Returns true if the world has read access,
false otherwise. |
boolean |
isWorldWrite()
Returns true if the world has write access,
false otherwise. |
void |
setGroupRead(boolean groupRead)
Sets to true if the group has read access,
false otherwise. |
void |
setGroupWrite(boolean groupWrite)
Sets to true if the group has write access,
false otherwise. |
void |
setUserRead(boolean userRead)
Sets to true if the user has read access,
false otherwise. |
void |
setUserWrite(boolean userWrite)
Sets to true if the user has write access,
false otherwise. |
void |
setWorldRead(boolean worldRead)
Sets to true if the world has read access,
false otherwise. |
void |
setWorldWrite(boolean worldWrite)
Sets to true if the world has write access,
false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissionData()
public PermissionData(omero.model.Permissions permissions)
permissions
- The value to set.Method Detail |
---|
public boolean isGroupRead()
true
if the group has read access,
false
otherwise.
public boolean isGroupWrite()
true
if the group has write access,
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 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.