Package omero.model
Interface _PermissionsOperationsNC
-
- All Known Implementing Classes:
_PermissionsTie,Permissions,PermissionsI
public interface _PermissionsOperationsNCRow-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 booleancanAnnotate()Whether the current user has permissions for annotating this object.booleancanChgrp()Whether the current user has the ""chgrp"" permissions for this object.booleancanChown()Whether the current user has the ""chown"" permissions for this object.booleancanDelete()Whether the current user has the ""delete"" permissions for this object.booleancanEdit()Whether the current user has the ""edit"" permissions for this object.booleancanLink()Whether the current user has the ""link"" permissions for this object.longgetPerm1()Do not use!booleanisDisallow(int restriction)The basis for the other canX() methods.booleanisGroupAnnotate()booleanisGroupRead()booleanisGroupWrite()booleanisRestricted(java.lang.String restriction)Returns true if the given argument is present in the extendedRestrictions set.booleanisUserAnnotate()booleanisUserRead()booleanisUserWrite()booleanisWorldAnnotate()booleanisWorldRead()booleanisWorldWrite()voidsetGroupAnnotate(boolean value)ThrowsClientErrorif mutation not allowed.voidsetGroupRead(boolean value)ThrowsClientErrorif mutation not allowed.voidsetGroupWrite(boolean value)ThrowsClientErrorif mutation not allowed.voidsetPerm1(long value)Do not use! ThrowsClientErrorif mutation not allowed.voidsetUserAnnotate(boolean value)ThrowsClientErrorif mutation not allowed.voidsetUserRead(boolean value)ThrowsClientErrorif mutation not allowed.voidsetUserWrite(boolean value)ThrowsClientErrorif mutation not allowed.voidsetWorldAnnotate(boolean value)ThrowsClientErrorif mutation not allowed.voidsetWorldRead(boolean value)ThrowsClientErrorif mutation not allowed.voidsetWorldWrite(boolean value)ThrowsClientErrorif mutation not allowed.
-
-
-
Method Detail
-
getPerm1
long getPerm1()
Do not use!
-
setPerm1
void setPerm1(long value)
Do not use! ThrowsClientErrorif 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)
ThrowsClientErrorif mutation not allowed.
-
setUserAnnotate
void setUserAnnotate(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setUserWrite
void setUserWrite(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setGroupRead
void setGroupRead(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setGroupAnnotate
void setGroupAnnotate(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setGroupWrite
void setGroupWrite(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setWorldRead
void setWorldRead(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setWorldAnnotate
void setWorldAnnotate(boolean value)
ThrowsClientErrorif mutation not allowed.
-
setWorldWrite
void setWorldWrite(boolean value)
ThrowsClientErrorif mutation not allowed.
-
-