Package omero.model
Interface _PermissionsOperations
-
- All Known Implementing Classes:
_PermissionsTie,Permissions,PermissionsI
public interface _PermissionsOperationsRow-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(Ice.Current __current)Whether the current user has permissions for annotating this object.booleancanChgrp(Ice.Current __current)Whether the current user has the ""chgrp"" permissions for this object.booleancanChown(Ice.Current __current)Whether the current user has the ""chown"" permissions for this object.booleancanDelete(Ice.Current __current)Whether the current user has the ""delete"" permissions for this object.booleancanEdit(Ice.Current __current)Whether the current user has the ""edit"" permissions for this object.booleancanLink(Ice.Current __current)Whether the current user has the ""link"" permissions for this object.longgetPerm1(Ice.Current __current)Do not use!booleanisDisallow(int restriction, Ice.Current __current)The basis for the other canX() methods.booleanisGroupAnnotate(Ice.Current __current)booleanisGroupRead(Ice.Current __current)booleanisGroupWrite(Ice.Current __current)booleanisRestricted(java.lang.String restriction, Ice.Current __current)Returns true if the given argument is present in the extendedRestrictions set.booleanisUserAnnotate(Ice.Current __current)booleanisUserRead(Ice.Current __current)booleanisUserWrite(Ice.Current __current)booleanisWorldAnnotate(Ice.Current __current)booleanisWorldRead(Ice.Current __current)booleanisWorldWrite(Ice.Current __current)voidsetGroupAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetGroupRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetGroupWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetPerm1(long value, Ice.Current __current)Do not use! ThrowsClientErrorif mutation not allowed.voidsetUserAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetUserRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetUserWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.voidsetWorldWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.
-
-
-
Method Detail
-
getPerm1
long getPerm1(Ice.Current __current)
Do not use!- Parameters:
__current- The Current object for the invocation.
-
setPerm1
void setPerm1(long value, Ice.Current __current)Do not use! ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
isDisallow
boolean isDisallow(int restriction, Ice.Current __current)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()- Parameters:
__current- The Current object for the invocation.
-
isRestricted
boolean isRestricted(java.lang.String restriction, Ice.Current __current)Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.- Parameters:
__current- The Current object for the invocation.
-
canAnnotate
boolean canAnnotate(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
canEdit
boolean canEdit(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
canLink
boolean canLink(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
canDelete
boolean canDelete(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
canChgrp
boolean canChgrp(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
canChown
boolean canChown(Ice.Current __current)
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.- Parameters:
__current- The Current object for the invocation.
-
isUserRead
boolean isUserRead(Ice.Current __current)
-
isUserAnnotate
boolean isUserAnnotate(Ice.Current __current)
-
isUserWrite
boolean isUserWrite(Ice.Current __current)
-
isGroupRead
boolean isGroupRead(Ice.Current __current)
-
isGroupAnnotate
boolean isGroupAnnotate(Ice.Current __current)
-
isGroupWrite
boolean isGroupWrite(Ice.Current __current)
-
isWorldRead
boolean isWorldRead(Ice.Current __current)
-
isWorldAnnotate
boolean isWorldAnnotate(Ice.Current __current)
-
isWorldWrite
boolean isWorldWrite(Ice.Current __current)
-
setUserRead
void setUserRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setUserAnnotate
void setUserAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setUserWrite
void setUserWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setGroupRead
void setGroupRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setGroupAnnotate
void setGroupAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setGroupWrite
void setGroupWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setWorldRead
void setWorldRead(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setWorldAnnotate
void setWorldAnnotate(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
setWorldWrite
void setWorldWrite(boolean value, Ice.Current __current)ThrowsClientErrorif mutation not allowed.- Parameters:
__current- The Current object for the invocation.
-
-