Package omero.model
Interface _PermissionsOperationsNC
-
- All Known Implementing Classes:
_PermissionsTie
,Permissions
,PermissionsI
public interface _PermissionsOperationsNC
Row-level permissions definition available on every OMERO.blitz type. Represents a similar logic to the Unix filesystem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canAnnotate()
Whether the current user has permissions for annotating this object.boolean
canChgrp()
Whether the current user has the ""chgrp"" permissions for this object.boolean
canChown()
Whether the current user has the ""chown"" permissions for this object.boolean
canDelete()
Whether the current user has the ""delete"" permissions for this object.boolean
canEdit()
Whether the current user has the ""edit"" permissions for this object.boolean
canLink()
Whether the current user has the ""link"" permissions for this object.long
getPerm1()
Do not use!boolean
isDisallow(int restriction)
The basis for the other canX() methods.boolean
isGroupAnnotate()
boolean
isGroupRead()
boolean
isGroupWrite()
boolean
isRestricted(java.lang.String restriction)
Returns true if the given argument is present in the extendedRestrictions set.boolean
isUserAnnotate()
boolean
isUserRead()
boolean
isUserWrite()
boolean
isWorldAnnotate()
boolean
isWorldRead()
boolean
isWorldWrite()
void
setGroupAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.void
setGroupRead(boolean value)
ThrowsClientError
if mutation not allowed.void
setGroupWrite(boolean value)
ThrowsClientError
if mutation not allowed.void
setPerm1(long value)
Do not use! ThrowsClientError
if mutation not allowed.void
setUserAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.void
setUserRead(boolean value)
ThrowsClientError
if mutation not allowed.void
setUserWrite(boolean value)
ThrowsClientError
if mutation not allowed.void
setWorldAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.void
setWorldRead(boolean value)
ThrowsClientError
if mutation not allowed.void
setWorldWrite(boolean value)
ThrowsClientError
if mutation not allowed.
-
-
-
Method Detail
-
getPerm1
long getPerm1()
Do not use!
-
setPerm1
void setPerm1(long value)
Do not use! ThrowsClientError
if mutation not allowed.
-
isDisallow
boolean isDisallow(int restriction)
The basis for the other canX() methods. If the restriction at the given offset in the restriction array is true, then this method returns true (otherwise false) and the canX() methods return the opposite, i.e. isDisallow(ANNOTATERESTRICTION) == ! canAnnotate()
-
isRestricted
boolean isRestricted(java.lang.String restriction)
Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.
-
canAnnotate
boolean canAnnotate()
Whether the current user has permissions for annotating this object. The fact that the user has this object in hand already identifies that it's readable.
-
canEdit
boolean canEdit()
Whether the current user has the ""edit"" permissions for this object. This includes changing the values of the object. The fact that the user has this object in hand already identifies that it's readable.
-
canLink
boolean canLink()
Whether the current user has the ""link"" permissions for this object. This includes adding it to data graphs. The fact that the user has this object in hand already identifies that it's readable.
-
canDelete
boolean canDelete()
Whether the current user has the ""delete"" permissions for this object. The fact that the user has this object in hand already identifies that it's readable.
-
canChgrp
boolean canChgrp()
Whether the current user has the ""chgrp"" permissions for this object. This allows them to move it to a different group. The fact that the user has this object in hand already identifies that it's readable.
-
canChown
boolean canChown()
Whether the current user has the ""chown"" permissions for this object. This allows them to give it to a different user. The fact that the user has this object in hand already identifies that it's readable.
-
isUserRead
boolean isUserRead()
-
isUserAnnotate
boolean isUserAnnotate()
-
isUserWrite
boolean isUserWrite()
-
isGroupRead
boolean isGroupRead()
-
isGroupAnnotate
boolean isGroupAnnotate()
-
isGroupWrite
boolean isGroupWrite()
-
isWorldRead
boolean isWorldRead()
-
isWorldAnnotate
boolean isWorldAnnotate()
-
isWorldWrite
boolean isWorldWrite()
-
setUserRead
void setUserRead(boolean value)
ThrowsClientError
if mutation not allowed.
-
setUserAnnotate
void setUserAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.
-
setUserWrite
void setUserWrite(boolean value)
ThrowsClientError
if mutation not allowed.
-
setGroupRead
void setGroupRead(boolean value)
ThrowsClientError
if mutation not allowed.
-
setGroupAnnotate
void setGroupAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.
-
setGroupWrite
void setGroupWrite(boolean value)
ThrowsClientError
if mutation not allowed.
-
setWorldRead
void setWorldRead(boolean value)
ThrowsClientError
if mutation not allowed.
-
setWorldAnnotate
void setWorldAnnotate(boolean value)
ThrowsClientError
if mutation not allowed.
-
setWorldWrite
void setWorldWrite(boolean value)
ThrowsClientError
if mutation not allowed.
-
-